-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
55 changed files
with
327 additions
and
440 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
unittests/Oracle/Running_MigrationScripts/Environment_scripts.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
unittests/Oracle/Running_MigrationScripts/Everytime_scripts.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 4 additions & 10 deletions
14
unittests/SqlServer/Running_MigrationScripts/Anytime_scripts.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,9 @@ | ||
using SqlServer.TestInfrastructure; | ||
using TestCommon.TestInfrastructure; | ||
using TestCommon.TestInfrastructure; | ||
|
||
namespace SqlServer.Running_MigrationScripts; | ||
|
||
[Collection(nameof(SqlServerTestContainer))] | ||
// ReSharper disable once InconsistentNaming | ||
public class Anytime_scripts : TestCommon.Generic.Running_MigrationScripts.Anytime_scripts, IClassFixture<SimpleService> | ||
{ | ||
public Anytime_scripts(SqlServerTestContainer testContainer, SimpleService simpleService, ITestOutputHelper testOutput) | ||
{ | ||
Context = new SqlServerGrateTestContext(simpleService.ServiceProvider, testContainer); | ||
TestOutput = testOutput; | ||
} | ||
} | ||
public class Anytime_scripts(IGrateTestContext testContext, ITestOutputHelper testOutput) | ||
: TestCommon.Generic.Running_MigrationScripts.Anytime_scripts(testContext, testOutput); | ||
|
14 changes: 4 additions & 10 deletions
14
unittests/SqlServer/Running_MigrationScripts/DropDatabase.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,8 @@ | ||
using SqlServer.TestInfrastructure; | ||
using TestCommon.TestInfrastructure; | ||
using TestCommon.TestInfrastructure; | ||
|
||
namespace SqlServer.Running_MigrationScripts; | ||
|
||
[Collection(nameof(SqlServerTestContainer))] | ||
public class DropDatabase : TestCommon.Generic.Running_MigrationScripts.DropDatabase, IClassFixture<SimpleService> | ||
{ | ||
public DropDatabase(SqlServerTestContainer testContainer, SimpleService simpleService, ITestOutputHelper testOutput) | ||
{ | ||
Context = new SqlServerGrateTestContext(simpleService.ServiceProvider, testContainer); | ||
TestOutput = testOutput; | ||
} | ||
} | ||
// ReSharper disable once InconsistentNaming | ||
public class DropDatabase(IGrateTestContext testContext, ITestOutputHelper testOutput) | ||
: TestCommon.Generic.Running_MigrationScripts.DropDatabase(testContext, testOutput); |
15 changes: 3 additions & 12 deletions
15
unittests/SqlServer/Running_MigrationScripts/Environment_scripts.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,8 @@ | ||
using SqlServer.TestInfrastructure; | ||
using TestCommon.TestInfrastructure; | ||
using TestCommon.TestInfrastructure; | ||
|
||
namespace SqlServer.Running_MigrationScripts; | ||
|
||
[Collection(nameof(SqlServerTestContainer))] | ||
// ReSharper disable once InconsistentNaming | ||
public class Environment_scripts : TestCommon.Generic.Running_MigrationScripts.Environment_scripts, IClassFixture<SimpleService> | ||
{ | ||
|
||
|
||
public Environment_scripts(SqlServerTestContainer testContainer, SimpleService simpleService, ITestOutputHelper testOutput) | ||
{ | ||
Context = new SqlServerGrateTestContext(simpleService.ServiceProvider, testContainer); | ||
TestOutput = testOutput; | ||
} | ||
} | ||
public class Environment_scripts(IGrateTestContext testContext, ITestOutputHelper testOutput) | ||
: TestCommon.Generic.Running_MigrationScripts.Environment_scripts(testContext, testOutput); |
13 changes: 3 additions & 10 deletions
13
unittests/SqlServer/Running_MigrationScripts/Everytime_scripts.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,8 @@ | ||
using SqlServer.TestInfrastructure; | ||
using TestCommon.TestInfrastructure; | ||
using TestCommon.TestInfrastructure; | ||
|
||
namespace SqlServer.Running_MigrationScripts; | ||
|
||
[Collection(nameof(SqlServerTestContainer))] | ||
// ReSharper disable once InconsistentNaming | ||
public class Everytime_scripts : TestCommon.Generic.Running_MigrationScripts.Everytime_scripts, IClassFixture<SimpleService> | ||
{ | ||
public Everytime_scripts(SqlServerTestContainer testContainer, SimpleService simpleService, ITestOutputHelper testOutput) | ||
{ | ||
Context = new SqlServerGrateTestContext(simpleService.ServiceProvider, testContainer); | ||
TestOutput = testOutput; | ||
} | ||
} | ||
public class Everytime_scripts(IGrateTestContext testContext, ITestOutputHelper testOutput) | ||
: TestCommon.Generic.Running_MigrationScripts.Everytime_scripts(testContext, testOutput); |
14 changes: 3 additions & 11 deletions
14
unittests/SqlServer/Running_MigrationScripts/Failing_Scripts.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,11 @@ | ||
using SqlServer.TestInfrastructure; | ||
using TestCommon.TestInfrastructure; | ||
using TestCommon.TestInfrastructure; | ||
|
||
namespace SqlServer.Running_MigrationScripts; | ||
|
||
[Collection(nameof(SqlServerTestContainer))] | ||
// ReSharper disable once InconsistentNaming | ||
public class Failing_Scripts : TestCommon.Generic.Running_MigrationScripts.Failing_Scripts, IClassFixture<SimpleService> | ||
public class Failing_Scripts(IGrateTestContext testContext, ITestOutputHelper testOutput) | ||
: TestCommon.Generic.Running_MigrationScripts.Failing_Scripts(testContext, testOutput) | ||
{ | ||
|
||
|
||
public Failing_Scripts(SqlServerTestContainer testContainer, SimpleService simpleService, ITestOutputHelper testOutput) | ||
{ | ||
Context = new SqlServerGrateTestContext(simpleService.ServiceProvider, testContainer); | ||
TestOutput = testOutput; | ||
} | ||
|
||
protected override string ExpectedErrorMessageForInvalidSql => "Incorrect syntax near 'TOP'."; | ||
} |
15 changes: 3 additions & 12 deletions
15
unittests/SqlServer/Running_MigrationScripts/One_time_scripts.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,8 @@ | ||
using SqlServer.TestInfrastructure; | ||
using TestCommon.TestInfrastructure; | ||
using TestCommon.TestInfrastructure; | ||
|
||
namespace SqlServer.Running_MigrationScripts; | ||
|
||
[Collection(nameof(SqlServerTestContainer))] | ||
// ReSharper disable once InconsistentNaming | ||
public class One_time_scripts : TestCommon.Generic.Running_MigrationScripts.One_time_scripts, IClassFixture<SimpleService> | ||
{ | ||
|
||
|
||
public One_time_scripts(SqlServerTestContainer testContainer, SimpleService simpleService, ITestOutputHelper testOutput) | ||
{ | ||
Context = new SqlServerGrateTestContext(simpleService.ServiceProvider, testContainer); | ||
TestOutput = testOutput; | ||
} | ||
} | ||
public class One_time_scripts(IGrateTestContext testContext, ITestOutputHelper testOutput) | ||
: TestCommon.Generic.Running_MigrationScripts.One_time_scripts(testContext, testOutput); |
15 changes: 3 additions & 12 deletions
15
unittests/SqlServer/Running_MigrationScripts/Order_Of_Scripts.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,8 @@ | ||
using SqlServer.TestInfrastructure; | ||
using TestCommon.TestInfrastructure; | ||
using TestCommon.TestInfrastructure; | ||
|
||
namespace SqlServer.Running_MigrationScripts; | ||
|
||
[Collection(nameof(SqlServerTestContainer))] | ||
// ReSharper disable once InconsistentNaming | ||
public class Order_Of_Scripts : TestCommon.Generic.Running_MigrationScripts.Order_Of_Scripts, IClassFixture<SimpleService> | ||
{ | ||
|
||
|
||
public Order_Of_Scripts(SqlServerTestContainer testContainer, SimpleService simpleService, ITestOutputHelper testOutput) | ||
{ | ||
Context = new SqlServerGrateTestContext(simpleService.ServiceProvider, testContainer); | ||
TestOutput = testOutput; | ||
} | ||
} | ||
public class Order_Of_Scripts(IGrateTestContext testContext, ITestOutputHelper testOutput) | ||
: TestCommon.Generic.Running_MigrationScripts.Order_Of_Scripts(testContext, testOutput); |
13 changes: 4 additions & 9 deletions
13
unittests/SqlServer/Running_MigrationScripts/RestoreDatabase.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 4 additions & 13 deletions
17
unittests/SqlServer/Running_MigrationScripts/ScriptsRun_Table.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,8 @@ | ||
using SqlServer.TestInfrastructure; | ||
using TestCommon.TestInfrastructure; | ||
using TestCommon.TestInfrastructure; | ||
|
||
namespace SqlServer.Running_MigrationScripts; | ||
|
||
[Collection(nameof(SqlServerTestContainer))] | ||
|
||
public class ScriptsRun_Table : TestCommon.Generic.Running_MigrationScripts.ScriptsRun_Table, IClassFixture<SimpleService> | ||
{ | ||
|
||
|
||
public ScriptsRun_Table(SqlServerTestContainer testContainer, SimpleService simpleService, ITestOutputHelper testOutput) | ||
{ | ||
Context = new SqlServerGrateTestContext(simpleService.ServiceProvider, testContainer); | ||
TestOutput = testOutput; | ||
} | ||
} | ||
// ReSharper disable once InconsistentNaming | ||
public class ScriptsRun_Table(IGrateTestContext testContext, ITestOutputHelper testOutput) | ||
: TestCommon.Generic.Running_MigrationScripts.ScriptsRun_Table(testContext, testOutput); |
6 changes: 3 additions & 3 deletions
6
unittests/SqlServer/Running_MigrationScripts/SqlServerScriptsBase.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
using TestCommon.Generic.Running_MigrationScripts; | ||
using TestCommon.TestInfrastructure; | ||
|
||
namespace SqlServer.Running_MigrationScripts; | ||
|
||
public abstract class SqlServerScriptsBase(IGrateTestContext context, ITestOutputHelper testOutput) : | ||
MigrationsScriptsBase(context, testOutput); | ||
|
||
public abstract class SqlServerScriptsBase : MigrationsScriptsBase | ||
{ | ||
} |
Oops, something went wrong.