File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 10
10
</PropertyGroup >
11
11
12
12
<ItemGroup >
13
- <PackageReference Include =" AdoNet.Specification.Tests" Version =" 2.0.0-alpha3 " />
13
+ <PackageReference Include =" AdoNet.Specification.Tests" Version =" 2.0.0-alpha4 " />
14
14
<PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 15.3.0" />
15
15
<PackageReference Include =" xunit" Version =" 2.4.1" />
16
16
<PackageReference Include =" xunit.runner.visualstudio" Version =" 2.4.1" />
Original file line number Diff line number Diff line change 1
1
using AdoNet . Specification . Tests ;
2
+ using Xunit ;
2
3
3
4
namespace Conformance . Tests
4
5
{
@@ -8,5 +9,11 @@ public DataReaderTests(SelectValueFixture fixture)
8
9
: base ( fixture )
9
10
{
10
11
}
12
+
13
+ [ Fact ( Skip = "Deliberately throws InvalidCastException" ) ]
14
+ public override void GetTextReader_returns_empty_for_null_String ( ) { }
15
+
16
+ [ Fact ( Skip = "https://github.com/mysql-net/MySqlConnector/issues/678" ) ]
17
+ public override void GetSchemaTable_throws_after_Delete ( ) { }
11
18
}
12
19
}
Original file line number Diff line number Diff line change 6
6
7
7
namespace Conformance . Tests
8
8
{
9
- public class SelectValueFixture : ISelectValueFixture
9
+ public class SelectValueFixture : ISelectValueFixture , IDeleteFixture
10
10
{
11
11
public SelectValueFixture ( )
12
12
{
@@ -59,6 +59,8 @@ insert into select_value values
59
59
60
60
public string SelectNoRows => "SELECT * FROM mysql.user WHERE 0 = 1;" ;
61
61
62
+ public string DeleteNoRows => "DELETE FROM select_value WHERE 0 = 1;" ;
63
+
62
64
public IReadOnlyCollection < DbType > SupportedDbTypes { get ; } = new [ ]
63
65
{
64
66
DbType . Binary ,
@@ -81,6 +83,8 @@ insert into select_value values
81
83
DbType . UInt64 ,
82
84
} ;
83
85
86
+ public Type NullValueExceptionType => typeof ( InvalidCastException ) ;
87
+
84
88
private void ExecuteNonQuery ( string sql )
85
89
{
86
90
using ( var connection = Factory . CreateConnection ( ) )
You can’t perform that action at this time.
0 commit comments