You've already forked linux-packaging-mono
Imported Upstream version 4.8.0.309
Former-commit-id: 5f9c6ae75f295e057a7d2971f3a6df4656fa8850
This commit is contained in:
parent
ee1447783b
commit
94b2861243
@ -39,21 +39,33 @@ namespace MonoTests.System.Data.SqlClient {
|
||||
private const string testFailParamNameMessage = "We have to provide the same parameter name as in original .NET";
|
||||
|
||||
[Test] // .ctor(SqlConnection connection)
|
||||
#if FEATURE_NO_BSD_SOCKETS
|
||||
[ExpectedException (typeof (PlatformNotSupportedException))]
|
||||
#else
|
||||
[ExpectedException (typeof(ArgumentNullException))]
|
||||
#endif
|
||||
public void ConstructorNotNull1 ()
|
||||
{
|
||||
new SqlBulkCopy ((SqlConnection)null);
|
||||
}
|
||||
|
||||
[Test] // .ctor(string connectionString)
|
||||
#if FEATURE_NO_BSD_SOCKETS
|
||||
[ExpectedException (typeof (PlatformNotSupportedException))]
|
||||
#else
|
||||
[ExpectedException (typeof(ArgumentNullException))]
|
||||
#endif
|
||||
public void ConstructorNotNull2 ()
|
||||
{
|
||||
new SqlBulkCopy ((string)null);
|
||||
}
|
||||
|
||||
[Test] // .ctor(SqlConnection connection)
|
||||
#if FEATURE_NO_BSD_SOCKETS
|
||||
[ExpectedException (typeof (PlatformNotSupportedException))]
|
||||
#else
|
||||
[ExpectedException (typeof(ArgumentNullException))]
|
||||
#endif
|
||||
public void ConstructorNotNull3 ()
|
||||
{
|
||||
try {
|
||||
@ -65,7 +77,11 @@ namespace MonoTests.System.Data.SqlClient {
|
||||
}
|
||||
|
||||
[Test] // .ctor(string connectionString)
|
||||
#if FEATURE_NO_BSD_SOCKETS
|
||||
[ExpectedException (typeof (PlatformNotSupportedException))]
|
||||
#else
|
||||
[ExpectedException (typeof(ArgumentNullException))]
|
||||
#endif
|
||||
public void ConstructorNotNull4 ()
|
||||
{
|
||||
try {
|
||||
@ -77,7 +93,11 @@ namespace MonoTests.System.Data.SqlClient {
|
||||
}
|
||||
|
||||
[Test] // .ctor(string connectionString)
|
||||
#if FEATURE_NO_BSD_SOCKETS
|
||||
[ExpectedException (typeof (PlatformNotSupportedException))]
|
||||
#else
|
||||
[ExpectedException (typeof(ArgumentNullException))]
|
||||
#endif
|
||||
public void ConstructorNotNull5 ()
|
||||
{
|
||||
try {
|
||||
@ -89,7 +109,11 @@ namespace MonoTests.System.Data.SqlClient {
|
||||
}
|
||||
|
||||
[Test] // .ctor(string connectionString)
|
||||
#if FEATURE_NO_BSD_SOCKETS
|
||||
[ExpectedException (typeof (PlatformNotSupportedException))]
|
||||
#else
|
||||
[ExpectedException (typeof(ArgumentNullException))]
|
||||
#endif
|
||||
public void ConstructorNotNull6 ()
|
||||
{
|
||||
try {
|
||||
|
Reference in New Issue
Block a user