Search is not available for this dataset
Owner
stringlengths
2
27
Repo
stringlengths
1
63
SolutionFilePath
stringlengths
32
181
ProjectFilePath
stringlengths
47
218
FilePath
stringlengths
43
240
Namespace
stringlengths
2
182
ClassDeclaration
stringlengths
2
134
ClassFields
stringlengths
2
2.61M
UsingStatements
stringlengths
9
3.14k
TestFramework
stringclasses
4 values
LanguageFramework
stringclasses
488 values
MethodBody
stringlengths
100
3.34M
MethodBodyStartPos
int64
46
2.47M
MethodBodyEndPos
int64
143
2.48M
MethodInvocations
stringlengths
14
1.39M
fluentmigrator
fluentmigrator
F:\Projects\TestMap\Temp\fluentmigrator\FluentMigrator.sln
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\FluentMigrator.Tests.csproj
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\Integration\MigrationRunnerTests.cs
FluentMigrator.Tests.Integration
MigrationRunnerTests
['private const string RootNamespace = "FluentMigrator.Tests.Integration.Migrations";']
['System', 'System.Data', 'System.IO', 'System.Linq', 'System.Text', 'System.Text.RegularExpressions', 'FluentMigrator.Expressions', 'FluentMigrator.Runner', 'FluentMigrator.Runner.Exceptions', 'FluentMigrator.Runner.Initialization', 'FluentMigrator.Runner.Logging', 'FluentMigrator.Runner.Processors', 'FluentMigrator.Runner.Processors.Firebird', 'FluentMigrator.Runner.Processors.MySql', 'FluentMigrator.Runner.Processors.Oracle', 'FluentMigrator.Runner.Processors.Postgres', 'FluentMigrator.Runner.Processors.Redshift', 'FluentMigrator.Runner.Processors.Snowflake', 'FluentMigrator.Runner.Processors.SQLite', 'FluentMigrator.Runner.Processors.SqlServer', 'FluentMigrator.Runner.VersionTableInfo', 'FluentMigrator.Tests.Integration.Migrations.Tagged', 'FluentMigrator.Tests.Unit', 'Microsoft.Extensions.DependencyInjection', 'Microsoft.Extensions.Logging', 'Moq', 'NUnit.Framework', 'Shouldly']
NUnit
net48
[('[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("SQLite")]\n [Category("Postgres")]\n [Category("Snowflake")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanRunMigration()\n {\n ExecuteWithSupportedProcessors(\n init => init.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestCreateAndDropTableMigration());\n\n processor.TableExists(null, "TestTable").ShouldBeTrue();\n\n // This is a hack until MigrationVersionRunner and MigrationRunner are refactored and merged together\n //processor.CommitTransaction();\n\n runner.Down(new TestCreateAndDropTableMigration());\n processor.TableExists(null, "TestTable").ShouldBeFalse();\n });\n }', '[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("SQLite")]\n [Category("Postgres")]\n [Category("Snowflake")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanRunMigration()\n {\n ExecuteWithSupportedProcessors(\n init => init.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestCreateAndDropTableMigration());\n\n processor.TableExists(null, "TestTable").ShouldBeTrue();\n\n // This is a hack until MigrationVersionRunner and MigrationRunner are refactored and merged together\n //processor.CommitTransaction();\n\n runner.Down(new TestCreateAndDropTableMigration());\n processor.TableExists(null, "TestTable").ShouldBeFalse();\n });\n }')]
2,013
3,194
[('ExecuteWithSupportedProcessors(\n init => init.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestCreateAndDropTableMigration());\n\n processor.TableExists(null, "TestTable").ShouldBeTrue();\n\n // This is a hack until MigrationVersionRunner and MigrationRunner are refactored and merged together\n //processor.CommitTransaction();\n\n runner.Down(new TestCreateAndDropTableMigration());\n processor.TableExists(null, "TestTable").ShouldBeFalse();\n })', ''), ('init.WithMigrationsIn(RootNamespace)', ''), ('serviceProvider.GetRequiredService<IMigrationRunner>()', ''), ('runner.Up(new TestCreateAndDropTableMigration())', ''), ('processor.TableExists(null, "TestTable").ShouldBeTrue()', ''), ('processor.TableExists(null, "TestTable")', ''), ('runner.Down(new TestCreateAndDropTableMigration())', ''), ('processor.TableExists(null, "TestTable").ShouldBeFalse()', ''), ('processor.TableExists(null, "TestTable")', '')]
fluentmigrator
fluentmigrator
F:\Projects\TestMap\Temp\fluentmigrator\FluentMigrator.sln
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\FluentMigrator.Tests.csproj
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\Integration\MigrationRunnerTests.cs
FluentMigrator.Tests.Integration
MigrationRunnerTests
['private const string RootNamespace = "FluentMigrator.Tests.Integration.Migrations";']
['System', 'System.Data', 'System.IO', 'System.Linq', 'System.Text', 'System.Text.RegularExpressions', 'FluentMigrator.Expressions', 'FluentMigrator.Runner', 'FluentMigrator.Runner.Exceptions', 'FluentMigrator.Runner.Initialization', 'FluentMigrator.Runner.Logging', 'FluentMigrator.Runner.Processors', 'FluentMigrator.Runner.Processors.Firebird', 'FluentMigrator.Runner.Processors.MySql', 'FluentMigrator.Runner.Processors.Oracle', 'FluentMigrator.Runner.Processors.Postgres', 'FluentMigrator.Runner.Processors.Redshift', 'FluentMigrator.Runner.Processors.Snowflake', 'FluentMigrator.Runner.Processors.SQLite', 'FluentMigrator.Runner.Processors.SqlServer', 'FluentMigrator.Runner.VersionTableInfo', 'FluentMigrator.Tests.Integration.Migrations.Tagged', 'FluentMigrator.Tests.Unit', 'Microsoft.Extensions.DependencyInjection', 'Microsoft.Extensions.Logging', 'Moq', 'NUnit.Framework', 'Shouldly']
NUnit
net48
[('[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("SQLite")]\n [Category("Postgres")]\n [Category("Snowflake")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanSilentlyFail()\n {\n var processor = new Mock<IMigrationProcessor>();\n processor.Setup(x => x.Process(It.IsAny<CreateForeignKeyExpression>())).Throws(new Exception("Error"));\n processor.Setup(x => x.Process(It.IsAny<DeleteForeignKeyExpression>())).Throws(new Exception("Error"));\n\n var serviceProvider = ServiceCollectionExtensions.CreateServices()\n .Configure<ProcessorOptions>(opt => opt.PreviewOnly = false)\n .AddScoped<IConnectionStringReader>(_ => new PassThroughConnectionStringReader("No connection"))\n .WithProcessor(processor)\n .WithMigrationsIn(RootNamespace)\n .BuildServiceProvider();\n\n var runner = (MigrationRunner) serviceProvider.GetRequiredService<IMigrationRunner>();\n runner.SilentlyFail = true;\n\n runner.Up(new TestForeignKeySilentFailure());\n\n runner.CaughtExceptions.Count.ShouldBeGreaterThan(0);\n\n runner.Down(new TestForeignKeySilentFailure());\n runner.CaughtExceptions.Count.ShouldBeGreaterThan(0);\n }', '[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("SQLite")]\n [Category("Postgres")]\n [Category("Snowflake")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanSilentlyFail()\n {\n var processor = new Mock<IMigrationProcessor>();\n processor.Setup(x => x.Process(It.IsAny<CreateForeignKeyExpression>())).Throws(new Exception("Error"));\n processor.Setup(x => x.Process(It.IsAny<DeleteForeignKeyExpression>())).Throws(new Exception("Error"));\n\n var serviceProvider = ServiceCollectionExtensions.CreateServices()\n .Configure<ProcessorOptions>(opt => opt.PreviewOnly = false)\n .AddScoped<IConnectionStringReader>(_ => new PassThroughConnectionStringReader("No connection"))\n .WithProcessor(processor)\n .WithMigrationsIn(RootNamespace)\n .BuildServiceProvider();\n\n var runner = (MigrationRunner) serviceProvider.GetRequiredService<IMigrationRunner>();\n runner.SilentlyFail = true;\n\n runner.Up(new TestForeignKeySilentFailure());\n\n runner.CaughtExceptions.Count.ShouldBeGreaterThan(0);\n\n runner.Down(new TestForeignKeySilentFailure());\n runner.CaughtExceptions.Count.ShouldBeGreaterThan(0);\n }')]
3,206
4,722
[('processor.Setup(x => x.Process(It.IsAny<CreateForeignKeyExpression>())).Throws(new Exception("Error"))', ''), ('processor.Setup(x => x.Process(It.IsAny<CreateForeignKeyExpression>()))', ''), ('x.Process(It.IsAny<CreateForeignKeyExpression>())', ''), ('It.IsAny<CreateForeignKeyExpression>()', ''), ('processor.Setup(x => x.Process(It.IsAny<DeleteForeignKeyExpression>())).Throws(new Exception("Error"))', ''), ('processor.Setup(x => x.Process(It.IsAny<DeleteForeignKeyExpression>()))', ''), ('x.Process(It.IsAny<DeleteForeignKeyExpression>())', ''), ('It.IsAny<DeleteForeignKeyExpression>()', ''), ('ServiceCollectionExtensions.CreateServices()\n .Configure<ProcessorOptions>(opt => opt.PreviewOnly = false)\n .AddScoped<IConnectionStringReader>(_ => new PassThroughConnectionStringReader("No connection"))\n .WithProcessor(processor)\n .WithMigrationsIn(RootNamespace)\n .BuildServiceProvider()', ''), ('ServiceCollectionExtensions.CreateServices()\n .Configure<ProcessorOptions>(opt => opt.PreviewOnly = false)\n .AddScoped<IConnectionStringReader>(_ => new PassThroughConnectionStringReader("No connection"))\n .WithProcessor(processor)\n .WithMigrationsIn(RootNamespace)', ' [MethodImpl(MethodImplOptions.NoInlining)]\n public static IServiceCollection WithMigrationsIn(\n [NotNull] this IServiceCollection services,\n [CanBeNull] string @namespace,\n bool recursive = false)\n {\n return services\n .Configure<TypeFilterOptions>(\n opt =>\n {\n opt.Namespace = @namespace;\n opt.NestedNamespaces = recursive;\n })\n .ConfigureRunner(builder => builder.WithMigrationsIn(Assembly.GetExecutingAssembly()));\n }'), ('ServiceCollectionExtensions.CreateServices()\n .Configure<ProcessorOptions>(opt => opt.PreviewOnly = false)\n .AddScoped<IConnectionStringReader>(_ => new PassThroughConnectionStringReader("No connection"))\n .WithProcessor(processor)', ''), ('ServiceCollectionExtensions.CreateServices()\n .Configure<ProcessorOptions>(opt => opt.PreviewOnly = false)\n .AddScoped<IConnectionStringReader>(_ => new PassThroughConnectionStringReader("No connection"))', ''), ('ServiceCollectionExtensions.CreateServices()\n .Configure<ProcessorOptions>(opt => opt.PreviewOnly = false)', ''), ('ServiceCollectionExtensions.CreateServices()', ' [MethodImpl(MethodImplOptions.NoInlining)]\n public static IServiceCollection CreateServices(bool addAssemblySource = true)\n {\n var services = new ServiceCollection()\n .AddFluentMigratorCore();\n\n if (addAssemblySource)\n {\n services\n .AddSingleton<IAssemblySourceItem>(new AssemblySourceItem(Assembly.GetExecutingAssembly()));\n }\n\n services\n .AddSingleton<ILoggerProvider, TestLoggerProvider>()\n .Configure<RunnerOptions>(opt => opt.AllowBreakingChange = true);\n\n return services;\n }'), ('serviceProvider.GetRequiredService<IMigrationRunner>()', ''), ('runner.Up(new TestForeignKeySilentFailure())', ''), ('runner.CaughtExceptions.Count.ShouldBeGreaterThan(0)', ''), ('runner.Down(new TestForeignKeySilentFailure())', ''), ('runner.CaughtExceptions.Count.ShouldBeGreaterThan(0)', '')]
fluentmigrator
fluentmigrator
F:\Projects\TestMap\Temp\fluentmigrator\FluentMigrator.sln
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\FluentMigrator.Tests.csproj
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\Integration\MigrationRunnerTests.cs
FluentMigrator.Tests.Integration
MigrationRunnerTests
['private const string RootNamespace = "FluentMigrator.Tests.Integration.Migrations";']
['System', 'System.Data', 'System.IO', 'System.Linq', 'System.Text', 'System.Text.RegularExpressions', 'FluentMigrator.Expressions', 'FluentMigrator.Runner', 'FluentMigrator.Runner.Exceptions', 'FluentMigrator.Runner.Initialization', 'FluentMigrator.Runner.Logging', 'FluentMigrator.Runner.Processors', 'FluentMigrator.Runner.Processors.Firebird', 'FluentMigrator.Runner.Processors.MySql', 'FluentMigrator.Runner.Processors.Oracle', 'FluentMigrator.Runner.Processors.Postgres', 'FluentMigrator.Runner.Processors.Redshift', 'FluentMigrator.Runner.Processors.Snowflake', 'FluentMigrator.Runner.Processors.SQLite', 'FluentMigrator.Runner.Processors.SqlServer', 'FluentMigrator.Runner.VersionTableInfo', 'FluentMigrator.Tests.Integration.Migrations.Tagged', 'FluentMigrator.Tests.Unit', 'Microsoft.Extensions.DependencyInjection', 'Microsoft.Extensions.Logging', 'Moq', 'NUnit.Framework', 'Shouldly']
NUnit
net48
[('[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("Postgres")]\n [Category("Snowflake")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanApplyForeignKeyConvention()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestForeignKeyNamingConvention());\n processor.ConstraintExists(null, "Users", "FK_Users_GroupId_Groups_GroupId").ShouldBeTrue();\n\n runner.Down(new TestForeignKeyNamingConvention());\n processor.ConstraintExists(null, "Users", "FK_Users_GroupId_Groups_GroupId").ShouldBeFalse();\n },\n true,\n typeof(SQLiteProcessor));\n }', '[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("Postgres")]\n [Category("Snowflake")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanApplyForeignKeyConvention()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestForeignKeyNamingConvention());\n processor.ConstraintExists(null, "Users", "FK_Users_GroupId_Groups_GroupId").ShouldBeTrue();\n\n runner.Down(new TestForeignKeyNamingConvention());\n processor.ConstraintExists(null, "Users", "FK_Users_GroupId_Groups_GroupId").ShouldBeFalse();\n },\n true,\n typeof(SQLiteProcessor));\n }')]
4,734
5,860
[('ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestForeignKeyNamingConvention());\n processor.ConstraintExists(null, "Users", "FK_Users_GroupId_Groups_GroupId").ShouldBeTrue();\n\n runner.Down(new TestForeignKeyNamingConvention());\n processor.ConstraintExists(null, "Users", "FK_Users_GroupId_Groups_GroupId").ShouldBeFalse();\n },\n true,\n typeof(SQLiteProcessor))', ''), ('services.WithMigrationsIn(RootNamespace)', ''), ('serviceProvider.GetRequiredService<IMigrationRunner>()', ''), ('runner.Up(new TestForeignKeyNamingConvention())', ''), ('processor.ConstraintExists(null, "Users", "FK_Users_GroupId_Groups_GroupId").ShouldBeTrue()', ''), ('processor.ConstraintExists(null, "Users", "FK_Users_GroupId_Groups_GroupId")', ''), ('runner.Down(new TestForeignKeyNamingConvention())', ''), ('processor.ConstraintExists(null, "Users", "FK_Users_GroupId_Groups_GroupId").ShouldBeFalse()', ''), ('processor.ConstraintExists(null, "Users", "FK_Users_GroupId_Groups_GroupId")', '')]
fluentmigrator
fluentmigrator
F:\Projects\TestMap\Temp\fluentmigrator\FluentMigrator.sln
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\FluentMigrator.Tests.csproj
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\Integration\MigrationRunnerTests.cs
FluentMigrator.Tests.Integration
MigrationRunnerTests
['private const string RootNamespace = "FluentMigrator.Tests.Integration.Migrations";']
['System', 'System.Data', 'System.IO', 'System.Linq', 'System.Text', 'System.Text.RegularExpressions', 'FluentMigrator.Expressions', 'FluentMigrator.Runner', 'FluentMigrator.Runner.Exceptions', 'FluentMigrator.Runner.Initialization', 'FluentMigrator.Runner.Logging', 'FluentMigrator.Runner.Processors', 'FluentMigrator.Runner.Processors.Firebird', 'FluentMigrator.Runner.Processors.MySql', 'FluentMigrator.Runner.Processors.Oracle', 'FluentMigrator.Runner.Processors.Postgres', 'FluentMigrator.Runner.Processors.Redshift', 'FluentMigrator.Runner.Processors.Snowflake', 'FluentMigrator.Runner.Processors.SQLite', 'FluentMigrator.Runner.Processors.SqlServer', 'FluentMigrator.Runner.VersionTableInfo', 'FluentMigrator.Tests.Integration.Migrations.Tagged', 'FluentMigrator.Tests.Unit', 'Microsoft.Extensions.DependencyInjection', 'Microsoft.Extensions.Logging', 'Moq', 'NUnit.Framework', 'Shouldly']
NUnit
net48
[('[Test]\n [Category("MySql")]\n [Category("Postgres")]\n [Category("Snowflake")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanApplyForeignKeyConventionWithSchema()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestForeignKeyNamingConventionWithSchema());\n\n processor.ConstraintExists("TestSchema", "Users", "FK_Users_GroupId_Groups_GroupId").ShouldBeTrue();\n runner.Down(new TestForeignKeyNamingConventionWithSchema());\n },\n false,\n typeof(SQLiteProcessor),\n typeof(FirebirdProcessor));\n }', '[Test]\n [Category("MySql")]\n [Category("Postgres")]\n [Category("Snowflake")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanApplyForeignKeyConventionWithSchema()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestForeignKeyNamingConventionWithSchema());\n\n processor.ConstraintExists("TestSchema", "Users", "FK_Users_GroupId_Groups_GroupId").ShouldBeTrue();\n runner.Down(new TestForeignKeyNamingConventionWithSchema());\n },\n false,\n typeof(SQLiteProcessor),\n typeof(FirebirdProcessor));\n }')]
5,872
6,934
[('ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestForeignKeyNamingConventionWithSchema());\n\n processor.ConstraintExists("TestSchema", "Users", "FK_Users_GroupId_Groups_GroupId").ShouldBeTrue();\n runner.Down(new TestForeignKeyNamingConventionWithSchema());\n },\n false,\n typeof(SQLiteProcessor),\n typeof(FirebirdProcessor))', ''), ('services.WithMigrationsIn(RootNamespace)', ''), ('serviceProvider.GetRequiredService<IMigrationRunner>()', ''), ('runner.Up(new TestForeignKeyNamingConventionWithSchema())', ''), ('processor.ConstraintExists("TestSchema", "Users", "FK_Users_GroupId_Groups_GroupId").ShouldBeTrue()', ''), ('processor.ConstraintExists("TestSchema", "Users", "FK_Users_GroupId_Groups_GroupId")', ''), ('runner.Down(new TestForeignKeyNamingConventionWithSchema())', '')]
fluentmigrator
fluentmigrator
F:\Projects\TestMap\Temp\fluentmigrator\FluentMigrator.sln
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\FluentMigrator.Tests.csproj
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\Integration\MigrationRunnerTests.cs
FluentMigrator.Tests.Integration
MigrationRunnerTests
['private const string RootNamespace = "FluentMigrator.Tests.Integration.Migrations";']
['System', 'System.Data', 'System.IO', 'System.Linq', 'System.Text', 'System.Text.RegularExpressions', 'FluentMigrator.Expressions', 'FluentMigrator.Runner', 'FluentMigrator.Runner.Exceptions', 'FluentMigrator.Runner.Initialization', 'FluentMigrator.Runner.Logging', 'FluentMigrator.Runner.Processors', 'FluentMigrator.Runner.Processors.Firebird', 'FluentMigrator.Runner.Processors.MySql', 'FluentMigrator.Runner.Processors.Oracle', 'FluentMigrator.Runner.Processors.Postgres', 'FluentMigrator.Runner.Processors.Redshift', 'FluentMigrator.Runner.Processors.Snowflake', 'FluentMigrator.Runner.Processors.SQLite', 'FluentMigrator.Runner.Processors.SqlServer', 'FluentMigrator.Runner.VersionTableInfo', 'FluentMigrator.Tests.Integration.Migrations.Tagged', 'FluentMigrator.Tests.Unit', 'Microsoft.Extensions.DependencyInjection', 'Microsoft.Extensions.Logging', 'Moq', 'NUnit.Framework', 'Shouldly']
NUnit
net48
[('[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("SQLite")]\n [Category("Postgres")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanApplyIndexConvention()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestIndexNamingConvention());\n processor.IndexExists(null, "Users", "IX_Users_GroupId").ShouldBeTrue();\n processor.TableExists(null, "Users").ShouldBeTrue();\n\n runner.Down(new TestIndexNamingConvention());\n processor.IndexExists(null, "Users", "IX_Users_GroupId").ShouldBeFalse();\n processor.TableExists(null, "Users").ShouldBeFalse();\n },\n true,\n typeof(SnowflakeProcessor) /* Snowflake does not have default schema. */);\n }', '[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("SQLite")]\n [Category("Postgres")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanApplyIndexConvention()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestIndexNamingConvention());\n processor.IndexExists(null, "Users", "IX_Users_GroupId").ShouldBeTrue();\n processor.TableExists(null, "Users").ShouldBeTrue();\n\n runner.Down(new TestIndexNamingConvention());\n processor.IndexExists(null, "Users", "IX_Users_GroupId").ShouldBeFalse();\n processor.TableExists(null, "Users").ShouldBeFalse();\n },\n true,\n typeof(SnowflakeProcessor) /* Snowflake does not have default schema. */);\n }')]
6,946
8,212
[('ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestIndexNamingConvention());\n processor.IndexExists(null, "Users", "IX_Users_GroupId").ShouldBeTrue();\n processor.TableExists(null, "Users").ShouldBeTrue();\n\n runner.Down(new TestIndexNamingConvention());\n processor.IndexExists(null, "Users", "IX_Users_GroupId").ShouldBeFalse();\n processor.TableExists(null, "Users").ShouldBeFalse();\n },\n true,\n typeof(SnowflakeProcessor) /* Snowflake does not have default schema. */)', ''), ('services.WithMigrationsIn(RootNamespace)', ''), ('serviceProvider.GetRequiredService<IMigrationRunner>()', ''), ('runner.Up(new TestIndexNamingConvention())', ''), ('processor.IndexExists(null, "Users", "IX_Users_GroupId").ShouldBeTrue()', ''), ('processor.IndexExists(null, "Users", "IX_Users_GroupId")', ''), ('processor.TableExists(null, "Users").ShouldBeTrue()', ''), ('processor.TableExists(null, "Users")', ''), ('runner.Down(new TestIndexNamingConvention())', ''), ('processor.IndexExists(null, "Users", "IX_Users_GroupId").ShouldBeFalse()', ''), ('processor.IndexExists(null, "Users", "IX_Users_GroupId")', ''), ('processor.TableExists(null, "Users").ShouldBeFalse()', ''), ('processor.TableExists(null, "Users")', '')]
fluentmigrator
fluentmigrator
F:\Projects\TestMap\Temp\fluentmigrator\FluentMigrator.sln
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\FluentMigrator.Tests.csproj
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\Integration\MigrationRunnerTests.cs
FluentMigrator.Tests.Integration
MigrationRunnerTests
['private const string RootNamespace = "FluentMigrator.Tests.Integration.Migrations";']
['System', 'System.Data', 'System.IO', 'System.Linq', 'System.Text', 'System.Text.RegularExpressions', 'FluentMigrator.Expressions', 'FluentMigrator.Runner', 'FluentMigrator.Runner.Exceptions', 'FluentMigrator.Runner.Initialization', 'FluentMigrator.Runner.Logging', 'FluentMigrator.Runner.Processors', 'FluentMigrator.Runner.Processors.Firebird', 'FluentMigrator.Runner.Processors.MySql', 'FluentMigrator.Runner.Processors.Oracle', 'FluentMigrator.Runner.Processors.Postgres', 'FluentMigrator.Runner.Processors.Redshift', 'FluentMigrator.Runner.Processors.Snowflake', 'FluentMigrator.Runner.Processors.SQLite', 'FluentMigrator.Runner.Processors.SqlServer', 'FluentMigrator.Runner.VersionTableInfo', 'FluentMigrator.Tests.Integration.Migrations.Tagged', 'FluentMigrator.Tests.Unit', 'Microsoft.Extensions.DependencyInjection', 'Microsoft.Extensions.Logging', 'Moq', 'NUnit.Framework', 'Shouldly']
NUnit
net48
[('[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("Postgres")]\n [Category("Snowflake")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanApplyUniqueConvention()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestUniqueConstraintNamingConvention());\n processor.ConstraintExists(null, "Users", "UC_Users_GroupId").ShouldBeTrue();\n processor.ConstraintExists(null, "Users", "UC_Users_AccountId").ShouldBeTrue();\n processor.TableExists(null, "Users").ShouldBeTrue();\n\n runner.Down(new TestUniqueConstraintNamingConvention());\n processor.ConstraintExists(null, "Users", "UC_Users_GroupId").ShouldBeFalse();\n processor.ConstraintExists(null, "Users", "UC_Users_AccountId").ShouldBeFalse();\n processor.TableExists(null, "Users").ShouldBeFalse();\n },\n false,\n typeof(SQLiteProcessor));\n }', '[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("Postgres")]\n [Category("Snowflake")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanApplyUniqueConvention()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestUniqueConstraintNamingConvention());\n processor.ConstraintExists(null, "Users", "UC_Users_GroupId").ShouldBeTrue();\n processor.ConstraintExists(null, "Users", "UC_Users_AccountId").ShouldBeTrue();\n processor.TableExists(null, "Users").ShouldBeTrue();\n\n runner.Down(new TestUniqueConstraintNamingConvention());\n processor.ConstraintExists(null, "Users", "UC_Users_GroupId").ShouldBeFalse();\n processor.ConstraintExists(null, "Users", "UC_Users_AccountId").ShouldBeFalse();\n processor.TableExists(null, "Users").ShouldBeFalse();\n },\n false,\n typeof(SQLiteProcessor));\n }')]
8,224
9,681
[('ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestUniqueConstraintNamingConvention());\n processor.ConstraintExists(null, "Users", "UC_Users_GroupId").ShouldBeTrue();\n processor.ConstraintExists(null, "Users", "UC_Users_AccountId").ShouldBeTrue();\n processor.TableExists(null, "Users").ShouldBeTrue();\n\n runner.Down(new TestUniqueConstraintNamingConvention());\n processor.ConstraintExists(null, "Users", "UC_Users_GroupId").ShouldBeFalse();\n processor.ConstraintExists(null, "Users", "UC_Users_AccountId").ShouldBeFalse();\n processor.TableExists(null, "Users").ShouldBeFalse();\n },\n false,\n typeof(SQLiteProcessor))', ''), ('services.WithMigrationsIn(RootNamespace)', ''), ('serviceProvider.GetRequiredService<IMigrationRunner>()', ''), ('runner.Up(new TestUniqueConstraintNamingConvention())', ''), ('processor.ConstraintExists(null, "Users", "UC_Users_GroupId").ShouldBeTrue()', ''), ('processor.ConstraintExists(null, "Users", "UC_Users_GroupId")', ''), ('processor.ConstraintExists(null, "Users", "UC_Users_AccountId").ShouldBeTrue()', ''), ('processor.ConstraintExists(null, "Users", "UC_Users_AccountId")', ''), ('processor.TableExists(null, "Users").ShouldBeTrue()', ''), ('processor.TableExists(null, "Users")', ''), ('runner.Down(new TestUniqueConstraintNamingConvention())', ''), ('processor.ConstraintExists(null, "Users", "UC_Users_GroupId").ShouldBeFalse()', ''), ('processor.ConstraintExists(null, "Users", "UC_Users_GroupId")', ''), ('processor.ConstraintExists(null, "Users", "UC_Users_AccountId").ShouldBeFalse()', ''), ('processor.ConstraintExists(null, "Users", "UC_Users_AccountId")', ''), ('processor.TableExists(null, "Users").ShouldBeFalse()', ''), ('processor.TableExists(null, "Users")', '')]
fluentmigrator
fluentmigrator
F:\Projects\TestMap\Temp\fluentmigrator\FluentMigrator.sln
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\FluentMigrator.Tests.csproj
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\Integration\MigrationRunnerTests.cs
FluentMigrator.Tests.Integration
MigrationRunnerTests
['private const string RootNamespace = "FluentMigrator.Tests.Integration.Migrations";']
['System', 'System.Data', 'System.IO', 'System.Linq', 'System.Text', 'System.Text.RegularExpressions', 'FluentMigrator.Expressions', 'FluentMigrator.Runner', 'FluentMigrator.Runner.Exceptions', 'FluentMigrator.Runner.Initialization', 'FluentMigrator.Runner.Logging', 'FluentMigrator.Runner.Processors', 'FluentMigrator.Runner.Processors.Firebird', 'FluentMigrator.Runner.Processors.MySql', 'FluentMigrator.Runner.Processors.Oracle', 'FluentMigrator.Runner.Processors.Postgres', 'FluentMigrator.Runner.Processors.Redshift', 'FluentMigrator.Runner.Processors.Snowflake', 'FluentMigrator.Runner.Processors.SQLite', 'FluentMigrator.Runner.Processors.SqlServer', 'FluentMigrator.Runner.VersionTableInfo', 'FluentMigrator.Tests.Integration.Migrations.Tagged', 'FluentMigrator.Tests.Unit', 'Microsoft.Extensions.DependencyInjection', 'Microsoft.Extensions.Logging', 'Moq', 'NUnit.Framework', 'Shouldly']
NUnit
net48
[('[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("SQLite")]\n [Category("Postgres")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanApplyIndexConventionWithSchema()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestIndexNamingConventionWithSchema());\n processor.IndexExists("TestSchema", "Users", "IX_Users_GroupId").ShouldBeTrue();\n processor.TableExists("TestSchema", "Users").ShouldBeTrue();\n\n runner.Down(new TestIndexNamingConventionWithSchema());\n processor.IndexExists("TestSchema", "Users", "IX_Users_GroupId").ShouldBeFalse();\n processor.TableExists("TestSchema", "Users").ShouldBeFalse();\n },\n true,\n typeof(SnowflakeProcessor) /* Snowflake does not support indices. */);\n }', '[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("SQLite")]\n [Category("Postgres")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanApplyIndexConventionWithSchema()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestIndexNamingConventionWithSchema());\n processor.IndexExists("TestSchema", "Users", "IX_Users_GroupId").ShouldBeTrue();\n processor.TableExists("TestSchema", "Users").ShouldBeTrue();\n\n runner.Down(new TestIndexNamingConventionWithSchema());\n processor.IndexExists("TestSchema", "Users", "IX_Users_GroupId").ShouldBeFalse();\n processor.TableExists("TestSchema", "Users").ShouldBeFalse();\n },\n true,\n typeof(SnowflakeProcessor) /* Snowflake does not support indices. */);\n }')]
9,693
11,017
[('ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestIndexNamingConventionWithSchema());\n processor.IndexExists("TestSchema", "Users", "IX_Users_GroupId").ShouldBeTrue();\n processor.TableExists("TestSchema", "Users").ShouldBeTrue();\n\n runner.Down(new TestIndexNamingConventionWithSchema());\n processor.IndexExists("TestSchema", "Users", "IX_Users_GroupId").ShouldBeFalse();\n processor.TableExists("TestSchema", "Users").ShouldBeFalse();\n },\n true,\n typeof(SnowflakeProcessor) /* Snowflake does not support indices. */)', ''), ('services.WithMigrationsIn(RootNamespace)', ''), ('serviceProvider.GetRequiredService<IMigrationRunner>()', ''), ('runner.Up(new TestIndexNamingConventionWithSchema())', ''), ('processor.IndexExists("TestSchema", "Users", "IX_Users_GroupId").ShouldBeTrue()', ''), ('processor.IndexExists("TestSchema", "Users", "IX_Users_GroupId")', ''), ('processor.TableExists("TestSchema", "Users").ShouldBeTrue()', ''), ('processor.TableExists("TestSchema", "Users")', ''), ('runner.Down(new TestIndexNamingConventionWithSchema())', ''), ('processor.IndexExists("TestSchema", "Users", "IX_Users_GroupId").ShouldBeFalse()', ''), ('processor.IndexExists("TestSchema", "Users", "IX_Users_GroupId")', ''), ('processor.TableExists("TestSchema", "Users").ShouldBeFalse()', ''), ('processor.TableExists("TestSchema", "Users")', '')]
fluentmigrator
fluentmigrator
F:\Projects\TestMap\Temp\fluentmigrator\FluentMigrator.sln
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\FluentMigrator.Tests.csproj
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\Integration\MigrationRunnerTests.cs
FluentMigrator.Tests.Integration
MigrationRunnerTests
['private const string RootNamespace = "FluentMigrator.Tests.Integration.Migrations";']
['System', 'System.Data', 'System.IO', 'System.Linq', 'System.Text', 'System.Text.RegularExpressions', 'FluentMigrator.Expressions', 'FluentMigrator.Runner', 'FluentMigrator.Runner.Exceptions', 'FluentMigrator.Runner.Initialization', 'FluentMigrator.Runner.Logging', 'FluentMigrator.Runner.Processors', 'FluentMigrator.Runner.Processors.Firebird', 'FluentMigrator.Runner.Processors.MySql', 'FluentMigrator.Runner.Processors.Oracle', 'FluentMigrator.Runner.Processors.Postgres', 'FluentMigrator.Runner.Processors.Redshift', 'FluentMigrator.Runner.Processors.Snowflake', 'FluentMigrator.Runner.Processors.SQLite', 'FluentMigrator.Runner.Processors.SqlServer', 'FluentMigrator.Runner.VersionTableInfo', 'FluentMigrator.Tests.Integration.Migrations.Tagged', 'FluentMigrator.Tests.Unit', 'Microsoft.Extensions.DependencyInjection', 'Microsoft.Extensions.Logging', 'Moq', 'NUnit.Framework', 'Shouldly']
NUnit
net48
[('[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("SQLite")]\n [Category("Postgres")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanCreateAndDropIndex()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestCreateAndDropTableMigration());\n processor.IndexExists(null, "TestTable", "IX_TestTable_Name").ShouldBeFalse();\n\n runner.Up(new TestCreateAndDropIndexMigration());\n processor.IndexExists(null, "TestTable", "IX_TestTable_Name").ShouldBeTrue();\n\n runner.Down(new TestCreateAndDropIndexMigration());\n processor.IndexExists(null, "TestTable", "IX_TestTable_Name").ShouldBeFalse();\n\n runner.Down(new TestCreateAndDropTableMigration());\n processor.IndexExists(null, "TestTable", "IX_TestTable_Name").ShouldBeFalse();\n\n //processor.CommitTransaction();\n },\n true,\n typeof(SnowflakeProcessor) /* Snowflake does not support indices. */);\n }', '[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("SQLite")]\n [Category("Postgres")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanCreateAndDropIndex()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestCreateAndDropTableMigration());\n processor.IndexExists(null, "TestTable", "IX_TestTable_Name").ShouldBeFalse();\n\n runner.Up(new TestCreateAndDropIndexMigration());\n processor.IndexExists(null, "TestTable", "IX_TestTable_Name").ShouldBeTrue();\n\n runner.Down(new TestCreateAndDropIndexMigration());\n processor.IndexExists(null, "TestTable", "IX_TestTable_Name").ShouldBeFalse();\n\n runner.Down(new TestCreateAndDropTableMigration());\n processor.IndexExists(null, "TestTable", "IX_TestTable_Name").ShouldBeFalse();\n\n //processor.CommitTransaction();\n },\n true,\n typeof(SnowflakeProcessor) /* Snowflake does not support indices. */);\n }')]
11,029
12,566
[('ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestCreateAndDropTableMigration());\n processor.IndexExists(null, "TestTable", "IX_TestTable_Name").ShouldBeFalse();\n\n runner.Up(new TestCreateAndDropIndexMigration());\n processor.IndexExists(null, "TestTable", "IX_TestTable_Name").ShouldBeTrue();\n\n runner.Down(new TestCreateAndDropIndexMigration());\n processor.IndexExists(null, "TestTable", "IX_TestTable_Name").ShouldBeFalse();\n\n runner.Down(new TestCreateAndDropTableMigration());\n processor.IndexExists(null, "TestTable", "IX_TestTable_Name").ShouldBeFalse();\n\n //processor.CommitTransaction();\n },\n true,\n typeof(SnowflakeProcessor) /* Snowflake does not support indices. */)', ''), ('services.WithMigrationsIn(RootNamespace)', ''), ('serviceProvider.GetRequiredService<IMigrationRunner>()', ''), ('runner.Up(new TestCreateAndDropTableMigration())', ''), ('processor.IndexExists(null, "TestTable", "IX_TestTable_Name").ShouldBeFalse()', ''), ('processor.IndexExists(null, "TestTable", "IX_TestTable_Name")', ''), ('runner.Up(new TestCreateAndDropIndexMigration())', ''), ('processor.IndexExists(null, "TestTable", "IX_TestTable_Name").ShouldBeTrue()', ''), ('processor.IndexExists(null, "TestTable", "IX_TestTable_Name")', ''), ('runner.Down(new TestCreateAndDropIndexMigration())', ''), ('processor.IndexExists(null, "TestTable", "IX_TestTable_Name").ShouldBeFalse()', ''), ('processor.IndexExists(null, "TestTable", "IX_TestTable_Name")', ''), ('runner.Down(new TestCreateAndDropTableMigration())', ''), ('processor.IndexExists(null, "TestTable", "IX_TestTable_Name").ShouldBeFalse()', ''), ('processor.IndexExists(null, "TestTable", "IX_TestTable_Name")', '')]
fluentmigrator
fluentmigrator
F:\Projects\TestMap\Temp\fluentmigrator\FluentMigrator.sln
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\FluentMigrator.Tests.csproj
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\Integration\MigrationRunnerTests.cs
FluentMigrator.Tests.Integration
MigrationRunnerTests
['private const string RootNamespace = "FluentMigrator.Tests.Integration.Migrations";']
['System', 'System.Data', 'System.IO', 'System.Linq', 'System.Text', 'System.Text.RegularExpressions', 'FluentMigrator.Expressions', 'FluentMigrator.Runner', 'FluentMigrator.Runner.Exceptions', 'FluentMigrator.Runner.Initialization', 'FluentMigrator.Runner.Logging', 'FluentMigrator.Runner.Processors', 'FluentMigrator.Runner.Processors.Firebird', 'FluentMigrator.Runner.Processors.MySql', 'FluentMigrator.Runner.Processors.Oracle', 'FluentMigrator.Runner.Processors.Postgres', 'FluentMigrator.Runner.Processors.Redshift', 'FluentMigrator.Runner.Processors.Snowflake', 'FluentMigrator.Runner.Processors.SQLite', 'FluentMigrator.Runner.Processors.SqlServer', 'FluentMigrator.Runner.VersionTableInfo', 'FluentMigrator.Tests.Integration.Migrations.Tagged', 'FluentMigrator.Tests.Unit', 'Microsoft.Extensions.DependencyInjection', 'Microsoft.Extensions.Logging', 'Moq', 'NUnit.Framework', 'Shouldly']
NUnit
net48
[('[Test]\n [Category("MySql")]\n [Category("Postgres")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanCreateAndDropIndexWithSchema()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestCreateSchema());\n\n runner.Up(new TestCreateAndDropTableMigrationWithSchema());\n processor.IndexExists("TestSchema", "TestTable", "IX_TestTable_Name").ShouldBeFalse();\n\n runner.Up(new TestCreateAndDropIndexMigrationWithSchema());\n processor.IndexExists("TestSchema", "TestTable", "IX_TestTable_Name").ShouldBeTrue();\n\n runner.Down(new TestCreateAndDropIndexMigrationWithSchema());\n processor.IndexExists("TestSchema", "TestTable", "IX_TestTable_Name").ShouldBeFalse();\n\n runner.Down(new TestCreateAndDropTableMigrationWithSchema());\n processor.IndexExists("TestSchema", "TestTable", "IX_TestTable_Name").ShouldBeFalse();\n\n runner.Down(new TestCreateSchema());\n //processor.CommitTransaction();\n },\n false,\n typeof(FirebirdProcessor),\n typeof(SnowflakeProcessor) /* Snowflake does not support indices. */);\n }', '[Test]\n [Category("MySql")]\n [Category("Postgres")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanCreateAndDropIndexWithSchema()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestCreateSchema());\n\n runner.Up(new TestCreateAndDropTableMigrationWithSchema());\n processor.IndexExists("TestSchema", "TestTable", "IX_TestTable_Name").ShouldBeFalse();\n\n runner.Up(new TestCreateAndDropIndexMigrationWithSchema());\n processor.IndexExists("TestSchema", "TestTable", "IX_TestTable_Name").ShouldBeTrue();\n\n runner.Down(new TestCreateAndDropIndexMigrationWithSchema());\n processor.IndexExists("TestSchema", "TestTable", "IX_TestTable_Name").ShouldBeFalse();\n\n runner.Down(new TestCreateAndDropTableMigrationWithSchema());\n processor.IndexExists("TestSchema", "TestTable", "IX_TestTable_Name").ShouldBeFalse();\n\n runner.Down(new TestCreateSchema());\n //processor.CommitTransaction();\n },\n false,\n typeof(FirebirdProcessor),\n typeof(SnowflakeProcessor) /* Snowflake does not support indices. */);\n }')]
12,578
14,296
[('ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestCreateSchema());\n\n runner.Up(new TestCreateAndDropTableMigrationWithSchema());\n processor.IndexExists("TestSchema", "TestTable", "IX_TestTable_Name").ShouldBeFalse();\n\n runner.Up(new TestCreateAndDropIndexMigrationWithSchema());\n processor.IndexExists("TestSchema", "TestTable", "IX_TestTable_Name").ShouldBeTrue();\n\n runner.Down(new TestCreateAndDropIndexMigrationWithSchema());\n processor.IndexExists("TestSchema", "TestTable", "IX_TestTable_Name").ShouldBeFalse();\n\n runner.Down(new TestCreateAndDropTableMigrationWithSchema());\n processor.IndexExists("TestSchema", "TestTable", "IX_TestTable_Name").ShouldBeFalse();\n\n runner.Down(new TestCreateSchema());\n //processor.CommitTransaction();\n },\n false,\n typeof(FirebirdProcessor),\n typeof(SnowflakeProcessor) /* Snowflake does not support indices. */)', ''), ('services.WithMigrationsIn(RootNamespace)', ''), ('serviceProvider.GetRequiredService<IMigrationRunner>()', ''), ('runner.Up(new TestCreateSchema())', ''), ('runner.Up(new TestCreateAndDropTableMigrationWithSchema())', ''), ('processor.IndexExists("TestSchema", "TestTable", "IX_TestTable_Name").ShouldBeFalse()', ''), ('processor.IndexExists("TestSchema", "TestTable", "IX_TestTable_Name")', ''), ('runner.Up(new TestCreateAndDropIndexMigrationWithSchema())', ''), ('processor.IndexExists("TestSchema", "TestTable", "IX_TestTable_Name").ShouldBeTrue()', ''), ('processor.IndexExists("TestSchema", "TestTable", "IX_TestTable_Name")', ''), ('runner.Down(new TestCreateAndDropIndexMigrationWithSchema())', ''), ('processor.IndexExists("TestSchema", "TestTable", "IX_TestTable_Name").ShouldBeFalse()', ''), ('processor.IndexExists("TestSchema", "TestTable", "IX_TestTable_Name")', ''), ('runner.Down(new TestCreateAndDropTableMigrationWithSchema())', ''), ('processor.IndexExists("TestSchema", "TestTable", "IX_TestTable_Name").ShouldBeFalse()', ''), ('processor.IndexExists("TestSchema", "TestTable", "IX_TestTable_Name")', ''), ('runner.Down(new TestCreateSchema())', '')]
fluentmigrator
fluentmigrator
F:\Projects\TestMap\Temp\fluentmigrator\FluentMigrator.sln
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\FluentMigrator.Tests.csproj
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\Integration\MigrationRunnerTests.cs
FluentMigrator.Tests.Integration
MigrationRunnerTests
['private const string RootNamespace = "FluentMigrator.Tests.Integration.Migrations";']
['System', 'System.Data', 'System.IO', 'System.Linq', 'System.Text', 'System.Text.RegularExpressions', 'FluentMigrator.Expressions', 'FluentMigrator.Runner', 'FluentMigrator.Runner.Exceptions', 'FluentMigrator.Runner.Initialization', 'FluentMigrator.Runner.Logging', 'FluentMigrator.Runner.Processors', 'FluentMigrator.Runner.Processors.Firebird', 'FluentMigrator.Runner.Processors.MySql', 'FluentMigrator.Runner.Processors.Oracle', 'FluentMigrator.Runner.Processors.Postgres', 'FluentMigrator.Runner.Processors.Redshift', 'FluentMigrator.Runner.Processors.Snowflake', 'FluentMigrator.Runner.Processors.SQLite', 'FluentMigrator.Runner.Processors.SqlServer', 'FluentMigrator.Runner.VersionTableInfo', 'FluentMigrator.Tests.Integration.Migrations.Tagged', 'FluentMigrator.Tests.Unit', 'Microsoft.Extensions.DependencyInjection', 'Microsoft.Extensions.Logging', 'Moq', 'NUnit.Framework', 'Shouldly']
NUnit
net48
[('[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("SQLite")]\n [Category("Postgres")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanRenameTable()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestCreateAndDropTableMigration());\n processor.TableExists(null, "TestTable2").ShouldBeTrue();\n\n runner.Up(new TestRenameTableMigration());\n processor.TableExists(null, "TestTable2").ShouldBeFalse();\n processor.TableExists(null, "TestTable\'3").ShouldBeTrue();\n\n runner.Down(new TestRenameTableMigration());\n processor.TableExists(null, "TestTable\'3").ShouldBeFalse();\n processor.TableExists(null, "TestTable2").ShouldBeTrue();\n\n runner.Down(new TestCreateAndDropTableMigration());\n processor.TableExists(null, "TestTable2").ShouldBeFalse();\n\n //processor.CommitTransaction();\n },\n true,\n typeof(SnowflakeProcessor) /* This test does not work with snowflake, see test CanRenameTableWithSchema in class SnowflakeMigrationRunnerTests. */);\n }', '[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("SQLite")]\n [Category("Postgres")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanRenameTable()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestCreateAndDropTableMigration());\n processor.TableExists(null, "TestTable2").ShouldBeTrue();\n\n runner.Up(new TestRenameTableMigration());\n processor.TableExists(null, "TestTable2").ShouldBeFalse();\n processor.TableExists(null, "TestTable\'3").ShouldBeTrue();\n\n runner.Down(new TestRenameTableMigration());\n processor.TableExists(null, "TestTable\'3").ShouldBeFalse();\n processor.TableExists(null, "TestTable2").ShouldBeTrue();\n\n runner.Down(new TestCreateAndDropTableMigration());\n processor.TableExists(null, "TestTable2").ShouldBeFalse();\n\n //processor.CommitTransaction();\n },\n true,\n typeof(SnowflakeProcessor) /* This test does not work with snowflake, see test CanRenameTableWithSchema in class SnowflakeMigrationRunnerTests. */);\n }')]
14,308
15,982
[('ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestCreateAndDropTableMigration());\n processor.TableExists(null, "TestTable2").ShouldBeTrue();\n\n runner.Up(new TestRenameTableMigration());\n processor.TableExists(null, "TestTable2").ShouldBeFalse();\n processor.TableExists(null, "TestTable\'3").ShouldBeTrue();\n\n runner.Down(new TestRenameTableMigration());\n processor.TableExists(null, "TestTable\'3").ShouldBeFalse();\n processor.TableExists(null, "TestTable2").ShouldBeTrue();\n\n runner.Down(new TestCreateAndDropTableMigration());\n processor.TableExists(null, "TestTable2").ShouldBeFalse();\n\n //processor.CommitTransaction();\n },\n true,\n typeof(SnowflakeProcessor) /* This test does not work with snowflake, see test CanRenameTableWithSchema in class SnowflakeMigrationRunnerTests. */)', ''), ('services.WithMigrationsIn(RootNamespace)', ''), ('serviceProvider.GetRequiredService<IMigrationRunner>()', ''), ('runner.Up(new TestCreateAndDropTableMigration())', ''), ('processor.TableExists(null, "TestTable2").ShouldBeTrue()', ''), ('processor.TableExists(null, "TestTable2")', ''), ('runner.Up(new TestRenameTableMigration())', ''), ('processor.TableExists(null, "TestTable2").ShouldBeFalse()', ''), ('processor.TableExists(null, "TestTable2")', ''), ('processor.TableExists(null, "TestTable\'3").ShouldBeTrue()', ''), ('processor.TableExists(null, "TestTable\'3")', ''), ('runner.Down(new TestRenameTableMigration())', ''), ('processor.TableExists(null, "TestTable\'3").ShouldBeFalse()', ''), ('processor.TableExists(null, "TestTable\'3")', ''), ('processor.TableExists(null, "TestTable2").ShouldBeTrue()', ''), ('processor.TableExists(null, "TestTable2")', ''), ('runner.Down(new TestCreateAndDropTableMigration())', ''), ('processor.TableExists(null, "TestTable2").ShouldBeFalse()', ''), ('processor.TableExists(null, "TestTable2")', '')]
fluentmigrator
fluentmigrator
F:\Projects\TestMap\Temp\fluentmigrator\FluentMigrator.sln
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\FluentMigrator.Tests.csproj
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\Integration\MigrationRunnerTests.cs
FluentMigrator.Tests.Integration
MigrationRunnerTests
['private const string RootNamespace = "FluentMigrator.Tests.Integration.Migrations";']
['System', 'System.Data', 'System.IO', 'System.Linq', 'System.Text', 'System.Text.RegularExpressions', 'FluentMigrator.Expressions', 'FluentMigrator.Runner', 'FluentMigrator.Runner.Exceptions', 'FluentMigrator.Runner.Initialization', 'FluentMigrator.Runner.Logging', 'FluentMigrator.Runner.Processors', 'FluentMigrator.Runner.Processors.Firebird', 'FluentMigrator.Runner.Processors.MySql', 'FluentMigrator.Runner.Processors.Oracle', 'FluentMigrator.Runner.Processors.Postgres', 'FluentMigrator.Runner.Processors.Redshift', 'FluentMigrator.Runner.Processors.Snowflake', 'FluentMigrator.Runner.Processors.SQLite', 'FluentMigrator.Runner.Processors.SqlServer', 'FluentMigrator.Runner.VersionTableInfo', 'FluentMigrator.Tests.Integration.Migrations.Tagged', 'FluentMigrator.Tests.Unit', 'Microsoft.Extensions.DependencyInjection', 'Microsoft.Extensions.Logging', 'Moq', 'NUnit.Framework', 'Shouldly']
NUnit
net48
[('[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("SQLite")]\n [Category("Postgres")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanRenameTableWithSchema()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestCreateSchema());\n\n runner.Up(new TestCreateAndDropTableMigrationWithSchema());\n processor.TableExists("TestSchema", "TestTable2").ShouldBeTrue();\n\n runner.Up(new TestRenameTableMigrationWithSchema());\n processor.TableExists("TestSchema", "TestTable2").ShouldBeFalse();\n processor.TableExists("TestSchema", "TestTable\'3").ShouldBeTrue();\n\n runner.Down(new TestRenameTableMigrationWithSchema());\n processor.TableExists("TestSchema", "TestTable\'3").ShouldBeFalse();\n processor.TableExists("TestSchema", "TestTable2").ShouldBeTrue();\n\n runner.Down(new TestCreateAndDropTableMigrationWithSchema());\n processor.TableExists("TestSchema", "TestTable2").ShouldBeFalse();\n\n runner.Down(new TestCreateSchema());\n\n //processor.CommitTransaction();\n },\n true,\n typeof(SnowflakeProcessor) /* This test does not work with snowflake, see test CanRenameTableWithSchema in class SnowflakeMigrationRunnerTests. */);\n }', '[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("SQLite")]\n [Category("Postgres")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanRenameTableWithSchema()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestCreateSchema());\n\n runner.Up(new TestCreateAndDropTableMigrationWithSchema());\n processor.TableExists("TestSchema", "TestTable2").ShouldBeTrue();\n\n runner.Up(new TestRenameTableMigrationWithSchema());\n processor.TableExists("TestSchema", "TestTable2").ShouldBeFalse();\n processor.TableExists("TestSchema", "TestTable\'3").ShouldBeTrue();\n\n runner.Down(new TestRenameTableMigrationWithSchema());\n processor.TableExists("TestSchema", "TestTable\'3").ShouldBeFalse();\n processor.TableExists("TestSchema", "TestTable2").ShouldBeTrue();\n\n runner.Down(new TestCreateAndDropTableMigrationWithSchema());\n processor.TableExists("TestSchema", "TestTable2").ShouldBeFalse();\n\n runner.Down(new TestCreateSchema());\n\n //processor.CommitTransaction();\n },\n true,\n typeof(SnowflakeProcessor) /* This test does not work with snowflake, see test CanRenameTableWithSchema in class SnowflakeMigrationRunnerTests. */);\n }')]
15,994
17,884
[('ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestCreateSchema());\n\n runner.Up(new TestCreateAndDropTableMigrationWithSchema());\n processor.TableExists("TestSchema", "TestTable2").ShouldBeTrue();\n\n runner.Up(new TestRenameTableMigrationWithSchema());\n processor.TableExists("TestSchema", "TestTable2").ShouldBeFalse();\n processor.TableExists("TestSchema", "TestTable\'3").ShouldBeTrue();\n\n runner.Down(new TestRenameTableMigrationWithSchema());\n processor.TableExists("TestSchema", "TestTable\'3").ShouldBeFalse();\n processor.TableExists("TestSchema", "TestTable2").ShouldBeTrue();\n\n runner.Down(new TestCreateAndDropTableMigrationWithSchema());\n processor.TableExists("TestSchema", "TestTable2").ShouldBeFalse();\n\n runner.Down(new TestCreateSchema());\n\n //processor.CommitTransaction();\n },\n true,\n typeof(SnowflakeProcessor) /* This test does not work with snowflake, see test CanRenameTableWithSchema in class SnowflakeMigrationRunnerTests. */)', ''), ('services.WithMigrationsIn(RootNamespace)', ''), ('serviceProvider.GetRequiredService<IMigrationRunner>()', ''), ('runner.Up(new TestCreateSchema())', ''), ('runner.Up(new TestCreateAndDropTableMigrationWithSchema())', ''), ('processor.TableExists("TestSchema", "TestTable2").ShouldBeTrue()', ''), ('processor.TableExists("TestSchema", "TestTable2")', ''), ('runner.Up(new TestRenameTableMigrationWithSchema())', ''), ('processor.TableExists("TestSchema", "TestTable2").ShouldBeFalse()', ''), ('processor.TableExists("TestSchema", "TestTable2")', ''), ('processor.TableExists("TestSchema", "TestTable\'3").ShouldBeTrue()', ''), ('processor.TableExists("TestSchema", "TestTable\'3")', ''), ('runner.Down(new TestRenameTableMigrationWithSchema())', ''), ('processor.TableExists("TestSchema", "TestTable\'3").ShouldBeFalse()', ''), ('processor.TableExists("TestSchema", "TestTable\'3")', ''), ('processor.TableExists("TestSchema", "TestTable2").ShouldBeTrue()', ''), ('processor.TableExists("TestSchema", "TestTable2")', ''), ('runner.Down(new TestCreateAndDropTableMigrationWithSchema())', ''), ('processor.TableExists("TestSchema", "TestTable2").ShouldBeFalse()', ''), ('processor.TableExists("TestSchema", "TestTable2")', ''), ('runner.Down(new TestCreateSchema())', '')]
fluentmigrator
fluentmigrator
F:\Projects\TestMap\Temp\fluentmigrator\FluentMigrator.sln
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\FluentMigrator.Tests.csproj
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\Integration\MigrationRunnerTests.cs
FluentMigrator.Tests.Integration
MigrationRunnerTests
['private const string RootNamespace = "FluentMigrator.Tests.Integration.Migrations";']
['System', 'System.Data', 'System.IO', 'System.Linq', 'System.Text', 'System.Text.RegularExpressions', 'FluentMigrator.Expressions', 'FluentMigrator.Runner', 'FluentMigrator.Runner.Exceptions', 'FluentMigrator.Runner.Initialization', 'FluentMigrator.Runner.Logging', 'FluentMigrator.Runner.Processors', 'FluentMigrator.Runner.Processors.Firebird', 'FluentMigrator.Runner.Processors.MySql', 'FluentMigrator.Runner.Processors.Oracle', 'FluentMigrator.Runner.Processors.Postgres', 'FluentMigrator.Runner.Processors.Redshift', 'FluentMigrator.Runner.Processors.Snowflake', 'FluentMigrator.Runner.Processors.SQLite', 'FluentMigrator.Runner.Processors.SqlServer', 'FluentMigrator.Runner.VersionTableInfo', 'FluentMigrator.Tests.Integration.Migrations.Tagged', 'FluentMigrator.Tests.Unit', 'Microsoft.Extensions.DependencyInjection', 'Microsoft.Extensions.Logging', 'Moq', 'NUnit.Framework', 'Shouldly']
NUnit
net48
[('[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("Postgres")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanRenameColumn()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestCreateAndDropTableMigration());\n processor.ColumnExists(null, "TestTable2", "Name").ShouldBeTrue();\n\n runner.Up(new TestRenameColumnMigration());\n processor.ColumnExists(null, "TestTable2", "Name").ShouldBeFalse();\n processor.ColumnExists(null, "TestTable2", "Name\'3").ShouldBeTrue();\n\n runner.Down(new TestRenameColumnMigration());\n processor.ColumnExists(null, "TestTable2", "Name\'3").ShouldBeFalse();\n processor.ColumnExists(null, "TestTable2", "Name").ShouldBeTrue();\n\n runner.Down(new TestCreateAndDropTableMigration());\n processor.ColumnExists(null, "TestTable2", "Name").ShouldBeFalse();\n },\n true,\n typeof(SQLiteProcessor),\n typeof(SnowflakeProcessor) /* This test does not work with snowflake, see test CanRenameColumnWithSchema in class SnowflakeMigrationRunnerTests. */);\n }', '[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("Postgres")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanRenameColumn()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestCreateAndDropTableMigration());\n processor.ColumnExists(null, "TestTable2", "Name").ShouldBeTrue();\n\n runner.Up(new TestRenameColumnMigration());\n processor.ColumnExists(null, "TestTable2", "Name").ShouldBeFalse();\n processor.ColumnExists(null, "TestTable2", "Name\'3").ShouldBeTrue();\n\n runner.Down(new TestRenameColumnMigration());\n processor.ColumnExists(null, "TestTable2", "Name\'3").ShouldBeFalse();\n processor.ColumnExists(null, "TestTable2", "Name").ShouldBeTrue();\n\n runner.Down(new TestCreateAndDropTableMigration());\n processor.ColumnExists(null, "TestTable2", "Name").ShouldBeFalse();\n },\n true,\n typeof(SQLiteProcessor),\n typeof(SnowflakeProcessor) /* This test does not work with snowflake, see test CanRenameColumnWithSchema in class SnowflakeMigrationRunnerTests. */);\n }')]
17,896
19,586
[('ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestCreateAndDropTableMigration());\n processor.ColumnExists(null, "TestTable2", "Name").ShouldBeTrue();\n\n runner.Up(new TestRenameColumnMigration());\n processor.ColumnExists(null, "TestTable2", "Name").ShouldBeFalse();\n processor.ColumnExists(null, "TestTable2", "Name\'3").ShouldBeTrue();\n\n runner.Down(new TestRenameColumnMigration());\n processor.ColumnExists(null, "TestTable2", "Name\'3").ShouldBeFalse();\n processor.ColumnExists(null, "TestTable2", "Name").ShouldBeTrue();\n\n runner.Down(new TestCreateAndDropTableMigration());\n processor.ColumnExists(null, "TestTable2", "Name").ShouldBeFalse();\n },\n true,\n typeof(SQLiteProcessor),\n typeof(SnowflakeProcessor) /* This test does not work with snowflake, see test CanRenameColumnWithSchema in class SnowflakeMigrationRunnerTests. */)', ''), ('services.WithMigrationsIn(RootNamespace)', ''), ('serviceProvider.GetRequiredService<IMigrationRunner>()', ''), ('runner.Up(new TestCreateAndDropTableMigration())', ''), ('processor.ColumnExists(null, "TestTable2", "Name").ShouldBeTrue()', ''), ('processor.ColumnExists(null, "TestTable2", "Name")', ''), ('runner.Up(new TestRenameColumnMigration())', ''), ('processor.ColumnExists(null, "TestTable2", "Name").ShouldBeFalse()', ''), ('processor.ColumnExists(null, "TestTable2", "Name")', ''), ('processor.ColumnExists(null, "TestTable2", "Name\'3").ShouldBeTrue()', ''), ('processor.ColumnExists(null, "TestTable2", "Name\'3")', ''), ('runner.Down(new TestRenameColumnMigration())', ''), ('processor.ColumnExists(null, "TestTable2", "Name\'3").ShouldBeFalse()', ''), ('processor.ColumnExists(null, "TestTable2", "Name\'3")', ''), ('processor.ColumnExists(null, "TestTable2", "Name").ShouldBeTrue()', ''), ('processor.ColumnExists(null, "TestTable2", "Name")', ''), ('runner.Down(new TestCreateAndDropTableMigration())', ''), ('processor.ColumnExists(null, "TestTable2", "Name").ShouldBeFalse()', ''), ('processor.ColumnExists(null, "TestTable2", "Name")', '')]
fluentmigrator
fluentmigrator
F:\Projects\TestMap\Temp\fluentmigrator\FluentMigrator.sln
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\FluentMigrator.Tests.csproj
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\Integration\MigrationRunnerTests.cs
FluentMigrator.Tests.Integration
MigrationRunnerTests
['private const string RootNamespace = "FluentMigrator.Tests.Integration.Migrations";']
['System', 'System.Data', 'System.IO', 'System.Linq', 'System.Text', 'System.Text.RegularExpressions', 'FluentMigrator.Expressions', 'FluentMigrator.Runner', 'FluentMigrator.Runner.Exceptions', 'FluentMigrator.Runner.Initialization', 'FluentMigrator.Runner.Logging', 'FluentMigrator.Runner.Processors', 'FluentMigrator.Runner.Processors.Firebird', 'FluentMigrator.Runner.Processors.MySql', 'FluentMigrator.Runner.Processors.Oracle', 'FluentMigrator.Runner.Processors.Postgres', 'FluentMigrator.Runner.Processors.Redshift', 'FluentMigrator.Runner.Processors.Snowflake', 'FluentMigrator.Runner.Processors.SQLite', 'FluentMigrator.Runner.Processors.SqlServer', 'FluentMigrator.Runner.VersionTableInfo', 'FluentMigrator.Tests.Integration.Migrations.Tagged', 'FluentMigrator.Tests.Unit', 'Microsoft.Extensions.DependencyInjection', 'Microsoft.Extensions.Logging', 'Moq', 'NUnit.Framework', 'Shouldly']
NUnit
net48
[('[Test]\n [Category("MySql")]\n [Category("Postgres")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanRenameColumnWithSchema()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestCreateSchema());\n\n runner.Up(new TestCreateAndDropTableMigrationWithSchema());\n processor.ColumnExists("TestSchema", "TestTable2", "Name").ShouldBeTrue();\n\n runner.Up(new TestRenameColumnMigrationWithSchema());\n processor.ColumnExists("TestSchema", "TestTable2", "Name").ShouldBeFalse();\n processor.ColumnExists("TestSchema", "TestTable2", "Name\'3").ShouldBeTrue();\n\n runner.Down(new TestRenameColumnMigrationWithSchema());\n processor.ColumnExists("TestSchema", "TestTable2", "Name\'3").ShouldBeFalse();\n processor.ColumnExists("TestSchema", "TestTable2", "Name").ShouldBeTrue();\n\n runner.Down(new TestCreateAndDropTableMigrationWithSchema());\n processor.ColumnExists("TestSchema", "TestTable2", "Name").ShouldBeFalse();\n\n runner.Down(new TestCreateSchema());\n },\n true,\n typeof(SQLiteProcessor),\n typeof(FirebirdProcessor),\n typeof(SnowflakeProcessor) /* This test does not work with snowflake, see test CanRenameColumnWithSchema in class SnowflakeMigrationRunnerTests. */);\n }', '[Test]\n [Category("MySql")]\n [Category("Postgres")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanRenameColumnWithSchema()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestCreateSchema());\n\n runner.Up(new TestCreateAndDropTableMigrationWithSchema());\n processor.ColumnExists("TestSchema", "TestTable2", "Name").ShouldBeTrue();\n\n runner.Up(new TestRenameColumnMigrationWithSchema());\n processor.ColumnExists("TestSchema", "TestTable2", "Name").ShouldBeFalse();\n processor.ColumnExists("TestSchema", "TestTable2", "Name\'3").ShouldBeTrue();\n\n runner.Down(new TestRenameColumnMigrationWithSchema());\n processor.ColumnExists("TestSchema", "TestTable2", "Name\'3").ShouldBeFalse();\n processor.ColumnExists("TestSchema", "TestTable2", "Name").ShouldBeTrue();\n\n runner.Down(new TestCreateAndDropTableMigrationWithSchema());\n processor.ColumnExists("TestSchema", "TestTable2", "Name").ShouldBeFalse();\n\n runner.Down(new TestCreateSchema());\n },\n true,\n typeof(SQLiteProcessor),\n typeof(FirebirdProcessor),\n typeof(SnowflakeProcessor) /* This test does not work with snowflake, see test CanRenameColumnWithSchema in class SnowflakeMigrationRunnerTests. */);\n }')]
19,598
21,516
[('ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.Up(new TestCreateSchema());\n\n runner.Up(new TestCreateAndDropTableMigrationWithSchema());\n processor.ColumnExists("TestSchema", "TestTable2", "Name").ShouldBeTrue();\n\n runner.Up(new TestRenameColumnMigrationWithSchema());\n processor.ColumnExists("TestSchema", "TestTable2", "Name").ShouldBeFalse();\n processor.ColumnExists("TestSchema", "TestTable2", "Name\'3").ShouldBeTrue();\n\n runner.Down(new TestRenameColumnMigrationWithSchema());\n processor.ColumnExists("TestSchema", "TestTable2", "Name\'3").ShouldBeFalse();\n processor.ColumnExists("TestSchema", "TestTable2", "Name").ShouldBeTrue();\n\n runner.Down(new TestCreateAndDropTableMigrationWithSchema());\n processor.ColumnExists("TestSchema", "TestTable2", "Name").ShouldBeFalse();\n\n runner.Down(new TestCreateSchema());\n },\n true,\n typeof(SQLiteProcessor),\n typeof(FirebirdProcessor),\n typeof(SnowflakeProcessor) /* This test does not work with snowflake, see test CanRenameColumnWithSchema in class SnowflakeMigrationRunnerTests. */)', ''), ('services.WithMigrationsIn(RootNamespace)', ''), ('serviceProvider.GetRequiredService<IMigrationRunner>()', ''), ('runner.Up(new TestCreateSchema())', ''), ('runner.Up(new TestCreateAndDropTableMigrationWithSchema())', ''), ('processor.ColumnExists("TestSchema", "TestTable2", "Name").ShouldBeTrue()', ''), ('processor.ColumnExists("TestSchema", "TestTable2", "Name")', ''), ('runner.Up(new TestRenameColumnMigrationWithSchema())', ''), ('processor.ColumnExists("TestSchema", "TestTable2", "Name").ShouldBeFalse()', ''), ('processor.ColumnExists("TestSchema", "TestTable2", "Name")', ''), ('processor.ColumnExists("TestSchema", "TestTable2", "Name\'3").ShouldBeTrue()', ''), ('processor.ColumnExists("TestSchema", "TestTable2", "Name\'3")', ''), ('runner.Down(new TestRenameColumnMigrationWithSchema())', ''), ('processor.ColumnExists("TestSchema", "TestTable2", "Name\'3").ShouldBeFalse()', ''), ('processor.ColumnExists("TestSchema", "TestTable2", "Name\'3")', ''), ('processor.ColumnExists("TestSchema", "TestTable2", "Name").ShouldBeTrue()', ''), ('processor.ColumnExists("TestSchema", "TestTable2", "Name")', ''), ('runner.Down(new TestCreateAndDropTableMigrationWithSchema())', ''), ('processor.ColumnExists("TestSchema", "TestTable2", "Name").ShouldBeFalse()', ''), ('processor.ColumnExists("TestSchema", "TestTable2", "Name")', ''), ('runner.Down(new TestCreateSchema())', '')]
fluentmigrator
fluentmigrator
F:\Projects\TestMap\Temp\fluentmigrator\FluentMigrator.sln
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\FluentMigrator.Tests.csproj
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\Integration\MigrationRunnerTests.cs
FluentMigrator.Tests.Integration
MigrationRunnerTests
['private const string RootNamespace = "FluentMigrator.Tests.Integration.Migrations";']
['System', 'System.Data', 'System.IO', 'System.Linq', 'System.Text', 'System.Text.RegularExpressions', 'FluentMigrator.Expressions', 'FluentMigrator.Runner', 'FluentMigrator.Runner.Exceptions', 'FluentMigrator.Runner.Initialization', 'FluentMigrator.Runner.Logging', 'FluentMigrator.Runner.Processors', 'FluentMigrator.Runner.Processors.Firebird', 'FluentMigrator.Runner.Processors.MySql', 'FluentMigrator.Runner.Processors.Oracle', 'FluentMigrator.Runner.Processors.Postgres', 'FluentMigrator.Runner.Processors.Redshift', 'FluentMigrator.Runner.Processors.Snowflake', 'FluentMigrator.Runner.Processors.SQLite', 'FluentMigrator.Runner.Processors.SqlServer', 'FluentMigrator.Runner.VersionTableInfo', 'FluentMigrator.Tests.Integration.Migrations.Tagged', 'FluentMigrator.Tests.Unit', 'Microsoft.Extensions.DependencyInjection', 'Microsoft.Extensions.Logging', 'Moq', 'NUnit.Framework', 'Shouldly']
NUnit
net48
[('[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("SQLite")]\n [Category("Postgres")]\n [Category("Snowflake")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanLoadMigrations()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, _) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n //runner.Processor.CommitTransaction();\n\n runner.MigrationLoader.LoadMigrations().ShouldNotBeNull();\n });\n }', '[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("SQLite")]\n [Category("Postgres")]\n [Category("Snowflake")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanLoadMigrations()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, _) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n //runner.Processor.CommitTransaction();\n\n runner.MigrationLoader.LoadMigrations().ShouldNotBeNull();\n });\n }')]
21,528
22,370
[('ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, _) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n\n //runner.Processor.CommitTransaction();\n\n runner.MigrationLoader.LoadMigrations().ShouldNotBeNull();\n })', ''), ('services.WithMigrationsIn(RootNamespace)', ''), ('serviceProvider.GetRequiredService<IMigrationRunner>()', ''), ('runner.MigrationLoader.LoadMigrations().ShouldNotBeNull()', ''), ('runner.MigrationLoader.LoadMigrations()', '')]
fluentmigrator
fluentmigrator
F:\Projects\TestMap\Temp\fluentmigrator\FluentMigrator.sln
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\FluentMigrator.Tests.csproj
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\Integration\MigrationRunnerTests.cs
FluentMigrator.Tests.Integration
MigrationRunnerTests
['private const string RootNamespace = "FluentMigrator.Tests.Integration.Migrations";']
['System', 'System.Data', 'System.IO', 'System.Linq', 'System.Text', 'System.Text.RegularExpressions', 'FluentMigrator.Expressions', 'FluentMigrator.Runner', 'FluentMigrator.Runner.Exceptions', 'FluentMigrator.Runner.Initialization', 'FluentMigrator.Runner.Logging', 'FluentMigrator.Runner.Processors', 'FluentMigrator.Runner.Processors.Firebird', 'FluentMigrator.Runner.Processors.MySql', 'FluentMigrator.Runner.Processors.Oracle', 'FluentMigrator.Runner.Processors.Postgres', 'FluentMigrator.Runner.Processors.Redshift', 'FluentMigrator.Runner.Processors.Snowflake', 'FluentMigrator.Runner.Processors.SQLite', 'FluentMigrator.Runner.Processors.SqlServer', 'FluentMigrator.Runner.VersionTableInfo', 'FluentMigrator.Tests.Integration.Migrations.Tagged', 'FluentMigrator.Tests.Unit', 'Microsoft.Extensions.DependencyInjection', 'Microsoft.Extensions.Logging', 'Moq', 'NUnit.Framework', 'Shouldly']
NUnit
net48
[('[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("SQLite")]\n [Category("Postgres")]\n [Category("Snowflake")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanLoadVersion()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, _) =>\n {\n var runner = (MigrationRunner) serviceProvider.GetRequiredService<IMigrationRunner>();\n\n //runner.Processor.CommitTransaction();\n runner.VersionLoader.VersionInfo.ShouldNotBeNull();\n },\n true,\n Array.Empty<Type>());\n }', '[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("SQLite")]\n [Category("Postgres")]\n [Category("Snowflake")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanLoadVersion()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, _) =>\n {\n var runner = (MigrationRunner) serviceProvider.GetRequiredService<IMigrationRunner>();\n\n //runner.Processor.CommitTransaction();\n runner.VersionLoader.VersionInfo.ShouldNotBeNull();\n },\n true,\n Array.Empty<Type>());\n }')]
22,382
23,291
[('ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, _) =>\n {\n var runner = (MigrationRunner) serviceProvider.GetRequiredService<IMigrationRunner>();\n\n //runner.Processor.CommitTransaction();\n runner.VersionLoader.VersionInfo.ShouldNotBeNull();\n },\n true,\n Array.Empty<Type>())', ''), ('services.WithMigrationsIn(RootNamespace)', ''), ('serviceProvider.GetRequiredService<IMigrationRunner>()', ''), ('runner.VersionLoader.VersionInfo.ShouldNotBeNull()', ''), ('Array.Empty<Type>()', '')]
fluentmigrator
fluentmigrator
F:\Projects\TestMap\Temp\fluentmigrator\FluentMigrator.sln
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\FluentMigrator.Tests.csproj
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\Integration\MigrationRunnerTests.cs
FluentMigrator.Tests.Integration
MigrationRunnerTests
['private const string RootNamespace = "FluentMigrator.Tests.Integration.Migrations";']
['System', 'System.Data', 'System.IO', 'System.Linq', 'System.Text', 'System.Text.RegularExpressions', 'FluentMigrator.Expressions', 'FluentMigrator.Runner', 'FluentMigrator.Runner.Exceptions', 'FluentMigrator.Runner.Initialization', 'FluentMigrator.Runner.Logging', 'FluentMigrator.Runner.Processors', 'FluentMigrator.Runner.Processors.Firebird', 'FluentMigrator.Runner.Processors.MySql', 'FluentMigrator.Runner.Processors.Oracle', 'FluentMigrator.Runner.Processors.Postgres', 'FluentMigrator.Runner.Processors.Redshift', 'FluentMigrator.Runner.Processors.Snowflake', 'FluentMigrator.Runner.Processors.SQLite', 'FluentMigrator.Runner.Processors.SqlServer', 'FluentMigrator.Runner.VersionTableInfo', 'FluentMigrator.Tests.Integration.Migrations.Tagged', 'FluentMigrator.Tests.Unit', 'Microsoft.Extensions.DependencyInjection', 'Microsoft.Extensions.Logging', 'Moq', 'NUnit.Framework', 'Shouldly']
NUnit
net48
[('[Test]\n [Category("Snowflake")]\n [Category("SqlServer2016")]\n public void CanLoadVersionCustomTable()\n {\n ExecuteWithSupportedProcessors(\n services => services.ConfigureRunner(rb => rb.WithVersionTable(new TestVersionTableMetaData())).WithMigrationsIn(RootNamespace),\n (serviceProvider, _) =>\n {\n var runner = (MigrationRunner)serviceProvider.GetRequiredService<IMigrationRunner>();\n\n //runner.Processor.CommitTransaction();\n runner.VersionLoader.VersionInfo.ShouldNotBeNull();\n },\n true,\n typeof(FirebirdProcessor),\n typeof(MySqlProcessor),\n typeof(MySql4Processor),\n typeof(MySql5Processor),\n typeof(OracleProcessor),\n typeof(RedshiftProcessor),\n typeof(SQLiteProcessor),\n typeof(SqlServer2000Processor),\n typeof(SqlServer2005Processor),\n typeof(SqlServer2008Processor),\n typeof(SqlServer2014Processor),\n typeof(SqlServer2012Processor));\n }', '[Test]\n [Category("Snowflake")]\n [Category("SqlServer2016")]\n public void CanLoadVersionCustomTable()\n {\n ExecuteWithSupportedProcessors(\n services => services.ConfigureRunner(rb => rb.WithVersionTable(new TestVersionTableMetaData())).WithMigrationsIn(RootNamespace),\n (serviceProvider, _) =>\n {\n var runner = (MigrationRunner)serviceProvider.GetRequiredService<IMigrationRunner>();\n\n //runner.Processor.CommitTransaction();\n runner.VersionLoader.VersionInfo.ShouldNotBeNull();\n },\n true,\n typeof(FirebirdProcessor),\n typeof(MySqlProcessor),\n typeof(MySql4Processor),\n typeof(MySql5Processor),\n typeof(OracleProcessor),\n typeof(RedshiftProcessor),\n typeof(SQLiteProcessor),\n typeof(SqlServer2000Processor),\n typeof(SqlServer2005Processor),\n typeof(SqlServer2008Processor),\n typeof(SqlServer2014Processor),\n typeof(SqlServer2012Processor));\n }')]
23,303
24,530
[('ExecuteWithSupportedProcessors(\n services => services.ConfigureRunner(rb => rb.WithVersionTable(new TestVersionTableMetaData())).WithMigrationsIn(RootNamespace),\n (serviceProvider, _) =>\n {\n var runner = (MigrationRunner)serviceProvider.GetRequiredService<IMigrationRunner>();\n\n //runner.Processor.CommitTransaction();\n runner.VersionLoader.VersionInfo.ShouldNotBeNull();\n },\n true,\n typeof(FirebirdProcessor),\n typeof(MySqlProcessor),\n typeof(MySql4Processor),\n typeof(MySql5Processor),\n typeof(OracleProcessor),\n typeof(RedshiftProcessor),\n typeof(SQLiteProcessor),\n typeof(SqlServer2000Processor),\n typeof(SqlServer2005Processor),\n typeof(SqlServer2008Processor),\n typeof(SqlServer2014Processor),\n typeof(SqlServer2012Processor))', ''), ('services.ConfigureRunner(rb => rb.WithVersionTable(new TestVersionTableMetaData())).WithMigrationsIn(RootNamespace)', ''), ('services.ConfigureRunner(rb => rb.WithVersionTable(new TestVersionTableMetaData()))', ''), ('rb.WithVersionTable(new TestVersionTableMetaData())', ''), ('serviceProvider.GetRequiredService<IMigrationRunner>()', ''), ('runner.VersionLoader.VersionInfo.ShouldNotBeNull()', '')]
fluentmigrator
fluentmigrator
F:\Projects\TestMap\Temp\fluentmigrator\FluentMigrator.sln
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\FluentMigrator.Tests.csproj
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\Integration\MigrationRunnerTests.cs
FluentMigrator.Tests.Integration
MigrationRunnerTests
['private const string RootNamespace = "FluentMigrator.Tests.Integration.Migrations";']
['System', 'System.Data', 'System.IO', 'System.Linq', 'System.Text', 'System.Text.RegularExpressions', 'FluentMigrator.Expressions', 'FluentMigrator.Runner', 'FluentMigrator.Runner.Exceptions', 'FluentMigrator.Runner.Initialization', 'FluentMigrator.Runner.Logging', 'FluentMigrator.Runner.Processors', 'FluentMigrator.Runner.Processors.Firebird', 'FluentMigrator.Runner.Processors.MySql', 'FluentMigrator.Runner.Processors.Oracle', 'FluentMigrator.Runner.Processors.Postgres', 'FluentMigrator.Runner.Processors.Redshift', 'FluentMigrator.Runner.Processors.Snowflake', 'FluentMigrator.Runner.Processors.SQLite', 'FluentMigrator.Runner.Processors.SqlServer', 'FluentMigrator.Runner.VersionTableInfo', 'FluentMigrator.Tests.Integration.Migrations.Tagged', 'FluentMigrator.Tests.Unit', 'Microsoft.Extensions.DependencyInjection', 'Microsoft.Extensions.Logging', 'Moq', 'NUnit.Framework', 'Shouldly']
NUnit
net48
[('[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("SQLite")]\n [Category("Postgres")]\n [Category("Snowflake")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanRunMigrations()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, _) =>\n {\n var runner = (MigrationRunner) serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.MigrateUp(false);\n\n runner.VersionLoader.VersionInfo.HasAppliedMigration(1).ShouldBeTrue();\n runner.VersionLoader.VersionInfo.HasAppliedMigration(2).ShouldBeTrue();\n runner.VersionLoader.VersionInfo.HasAppliedMigration(3).ShouldBeTrue();\n runner.VersionLoader.VersionInfo.HasAppliedMigration(4).ShouldBeTrue();\n runner.VersionLoader.VersionInfo.HasAppliedMigration(5).ShouldBeTrue();\n runner.VersionLoader.VersionInfo.HasAppliedMigration(6).ShouldBeTrue();\n runner.VersionLoader.VersionInfo.Latest().ShouldBe(6);\n\n runner.RollbackToVersion(0, false);\n },\n true,\n Array.Empty<Type>());\n }', '[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("SQLite")]\n [Category("Postgres")]\n [Category("Snowflake")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanRunMigrations()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, _) =>\n {\n var runner = (MigrationRunner) serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.MigrateUp(false);\n\n runner.VersionLoader.VersionInfo.HasAppliedMigration(1).ShouldBeTrue();\n runner.VersionLoader.VersionInfo.HasAppliedMigration(2).ShouldBeTrue();\n runner.VersionLoader.VersionInfo.HasAppliedMigration(3).ShouldBeTrue();\n runner.VersionLoader.VersionInfo.HasAppliedMigration(4).ShouldBeTrue();\n runner.VersionLoader.VersionInfo.HasAppliedMigration(5).ShouldBeTrue();\n runner.VersionLoader.VersionInfo.HasAppliedMigration(6).ShouldBeTrue();\n runner.VersionLoader.VersionInfo.Latest().ShouldBe(6);\n\n runner.RollbackToVersion(0, false);\n },\n true,\n Array.Empty<Type>());\n }')]
24,542
26,060
[('ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, _) =>\n {\n var runner = (MigrationRunner) serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.MigrateUp(false);\n\n runner.VersionLoader.VersionInfo.HasAppliedMigration(1).ShouldBeTrue();\n runner.VersionLoader.VersionInfo.HasAppliedMigration(2).ShouldBeTrue();\n runner.VersionLoader.VersionInfo.HasAppliedMigration(3).ShouldBeTrue();\n runner.VersionLoader.VersionInfo.HasAppliedMigration(4).ShouldBeTrue();\n runner.VersionLoader.VersionInfo.HasAppliedMigration(5).ShouldBeTrue();\n runner.VersionLoader.VersionInfo.HasAppliedMigration(6).ShouldBeTrue();\n runner.VersionLoader.VersionInfo.Latest().ShouldBe(6);\n\n runner.RollbackToVersion(0, false);\n },\n true,\n Array.Empty<Type>())', ''), ('services.WithMigrationsIn(RootNamespace)', ''), ('serviceProvider.GetRequiredService<IMigrationRunner>()', ''), ('runner.MigrateUp(false)', ''), ('runner.VersionLoader.VersionInfo.HasAppliedMigration(1).ShouldBeTrue()', ''), ('runner.VersionLoader.VersionInfo.HasAppliedMigration(1)', ''), ('runner.VersionLoader.VersionInfo.HasAppliedMigration(2).ShouldBeTrue()', ''), ('runner.VersionLoader.VersionInfo.HasAppliedMigration(2)', ''), ('runner.VersionLoader.VersionInfo.HasAppliedMigration(3).ShouldBeTrue()', ''), ('runner.VersionLoader.VersionInfo.HasAppliedMigration(3)', ''), ('runner.VersionLoader.VersionInfo.HasAppliedMigration(4).ShouldBeTrue()', ''), ('runner.VersionLoader.VersionInfo.HasAppliedMigration(4)', ''), ('runner.VersionLoader.VersionInfo.HasAppliedMigration(5).ShouldBeTrue()', ''), ('runner.VersionLoader.VersionInfo.HasAppliedMigration(5)', ''), ('runner.VersionLoader.VersionInfo.HasAppliedMigration(6).ShouldBeTrue()', ''), ('runner.VersionLoader.VersionInfo.HasAppliedMigration(6)', ''), ('runner.VersionLoader.VersionInfo.Latest().ShouldBe(6)', ''), ('runner.VersionLoader.VersionInfo.Latest()', ''), ('runner.RollbackToVersion(0, false)', ''), ('Array.Empty<Type>()', '')]
fluentmigrator
fluentmigrator
F:\Projects\TestMap\Temp\fluentmigrator\FluentMigrator.sln
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\FluentMigrator.Tests.csproj
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\Integration\MigrationRunnerTests.cs
FluentMigrator.Tests.Integration
MigrationRunnerTests
['private const string RootNamespace = "FluentMigrator.Tests.Integration.Migrations";']
['System', 'System.Data', 'System.IO', 'System.Linq', 'System.Text', 'System.Text.RegularExpressions', 'FluentMigrator.Expressions', 'FluentMigrator.Runner', 'FluentMigrator.Runner.Exceptions', 'FluentMigrator.Runner.Initialization', 'FluentMigrator.Runner.Logging', 'FluentMigrator.Runner.Processors', 'FluentMigrator.Runner.Processors.Firebird', 'FluentMigrator.Runner.Processors.MySql', 'FluentMigrator.Runner.Processors.Oracle', 'FluentMigrator.Runner.Processors.Postgres', 'FluentMigrator.Runner.Processors.Redshift', 'FluentMigrator.Runner.Processors.Snowflake', 'FluentMigrator.Runner.Processors.SQLite', 'FluentMigrator.Runner.Processors.SqlServer', 'FluentMigrator.Runner.VersionTableInfo', 'FluentMigrator.Tests.Integration.Migrations.Tagged', 'FluentMigrator.Tests.Unit', 'Microsoft.Extensions.DependencyInjection', 'Microsoft.Extensions.Logging', 'Moq', 'NUnit.Framework', 'Shouldly']
NUnit
net48
[('[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("SQLite")]\n [Category("Postgres")]\n [Category("Snowflake")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanMigrateASpecificVersion()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = (MigrationRunner) serviceProvider.GetRequiredService<IMigrationRunner>();\n try\n {\n RemoveMigration1(processor);\n\n runner.MigrateUp(1, false);\n\n runner.VersionLoader.VersionInfo.HasAppliedMigration(1).ShouldBeTrue();\n processor.TableExists(null, "Users").ShouldBeTrue();\n }\n catch (Exception ex) when (LogException(ex))\n {\n }\n finally\n {\n runner.RollbackToVersion(0, false);\n }\n },\n true,\n Array.Empty<Type>());\n }', '[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("SQLite")]\n [Category("Postgres")]\n [Category("Snowflake")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanMigrateASpecificVersion()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = (MigrationRunner) serviceProvider.GetRequiredService<IMigrationRunner>();\n try\n {\n RemoveMigration1(processor);\n\n runner.MigrateUp(1, false);\n\n runner.VersionLoader.VersionInfo.HasAppliedMigration(1).ShouldBeTrue();\n processor.TableExists(null, "Users").ShouldBeTrue();\n }\n catch (Exception ex) when (LogException(ex))\n {\n }\n finally\n {\n runner.RollbackToVersion(0, false);\n }\n },\n true,\n Array.Empty<Type>());\n }')]
26,072
27,470
[('ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = (MigrationRunner) serviceProvider.GetRequiredService<IMigrationRunner>();\n try\n {\n RemoveMigration1(processor);\n\n runner.MigrateUp(1, false);\n\n runner.VersionLoader.VersionInfo.HasAppliedMigration(1).ShouldBeTrue();\n processor.TableExists(null, "Users").ShouldBeTrue();\n }\n catch (Exception ex) when (LogException(ex))\n {\n }\n finally\n {\n runner.RollbackToVersion(0, false);\n }\n },\n true,\n Array.Empty<Type>())', ''), ('services.WithMigrationsIn(RootNamespace)', ''), ('serviceProvider.GetRequiredService<IMigrationRunner>()', ''), ('RemoveMigration1(processor)', ''), ('runner.MigrateUp(1, false)', ''), ('runner.VersionLoader.VersionInfo.HasAppliedMigration(1).ShouldBeTrue()', ''), ('runner.VersionLoader.VersionInfo.HasAppliedMigration(1)', ''), ('processor.TableExists(null, "Users").ShouldBeTrue()', ''), ('processor.TableExists(null, "Users")', ''), ('LogException(ex)', ' protected static bool LogException(Exception exception)\n {\n TestContext.WriteLine(exception);\n return false;\n }'), ('runner.RollbackToVersion(0, false)', ''), ('Array.Empty<Type>()', '')]
fluentmigrator
fluentmigrator
F:\Projects\TestMap\Temp\fluentmigrator\FluentMigrator.sln
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\FluentMigrator.Tests.csproj
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\Integration\MigrationRunnerTests.cs
FluentMigrator.Tests.Integration
MigrationRunnerTests
['private const string RootNamespace = "FluentMigrator.Tests.Integration.Migrations";']
['System', 'System.Data', 'System.IO', 'System.Linq', 'System.Text', 'System.Text.RegularExpressions', 'FluentMigrator.Expressions', 'FluentMigrator.Runner', 'FluentMigrator.Runner.Exceptions', 'FluentMigrator.Runner.Initialization', 'FluentMigrator.Runner.Logging', 'FluentMigrator.Runner.Processors', 'FluentMigrator.Runner.Processors.Firebird', 'FluentMigrator.Runner.Processors.MySql', 'FluentMigrator.Runner.Processors.Oracle', 'FluentMigrator.Runner.Processors.Postgres', 'FluentMigrator.Runner.Processors.Redshift', 'FluentMigrator.Runner.Processors.Snowflake', 'FluentMigrator.Runner.Processors.SQLite', 'FluentMigrator.Runner.Processors.SqlServer', 'FluentMigrator.Runner.VersionTableInfo', 'FluentMigrator.Tests.Integration.Migrations.Tagged', 'FluentMigrator.Tests.Unit', 'Microsoft.Extensions.DependencyInjection', 'Microsoft.Extensions.Logging', 'Moq', 'NUnit.Framework', 'Shouldly']
NUnit
net48
[('[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("Postgres")]\n [Category("Snowflake")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanMigrateASpecificVersionDown()\n {\n var excludedProcessors = new[]\n {\n typeof(SQLiteProcessor),\n };\n\n try\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n using (var scope = serviceProvider.CreateScope())\n {\n var runner = (MigrationRunner) scope.ServiceProvider.GetRequiredService<IMigrationRunner>();\n runner.MigrateUp(1, false);\n runner.VersionLoader.VersionInfo.HasAppliedMigration(1).ShouldBeTrue();\n }\n\n processor.TableExists(null, "Users").ShouldBeTrue();\n\n using (var scope = serviceProvider.CreateScope())\n {\n var runner = (MigrationRunner) scope.ServiceProvider.GetRequiredService<IMigrationRunner>();\n runner.MigrateDown(0, false);\n runner.VersionLoader.VersionInfo.HasAppliedMigration(1).ShouldBeFalse();\n }\n\n processor.TableExists(null, "Users").ShouldBeFalse();\n },\n false,\n excludedProcessors);\n }\n finally\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, _) =>\n {\n var runner = (MigrationRunner) serviceProvider.GetRequiredService<IMigrationRunner>();\n runner.RollbackToVersion(0, false);\n },\n false,\n excludedProcessors);\n }\n }', '[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("Postgres")]\n [Category("Snowflake")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void CanMigrateASpecificVersionDown()\n {\n var excludedProcessors = new[]\n {\n typeof(SQLiteProcessor),\n };\n\n try\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n using (var scope = serviceProvider.CreateScope())\n {\n var runner = (MigrationRunner) scope.ServiceProvider.GetRequiredService<IMigrationRunner>();\n runner.MigrateUp(1, false);\n runner.VersionLoader.VersionInfo.HasAppliedMigration(1).ShouldBeTrue();\n }\n\n processor.TableExists(null, "Users").ShouldBeTrue();\n\n using (var scope = serviceProvider.CreateScope())\n {\n var runner = (MigrationRunner) scope.ServiceProvider.GetRequiredService<IMigrationRunner>();\n runner.MigrateDown(0, false);\n runner.VersionLoader.VersionInfo.HasAppliedMigration(1).ShouldBeFalse();\n }\n\n processor.TableExists(null, "Users").ShouldBeFalse();\n },\n false,\n excludedProcessors);\n }\n finally\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, _) =>\n {\n var runner = (MigrationRunner) serviceProvider.GetRequiredService<IMigrationRunner>();\n runner.RollbackToVersion(0, false);\n },\n false,\n excludedProcessors);\n }\n }')]
27,482
29,829
[('ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n using (var scope = serviceProvider.CreateScope())\n {\n var runner = (MigrationRunner) scope.ServiceProvider.GetRequiredService<IMigrationRunner>();\n runner.MigrateUp(1, false);\n runner.VersionLoader.VersionInfo.HasAppliedMigration(1).ShouldBeTrue();\n }\n\n processor.TableExists(null, "Users").ShouldBeTrue();\n\n using (var scope = serviceProvider.CreateScope())\n {\n var runner = (MigrationRunner) scope.ServiceProvider.GetRequiredService<IMigrationRunner>();\n runner.MigrateDown(0, false);\n runner.VersionLoader.VersionInfo.HasAppliedMigration(1).ShouldBeFalse();\n }\n\n processor.TableExists(null, "Users").ShouldBeFalse();\n },\n false,\n excludedProcessors)', ''), ('services.WithMigrationsIn(RootNamespace)', ''), ('serviceProvider.CreateScope()', ''), ('scope.ServiceProvider.GetRequiredService<IMigrationRunner>()', ''), ('runner.MigrateUp(1, false)', ''), ('runner.VersionLoader.VersionInfo.HasAppliedMigration(1).ShouldBeTrue()', ''), ('runner.VersionLoader.VersionInfo.HasAppliedMigration(1)', ''), ('processor.TableExists(null, "Users").ShouldBeTrue()', ''), ('processor.TableExists(null, "Users")', ''), ('serviceProvider.CreateScope()', ''), ('scope.ServiceProvider.GetRequiredService<IMigrationRunner>()', ''), ('runner.MigrateDown(0, false)', ''), ('runner.VersionLoader.VersionInfo.HasAppliedMigration(1).ShouldBeFalse()', ''), ('runner.VersionLoader.VersionInfo.HasAppliedMigration(1)', ''), ('processor.TableExists(null, "Users").ShouldBeFalse()', ''), ('processor.TableExists(null, "Users")', ''), ('ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, _) =>\n {\n var runner = (MigrationRunner) serviceProvider.GetRequiredService<IMigrationRunner>();\n runner.RollbackToVersion(0, false);\n },\n false,\n excludedProcessors)', ''), ('services.WithMigrationsIn(RootNamespace)', ''), ('serviceProvider.GetRequiredService<IMigrationRunner>()', ''), ('runner.RollbackToVersion(0, false)', '')]
fluentmigrator
fluentmigrator
F:\Projects\TestMap\Temp\fluentmigrator\FluentMigrator.sln
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\FluentMigrator.Tests.csproj
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\Integration\MigrationRunnerTests.cs
FluentMigrator.Tests.Integration
MigrationRunnerTests
['private const string RootNamespace = "FluentMigrator.Tests.Integration.Migrations";']
['System', 'System.Data', 'System.IO', 'System.Linq', 'System.Text', 'System.Text.RegularExpressions', 'FluentMigrator.Expressions', 'FluentMigrator.Runner', 'FluentMigrator.Runner.Exceptions', 'FluentMigrator.Runner.Initialization', 'FluentMigrator.Runner.Logging', 'FluentMigrator.Runner.Processors', 'FluentMigrator.Runner.Processors.Firebird', 'FluentMigrator.Runner.Processors.MySql', 'FluentMigrator.Runner.Processors.Oracle', 'FluentMigrator.Runner.Processors.Postgres', 'FluentMigrator.Runner.Processors.Redshift', 'FluentMigrator.Runner.Processors.Snowflake', 'FluentMigrator.Runner.Processors.SQLite', 'FluentMigrator.Runner.Processors.SqlServer', 'FluentMigrator.Runner.VersionTableInfo', 'FluentMigrator.Tests.Integration.Migrations.Tagged', 'FluentMigrator.Tests.Unit', 'Microsoft.Extensions.DependencyInjection', 'Microsoft.Extensions.Logging', 'Moq', 'NUnit.Framework', 'Shouldly']
NUnit
net48
[('[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("SQLite")]\n [Category("Postgres")]\n [Category("Snowflake")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void RollbackAllShouldRemoveVersionInfoTable()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = (MigrationRunner) serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.MigrateUp(2);\n\n processor.TableExists(\n runner.VersionLoader.VersionTableMetaData.SchemaName,\n runner.VersionLoader.VersionTableMetaData.TableName).ShouldBeTrue();\n\n runner.RollbackToVersion(0);\n\n processor.TableExists(\n runner.VersionLoader.VersionTableMetaData.SchemaName,\n runner.VersionLoader.VersionTableMetaData.TableName).ShouldBeFalse();\n },\n true,\n Array.Empty<Type>());\n }', '[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("SQLite")]\n [Category("Postgres")]\n [Category("Snowflake")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void RollbackAllShouldRemoveVersionInfoTable()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = (MigrationRunner) serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.MigrateUp(2);\n\n processor.TableExists(\n runner.VersionLoader.VersionTableMetaData.SchemaName,\n runner.VersionLoader.VersionTableMetaData.TableName).ShouldBeTrue();\n\n runner.RollbackToVersion(0);\n\n processor.TableExists(\n runner.VersionLoader.VersionTableMetaData.SchemaName,\n runner.VersionLoader.VersionTableMetaData.TableName).ShouldBeFalse();\n },\n true,\n Array.Empty<Type>());\n }')]
29,841
31,182
[('ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = (MigrationRunner) serviceProvider.GetRequiredService<IMigrationRunner>();\n\n runner.MigrateUp(2);\n\n processor.TableExists(\n runner.VersionLoader.VersionTableMetaData.SchemaName,\n runner.VersionLoader.VersionTableMetaData.TableName).ShouldBeTrue();\n\n runner.RollbackToVersion(0);\n\n processor.TableExists(\n runner.VersionLoader.VersionTableMetaData.SchemaName,\n runner.VersionLoader.VersionTableMetaData.TableName).ShouldBeFalse();\n },\n true,\n Array.Empty<Type>())', ''), ('services.WithMigrationsIn(RootNamespace)', ''), ('serviceProvider.GetRequiredService<IMigrationRunner>()', ''), ('runner.MigrateUp(2)', ''), ('processor.TableExists(\n runner.VersionLoader.VersionTableMetaData.SchemaName,\n runner.VersionLoader.VersionTableMetaData.TableName).ShouldBeTrue()', ''), ('processor.TableExists(\n runner.VersionLoader.VersionTableMetaData.SchemaName,\n runner.VersionLoader.VersionTableMetaData.TableName)', ''), ('runner.RollbackToVersion(0)', ''), ('processor.TableExists(\n runner.VersionLoader.VersionTableMetaData.SchemaName,\n runner.VersionLoader.VersionTableMetaData.TableName).ShouldBeFalse()', ''), ('processor.TableExists(\n runner.VersionLoader.VersionTableMetaData.SchemaName,\n runner.VersionLoader.VersionTableMetaData.TableName)', ''), ('Array.Empty<Type>()', '')]
fluentmigrator
fluentmigrator
F:\Projects\TestMap\Temp\fluentmigrator\FluentMigrator.sln
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\FluentMigrator.Tests.csproj
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\Integration\MigrationRunnerTests.cs
FluentMigrator.Tests.Integration
MigrationRunnerTests
['private const string RootNamespace = "FluentMigrator.Tests.Integration.Migrations";']
['System', 'System.Data', 'System.IO', 'System.Linq', 'System.Text', 'System.Text.RegularExpressions', 'FluentMigrator.Expressions', 'FluentMigrator.Runner', 'FluentMigrator.Runner.Exceptions', 'FluentMigrator.Runner.Initialization', 'FluentMigrator.Runner.Logging', 'FluentMigrator.Runner.Processors', 'FluentMigrator.Runner.Processors.Firebird', 'FluentMigrator.Runner.Processors.MySql', 'FluentMigrator.Runner.Processors.Oracle', 'FluentMigrator.Runner.Processors.Postgres', 'FluentMigrator.Runner.Processors.Redshift', 'FluentMigrator.Runner.Processors.Snowflake', 'FluentMigrator.Runner.Processors.SQLite', 'FluentMigrator.Runner.Processors.SqlServer', 'FluentMigrator.Runner.VersionTableInfo', 'FluentMigrator.Tests.Integration.Migrations.Tagged', 'FluentMigrator.Tests.Unit', 'Microsoft.Extensions.DependencyInjection', 'Microsoft.Extensions.Logging', 'Moq', 'NUnit.Framework', 'Shouldly']
NUnit
net48
[('[Test]\n [Category("SqlServer2008")]\n public void MigrateUpWithSqlServerProcessorShouldCommitItsTransaction()\n {\n if (!IntegrationTestOptions.SqlServer2008.IsEnabled)\n {\n return;\n }\n\n ExecuteWithProcessor<SqlServer2008Processor>(\n init => init.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n runner.MigrateUp();\n\n try\n {\n processor.WasCommitted.ShouldBeTrue();\n }\n finally\n {\n CleanupTestSqlServerDatabase(serviceProvider, processor);\n }\n },\n false,\n IntegrationTestOptions.SqlServer2008);\n }', '[Test]\n [Category("SqlServer2008")]\n public void MigrateUpWithSqlServerProcessorShouldCommitItsTransaction()\n {\n if (!IntegrationTestOptions.SqlServer2008.IsEnabled)\n {\n return;\n }\n\n ExecuteWithProcessor<SqlServer2008Processor>(\n init => init.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n runner.MigrateUp();\n\n try\n {\n processor.WasCommitted.ShouldBeTrue();\n }\n finally\n {\n CleanupTestSqlServerDatabase(serviceProvider, processor);\n }\n },\n false,\n IntegrationTestOptions.SqlServer2008);\n }')]
31,194
32,179
[('ExecuteWithProcessor<SqlServer2008Processor>(\n init => init.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n runner.MigrateUp();\n\n try\n {\n processor.WasCommitted.ShouldBeTrue();\n }\n finally\n {\n CleanupTestSqlServerDatabase(serviceProvider, processor);\n }\n },\n false,\n IntegrationTestOptions.SqlServer2008)', ''), ('init.WithMigrationsIn(RootNamespace)', ''), ('serviceProvider.GetRequiredService<IMigrationRunner>()', ''), ('runner.MigrateUp()', ''), ('processor.WasCommitted.ShouldBeTrue()', ''), ('CleanupTestSqlServerDatabase(serviceProvider, processor)', '')]
fluentmigrator
fluentmigrator
F:\Projects\TestMap\Temp\fluentmigrator\FluentMigrator.sln
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\FluentMigrator.Tests.csproj
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\Integration\MigrationRunnerTests.cs
FluentMigrator.Tests.Integration
MigrationRunnerTests
['private const string RootNamespace = "FluentMigrator.Tests.Integration.Migrations";']
['System', 'System.Data', 'System.IO', 'System.Linq', 'System.Text', 'System.Text.RegularExpressions', 'FluentMigrator.Expressions', 'FluentMigrator.Runner', 'FluentMigrator.Runner.Exceptions', 'FluentMigrator.Runner.Initialization', 'FluentMigrator.Runner.Logging', 'FluentMigrator.Runner.Processors', 'FluentMigrator.Runner.Processors.Firebird', 'FluentMigrator.Runner.Processors.MySql', 'FluentMigrator.Runner.Processors.Oracle', 'FluentMigrator.Runner.Processors.Postgres', 'FluentMigrator.Runner.Processors.Redshift', 'FluentMigrator.Runner.Processors.Snowflake', 'FluentMigrator.Runner.Processors.SQLite', 'FluentMigrator.Runner.Processors.SqlServer', 'FluentMigrator.Runner.VersionTableInfo', 'FluentMigrator.Tests.Integration.Migrations.Tagged', 'FluentMigrator.Tests.Unit', 'Microsoft.Extensions.DependencyInjection', 'Microsoft.Extensions.Logging', 'Moq', 'NUnit.Framework', 'Shouldly']
NUnit
net48
[('[Test]\n [Category("SqlServer2008")]\n public void MigrateUpSpecificVersionWithSqlServerProcessorShouldCommitItsTransaction()\n {\n if (!IntegrationTestOptions.SqlServer2008.IsEnabled)\n {\n return;\n }\n\n ExecuteWithProcessor<SqlServer2008Processor>(\n init => init.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n runner.MigrateUp(1);\n\n try\n {\n processor.WasCommitted.ShouldBeTrue();\n }\n finally\n {\n CleanupTestSqlServerDatabase(serviceProvider, processor);\n }\n },\n false,\n IntegrationTestOptions.SqlServer2008);\n }', '[Test]\n [Category("SqlServer2008")]\n public void MigrateUpSpecificVersionWithSqlServerProcessorShouldCommitItsTransaction()\n {\n if (!IntegrationTestOptions.SqlServer2008.IsEnabled)\n {\n return;\n }\n\n ExecuteWithProcessor<SqlServer2008Processor>(\n init => init.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n runner.MigrateUp(1);\n\n try\n {\n processor.WasCommitted.ShouldBeTrue();\n }\n finally\n {\n CleanupTestSqlServerDatabase(serviceProvider, processor);\n }\n },\n false,\n IntegrationTestOptions.SqlServer2008);\n }')]
32,191
33,192
[('ExecuteWithProcessor<SqlServer2008Processor>(\n init => init.WithMigrationsIn(RootNamespace),\n (serviceProvider, processor) =>\n {\n var runner = serviceProvider.GetRequiredService<IMigrationRunner>();\n runner.MigrateUp(1);\n\n try\n {\n processor.WasCommitted.ShouldBeTrue();\n }\n finally\n {\n CleanupTestSqlServerDatabase(serviceProvider, processor);\n }\n },\n false,\n IntegrationTestOptions.SqlServer2008)', ''), ('init.WithMigrationsIn(RootNamespace)', ''), ('serviceProvider.GetRequiredService<IMigrationRunner>()', ''), ('runner.MigrateUp(1)', ''), ('processor.WasCommitted.ShouldBeTrue()', ''), ('CleanupTestSqlServerDatabase(serviceProvider, processor)', '')]
fluentmigrator
fluentmigrator
F:\Projects\TestMap\Temp\fluentmigrator\FluentMigrator.sln
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\FluentMigrator.Tests.csproj
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\Integration\MigrationRunnerTests.cs
FluentMigrator.Tests.Integration
MigrationRunnerTests
['private const string RootNamespace = "FluentMigrator.Tests.Integration.Migrations";']
['System', 'System.Data', 'System.IO', 'System.Linq', 'System.Text', 'System.Text.RegularExpressions', 'FluentMigrator.Expressions', 'FluentMigrator.Runner', 'FluentMigrator.Runner.Exceptions', 'FluentMigrator.Runner.Initialization', 'FluentMigrator.Runner.Logging', 'FluentMigrator.Runner.Processors', 'FluentMigrator.Runner.Processors.Firebird', 'FluentMigrator.Runner.Processors.MySql', 'FluentMigrator.Runner.Processors.Oracle', 'FluentMigrator.Runner.Processors.Postgres', 'FluentMigrator.Runner.Processors.Redshift', 'FluentMigrator.Runner.Processors.Snowflake', 'FluentMigrator.Runner.Processors.SQLite', 'FluentMigrator.Runner.Processors.SqlServer', 'FluentMigrator.Runner.VersionTableInfo', 'FluentMigrator.Tests.Integration.Migrations.Tagged', 'FluentMigrator.Tests.Unit', 'Microsoft.Extensions.DependencyInjection', 'Microsoft.Extensions.Logging', 'Moq', 'NUnit.Framework', 'Shouldly']
NUnit
net48
[('[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("SQLite")]\n [Category("Postgres")]\n [Category("Snowflake")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void MigrateUpWithTaggedMigrationsShouldOnlyApplyMatchedMigrations()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(typeof(TenantATable).Namespace)\n .Configure<RunnerOptions>(opt => opt.Tags = new[] { "TenantA" }),\n (serviceProvider, processor) =>\n {\n var runner = (MigrationRunner) serviceProvider.GetRequiredService<IMigrationRunner>();\n\n try\n {\n runner.MigrateUp(false);\n\n processor.TableExists(null, "TenantATable").ShouldBeTrue();\n processor.TableExists(null, "NormalTable").ShouldBeTrue();\n processor.TableExists(null, "TenantBTable").ShouldBeFalse();\n processor.TableExists(null, "TenantAandBTable").ShouldBeTrue();\n }\n finally\n {\n runner.RollbackToVersion(0);\n }\n },\n true,\n Array.Empty<Type>());\n }', '[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("SQLite")]\n [Category("Postgres")]\n [Category("Snowflake")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void MigrateUpWithTaggedMigrationsShouldOnlyApplyMatchedMigrations()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(typeof(TenantATable).Namespace)\n .Configure<RunnerOptions>(opt => opt.Tags = new[] { "TenantA" }),\n (serviceProvider, processor) =>\n {\n var runner = (MigrationRunner) serviceProvider.GetRequiredService<IMigrationRunner>();\n\n try\n {\n runner.MigrateUp(false);\n\n processor.TableExists(null, "TenantATable").ShouldBeTrue();\n processor.TableExists(null, "NormalTable").ShouldBeTrue();\n processor.TableExists(null, "TenantBTable").ShouldBeFalse();\n processor.TableExists(null, "TenantAandBTable").ShouldBeTrue();\n }\n finally\n {\n runner.RollbackToVersion(0);\n }\n },\n true,\n Array.Empty<Type>());\n }')]
33,204
34,733
[('ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(typeof(TenantATable).Namespace)\n .Configure<RunnerOptions>(opt => opt.Tags = new[] { "TenantA" }),\n (serviceProvider, processor) =>\n {\n var runner = (MigrationRunner) serviceProvider.GetRequiredService<IMigrationRunner>();\n\n try\n {\n runner.MigrateUp(false);\n\n processor.TableExists(null, "TenantATable").ShouldBeTrue();\n processor.TableExists(null, "NormalTable").ShouldBeTrue();\n processor.TableExists(null, "TenantBTable").ShouldBeFalse();\n processor.TableExists(null, "TenantAandBTable").ShouldBeTrue();\n }\n finally\n {\n runner.RollbackToVersion(0);\n }\n },\n true,\n Array.Empty<Type>())', ''), ('services.WithMigrationsIn(typeof(TenantATable).Namespace)\n .Configure<RunnerOptions>(opt => opt.Tags = new[] { "TenantA" })', ''), ('services.WithMigrationsIn(typeof(TenantATable).Namespace)', ''), ('serviceProvider.GetRequiredService<IMigrationRunner>()', ''), ('runner.MigrateUp(false)', ''), ('processor.TableExists(null, "TenantATable").ShouldBeTrue()', ''), ('processor.TableExists(null, "TenantATable")', ''), ('processor.TableExists(null, "NormalTable").ShouldBeTrue()', ''), ('processor.TableExists(null, "NormalTable")', ''), ('processor.TableExists(null, "TenantBTable").ShouldBeFalse()', ''), ('processor.TableExists(null, "TenantBTable")', ''), ('processor.TableExists(null, "TenantAandBTable").ShouldBeTrue()', ''), ('processor.TableExists(null, "TenantAandBTable")', ''), ('runner.RollbackToVersion(0)', ''), ('Array.Empty<Type>()', '')]
fluentmigrator
fluentmigrator
F:\Projects\TestMap\Temp\fluentmigrator\FluentMigrator.sln
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\FluentMigrator.Tests.csproj
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\Integration\MigrationRunnerTests.cs
FluentMigrator.Tests.Integration
MigrationRunnerTests
['private const string RootNamespace = "FluentMigrator.Tests.Integration.Migrations";']
['System', 'System.Data', 'System.IO', 'System.Linq', 'System.Text', 'System.Text.RegularExpressions', 'FluentMigrator.Expressions', 'FluentMigrator.Runner', 'FluentMigrator.Runner.Exceptions', 'FluentMigrator.Runner.Initialization', 'FluentMigrator.Runner.Logging', 'FluentMigrator.Runner.Processors', 'FluentMigrator.Runner.Processors.Firebird', 'FluentMigrator.Runner.Processors.MySql', 'FluentMigrator.Runner.Processors.Oracle', 'FluentMigrator.Runner.Processors.Postgres', 'FluentMigrator.Runner.Processors.Redshift', 'FluentMigrator.Runner.Processors.Snowflake', 'FluentMigrator.Runner.Processors.SQLite', 'FluentMigrator.Runner.Processors.SqlServer', 'FluentMigrator.Runner.VersionTableInfo', 'FluentMigrator.Tests.Integration.Migrations.Tagged', 'FluentMigrator.Tests.Unit', 'Microsoft.Extensions.DependencyInjection', 'Microsoft.Extensions.Logging', 'Moq', 'NUnit.Framework', 'Shouldly']
NUnit
net48
[('[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("SQLite")]\n [Category("Postgres")]\n [Category("Snowflake")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void MigrateUpWithTaggedMigrationsAndUsingMultipleTagsShouldOnlyApplyMatchedMigrations()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(typeof(TenantATable).Namespace)\n .Configure<RunnerOptions>(opt => opt.Tags = new[] { "TenantA", "TenantB" }),\n (serviceProvider, processor) =>\n {\n var runner = (MigrationRunner) serviceProvider.GetRequiredService<IMigrationRunner>();\n\n try\n {\n runner.MigrateUp(false);\n\n processor.TableExists(null, "TenantATable").ShouldBeFalse();\n processor.TableExists(null, "NormalTable").ShouldBeTrue();\n processor.TableExists(null, "TenantBTable").ShouldBeFalse();\n processor.TableExists(null, "TenantAandBTable").ShouldBeTrue();\n }\n finally\n {\n runner.RollbackToVersion(0);\n }\n },\n true,\n Array.Empty<Type>());\n }', '[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("SQLite")]\n [Category("Postgres")]\n [Category("Snowflake")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void MigrateUpWithTaggedMigrationsAndUsingMultipleTagsShouldOnlyApplyMatchedMigrations()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(typeof(TenantATable).Namespace)\n .Configure<RunnerOptions>(opt => opt.Tags = new[] { "TenantA", "TenantB" }),\n (serviceProvider, processor) =>\n {\n var runner = (MigrationRunner) serviceProvider.GetRequiredService<IMigrationRunner>();\n\n try\n {\n runner.MigrateUp(false);\n\n processor.TableExists(null, "TenantATable").ShouldBeFalse();\n processor.TableExists(null, "NormalTable").ShouldBeTrue();\n processor.TableExists(null, "TenantBTable").ShouldBeFalse();\n processor.TableExists(null, "TenantAandBTable").ShouldBeTrue();\n }\n finally\n {\n runner.RollbackToVersion(0);\n }\n },\n true,\n Array.Empty<Type>());\n }')]
34,745
36,306
[('ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(typeof(TenantATable).Namespace)\n .Configure<RunnerOptions>(opt => opt.Tags = new[] { "TenantA", "TenantB" }),\n (serviceProvider, processor) =>\n {\n var runner = (MigrationRunner) serviceProvider.GetRequiredService<IMigrationRunner>();\n\n try\n {\n runner.MigrateUp(false);\n\n processor.TableExists(null, "TenantATable").ShouldBeFalse();\n processor.TableExists(null, "NormalTable").ShouldBeTrue();\n processor.TableExists(null, "TenantBTable").ShouldBeFalse();\n processor.TableExists(null, "TenantAandBTable").ShouldBeTrue();\n }\n finally\n {\n runner.RollbackToVersion(0);\n }\n },\n true,\n Array.Empty<Type>())', ''), ('services.WithMigrationsIn(typeof(TenantATable).Namespace)\n .Configure<RunnerOptions>(opt => opt.Tags = new[] { "TenantA", "TenantB" })', ''), ('services.WithMigrationsIn(typeof(TenantATable).Namespace)', ''), ('serviceProvider.GetRequiredService<IMigrationRunner>()', ''), ('runner.MigrateUp(false)', ''), ('processor.TableExists(null, "TenantATable").ShouldBeFalse()', ''), ('processor.TableExists(null, "TenantATable")', ''), ('processor.TableExists(null, "NormalTable").ShouldBeTrue()', ''), ('processor.TableExists(null, "NormalTable")', ''), ('processor.TableExists(null, "TenantBTable").ShouldBeFalse()', ''), ('processor.TableExists(null, "TenantBTable")', ''), ('processor.TableExists(null, "TenantAandBTable").ShouldBeTrue()', ''), ('processor.TableExists(null, "TenantAandBTable")', ''), ('runner.RollbackToVersion(0)', ''), ('Array.Empty<Type>()', '')]
fluentmigrator
fluentmigrator
F:\Projects\TestMap\Temp\fluentmigrator\FluentMigrator.sln
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\FluentMigrator.Tests.csproj
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\Integration\MigrationRunnerTests.cs
FluentMigrator.Tests.Integration
MigrationRunnerTests
['private const string RootNamespace = "FluentMigrator.Tests.Integration.Migrations";']
['System', 'System.Data', 'System.IO', 'System.Linq', 'System.Text', 'System.Text.RegularExpressions', 'FluentMigrator.Expressions', 'FluentMigrator.Runner', 'FluentMigrator.Runner.Exceptions', 'FluentMigrator.Runner.Initialization', 'FluentMigrator.Runner.Logging', 'FluentMigrator.Runner.Processors', 'FluentMigrator.Runner.Processors.Firebird', 'FluentMigrator.Runner.Processors.MySql', 'FluentMigrator.Runner.Processors.Oracle', 'FluentMigrator.Runner.Processors.Postgres', 'FluentMigrator.Runner.Processors.Redshift', 'FluentMigrator.Runner.Processors.Snowflake', 'FluentMigrator.Runner.Processors.SQLite', 'FluentMigrator.Runner.Processors.SqlServer', 'FluentMigrator.Runner.VersionTableInfo', 'FluentMigrator.Tests.Integration.Migrations.Tagged', 'FluentMigrator.Tests.Unit', 'Microsoft.Extensions.DependencyInjection', 'Microsoft.Extensions.Logging', 'Moq', 'NUnit.Framework', 'Shouldly']
NUnit
net48
[('[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("SQLite")]\n [Category("Postgres")]\n [Category("Snowflake")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void MigrateUpWithDifferentTaggedShouldIgnoreConcreteOfTagged()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(typeof(TenantATable).Namespace)\n .Configure<RunnerOptions>(opt => opt.Tags = new[] { "TenantB" }),\n (serviceProvider, processor) =>\n {\n var runner = (MigrationRunner) serviceProvider.GetRequiredService<IMigrationRunner>();\n\n try\n {\n runner.MigrateUp(false);\n\n processor.TableExists(null, "TenantATable").ShouldBeFalse();\n processor.TableExists(null, "NormalTable").ShouldBeTrue();\n processor.TableExists(null, "TenantBTable").ShouldBeTrue();\n }\n finally\n {\n runner.RollbackToVersion(0);\n }\n },\n true,\n Array.Empty<Type>());\n }', '[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("SQLite")]\n [Category("Postgres")]\n [Category("Snowflake")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void MigrateUpWithDifferentTaggedShouldIgnoreConcreteOfTagged()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(typeof(TenantATable).Namespace)\n .Configure<RunnerOptions>(opt => opt.Tags = new[] { "TenantB" }),\n (serviceProvider, processor) =>\n {\n var runner = (MigrationRunner) serviceProvider.GetRequiredService<IMigrationRunner>();\n\n try\n {\n runner.MigrateUp(false);\n\n processor.TableExists(null, "TenantATable").ShouldBeFalse();\n processor.TableExists(null, "NormalTable").ShouldBeTrue();\n processor.TableExists(null, "TenantBTable").ShouldBeTrue();\n }\n finally\n {\n runner.RollbackToVersion(0);\n }\n },\n true,\n Array.Empty<Type>());\n }')]
36,318
37,753
[('ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(typeof(TenantATable).Namespace)\n .Configure<RunnerOptions>(opt => opt.Tags = new[] { "TenantB" }),\n (serviceProvider, processor) =>\n {\n var runner = (MigrationRunner) serviceProvider.GetRequiredService<IMigrationRunner>();\n\n try\n {\n runner.MigrateUp(false);\n\n processor.TableExists(null, "TenantATable").ShouldBeFalse();\n processor.TableExists(null, "NormalTable").ShouldBeTrue();\n processor.TableExists(null, "TenantBTable").ShouldBeTrue();\n }\n finally\n {\n runner.RollbackToVersion(0);\n }\n },\n true,\n Array.Empty<Type>())', ''), ('services.WithMigrationsIn(typeof(TenantATable).Namespace)\n .Configure<RunnerOptions>(opt => opt.Tags = new[] { "TenantB" })', ''), ('services.WithMigrationsIn(typeof(TenantATable).Namespace)', ''), ('serviceProvider.GetRequiredService<IMigrationRunner>()', ''), ('runner.MigrateUp(false)', ''), ('processor.TableExists(null, "TenantATable").ShouldBeFalse()', ''), ('processor.TableExists(null, "TenantATable")', ''), ('processor.TableExists(null, "NormalTable").ShouldBeTrue()', ''), ('processor.TableExists(null, "NormalTable")', ''), ('processor.TableExists(null, "TenantBTable").ShouldBeTrue()', ''), ('processor.TableExists(null, "TenantBTable")', ''), ('runner.RollbackToVersion(0)', ''), ('Array.Empty<Type>()', '')]
fluentmigrator
fluentmigrator
F:\Projects\TestMap\Temp\fluentmigrator\FluentMigrator.sln
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\FluentMigrator.Tests.csproj
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\Integration\MigrationRunnerTests.cs
FluentMigrator.Tests.Integration
MigrationRunnerTests
['private const string RootNamespace = "FluentMigrator.Tests.Integration.Migrations";']
['System', 'System.Data', 'System.IO', 'System.Linq', 'System.Text', 'System.Text.RegularExpressions', 'FluentMigrator.Expressions', 'FluentMigrator.Runner', 'FluentMigrator.Runner.Exceptions', 'FluentMigrator.Runner.Initialization', 'FluentMigrator.Runner.Logging', 'FluentMigrator.Runner.Processors', 'FluentMigrator.Runner.Processors.Firebird', 'FluentMigrator.Runner.Processors.MySql', 'FluentMigrator.Runner.Processors.Oracle', 'FluentMigrator.Runner.Processors.Postgres', 'FluentMigrator.Runner.Processors.Redshift', 'FluentMigrator.Runner.Processors.Snowflake', 'FluentMigrator.Runner.Processors.SQLite', 'FluentMigrator.Runner.Processors.SqlServer', 'FluentMigrator.Runner.VersionTableInfo', 'FluentMigrator.Tests.Integration.Migrations.Tagged', 'FluentMigrator.Tests.Unit', 'Microsoft.Extensions.DependencyInjection', 'Microsoft.Extensions.Logging', 'Moq', 'NUnit.Framework', 'Shouldly']
NUnit
net48
[('[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("Postgres")]\n [Category("Snowflake")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void MigrateDownWithDifferentTagsToMigrateUpShouldApplyMatchedMigrations()\n {\n var migrationsNamespace = typeof(TenantATable).Namespace;\n var excludedProcessors = Array.Empty<Type>();\n\n try\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(migrationsNamespace).Configure<RunnerOptions>(opt => opt.Tags = new[] { "TenantA" }),\n (serviceProvider, processor) =>\n {\n var runner = (MigrationRunner)serviceProvider.GetRequiredService<IMigrationRunner>();\n runner.MigrateUp(false);\n\n processor.TableExists(null, "TenantATable").ShouldBeTrue();\n processor.TableExists(null, "NormalTable").ShouldBeTrue();\n processor.TableExists(null, "TenantBTable").ShouldBeFalse();\n processor.TableExists(null, "TenantAandBTable").ShouldBeTrue();\n },\n false,\n excludedProcessors);\n\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(migrationsNamespace).Configure<RunnerOptions>(opt => opt.Tags = new[] { "TenantB" }),\n (serviceProvider, processor) =>\n {\n var runner = (MigrationRunner)serviceProvider.GetRequiredService<IMigrationRunner>();\n runner.MigrateDown(0, false);\n\n processor.TableExists(null, "TenantATable").ShouldBeTrue();\n processor.TableExists(null, "NormalTable").ShouldBeFalse();\n processor.TableExists(null, "TenantBTable").ShouldBeFalse();\n processor.TableExists(null, "TenantAandBTable").ShouldBeFalse();\n },\n false,\n excludedProcessors);\n }\n finally\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(migrationsNamespace).Configure<RunnerOptions>(opt => opt.Tags = new[] { "TenantA" }),\n (serviceProvider, _) =>\n {\n var runner = (MigrationRunner)serviceProvider.GetRequiredService<IMigrationRunner>();\n runner.RollbackToVersion(0, false);\n },\n false,\n excludedProcessors);\n }\n }', '[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("Postgres")]\n [Category("Snowflake")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void MigrateDownWithDifferentTagsToMigrateUpShouldApplyMatchedMigrations()\n {\n var migrationsNamespace = typeof(TenantATable).Namespace;\n var excludedProcessors = Array.Empty<Type>();\n\n try\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(migrationsNamespace).Configure<RunnerOptions>(opt => opt.Tags = new[] { "TenantA" }),\n (serviceProvider, processor) =>\n {\n var runner = (MigrationRunner)serviceProvider.GetRequiredService<IMigrationRunner>();\n runner.MigrateUp(false);\n\n processor.TableExists(null, "TenantATable").ShouldBeTrue();\n processor.TableExists(null, "NormalTable").ShouldBeTrue();\n processor.TableExists(null, "TenantBTable").ShouldBeFalse();\n processor.TableExists(null, "TenantAandBTable").ShouldBeTrue();\n },\n false,\n excludedProcessors);\n\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(migrationsNamespace).Configure<RunnerOptions>(opt => opt.Tags = new[] { "TenantB" }),\n (serviceProvider, processor) =>\n {\n var runner = (MigrationRunner)serviceProvider.GetRequiredService<IMigrationRunner>();\n runner.MigrateDown(0, false);\n\n processor.TableExists(null, "TenantATable").ShouldBeTrue();\n processor.TableExists(null, "NormalTable").ShouldBeFalse();\n processor.TableExists(null, "TenantBTable").ShouldBeFalse();\n processor.TableExists(null, "TenantAandBTable").ShouldBeFalse();\n },\n false,\n excludedProcessors);\n }\n finally\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(migrationsNamespace).Configure<RunnerOptions>(opt => opt.Tags = new[] { "TenantA" }),\n (serviceProvider, _) =>\n {\n var runner = (MigrationRunner)serviceProvider.GetRequiredService<IMigrationRunner>();\n runner.RollbackToVersion(0, false);\n },\n false,\n excludedProcessors);\n }\n }')]
37,765
40,704
[('Array.Empty<Type>()', ''), ('ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(migrationsNamespace).Configure<RunnerOptions>(opt => opt.Tags = new[] { "TenantA" }),\n (serviceProvider, processor) =>\n {\n var runner = (MigrationRunner)serviceProvider.GetRequiredService<IMigrationRunner>();\n runner.MigrateUp(false);\n\n processor.TableExists(null, "TenantATable").ShouldBeTrue();\n processor.TableExists(null, "NormalTable").ShouldBeTrue();\n processor.TableExists(null, "TenantBTable").ShouldBeFalse();\n processor.TableExists(null, "TenantAandBTable").ShouldBeTrue();\n },\n false,\n excludedProcessors)', ''), ('services.WithMigrationsIn(migrationsNamespace).Configure<RunnerOptions>(opt => opt.Tags = new[] { "TenantA" })', ''), ('services.WithMigrationsIn(migrationsNamespace)', ''), ('serviceProvider.GetRequiredService<IMigrationRunner>()', ''), ('runner.MigrateUp(false)', ''), ('processor.TableExists(null, "TenantATable").ShouldBeTrue()', ''), ('processor.TableExists(null, "TenantATable")', ''), ('processor.TableExists(null, "NormalTable").ShouldBeTrue()', ''), ('processor.TableExists(null, "NormalTable")', ''), ('processor.TableExists(null, "TenantBTable").ShouldBeFalse()', ''), ('processor.TableExists(null, "TenantBTable")', ''), ('processor.TableExists(null, "TenantAandBTable").ShouldBeTrue()', ''), ('processor.TableExists(null, "TenantAandBTable")', ''), ('ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(migrationsNamespace).Configure<RunnerOptions>(opt => opt.Tags = new[] { "TenantB" }),\n (serviceProvider, processor) =>\n {\n var runner = (MigrationRunner)serviceProvider.GetRequiredService<IMigrationRunner>();\n runner.MigrateDown(0, false);\n\n processor.TableExists(null, "TenantATable").ShouldBeTrue();\n processor.TableExists(null, "NormalTable").ShouldBeFalse();\n processor.TableExists(null, "TenantBTable").ShouldBeFalse();\n processor.TableExists(null, "TenantAandBTable").ShouldBeFalse();\n },\n false,\n excludedProcessors)', ''), ('services.WithMigrationsIn(migrationsNamespace).Configure<RunnerOptions>(opt => opt.Tags = new[] { "TenantB" })', ''), ('services.WithMigrationsIn(migrationsNamespace)', ''), ('serviceProvider.GetRequiredService<IMigrationRunner>()', ''), ('runner.MigrateDown(0, false)', ''), ('processor.TableExists(null, "TenantATable").ShouldBeTrue()', ''), ('processor.TableExists(null, "TenantATable")', ''), ('processor.TableExists(null, "NormalTable").ShouldBeFalse()', ''), ('processor.TableExists(null, "NormalTable")', ''), ('processor.TableExists(null, "TenantBTable").ShouldBeFalse()', ''), ('processor.TableExists(null, "TenantBTable")', ''), ('processor.TableExists(null, "TenantAandBTable").ShouldBeFalse()', ''), ('processor.TableExists(null, "TenantAandBTable")', ''), ('ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(migrationsNamespace).Configure<RunnerOptions>(opt => opt.Tags = new[] { "TenantA" }),\n (serviceProvider, _) =>\n {\n var runner = (MigrationRunner)serviceProvider.GetRequiredService<IMigrationRunner>();\n runner.RollbackToVersion(0, false);\n },\n false,\n excludedProcessors)', ''), ('services.WithMigrationsIn(migrationsNamespace).Configure<RunnerOptions>(opt => opt.Tags = new[] { "TenantA" })', ''), ('services.WithMigrationsIn(migrationsNamespace)', ''), ('serviceProvider.GetRequiredService<IMigrationRunner>()', ''), ('runner.RollbackToVersion(0, false)', '')]
fluentmigrator
fluentmigrator
F:\Projects\TestMap\Temp\fluentmigrator\FluentMigrator.sln
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\FluentMigrator.Tests.csproj
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\Integration\MigrationRunnerTests.cs
FluentMigrator.Tests.Integration
MigrationRunnerTests
['private const string RootNamespace = "FluentMigrator.Tests.Integration.Migrations";']
['System', 'System.Data', 'System.IO', 'System.Linq', 'System.Text', 'System.Text.RegularExpressions', 'FluentMigrator.Expressions', 'FluentMigrator.Runner', 'FluentMigrator.Runner.Exceptions', 'FluentMigrator.Runner.Initialization', 'FluentMigrator.Runner.Logging', 'FluentMigrator.Runner.Processors', 'FluentMigrator.Runner.Processors.Firebird', 'FluentMigrator.Runner.Processors.MySql', 'FluentMigrator.Runner.Processors.Oracle', 'FluentMigrator.Runner.Processors.Postgres', 'FluentMigrator.Runner.Processors.Redshift', 'FluentMigrator.Runner.Processors.Snowflake', 'FluentMigrator.Runner.Processors.SQLite', 'FluentMigrator.Runner.Processors.SqlServer', 'FluentMigrator.Runner.VersionTableInfo', 'FluentMigrator.Tests.Integration.Migrations.Tagged', 'FluentMigrator.Tests.Unit', 'Microsoft.Extensions.DependencyInjection', 'Microsoft.Extensions.Logging', 'Moq', 'NUnit.Framework', 'Shouldly']
NUnit
net48
[('[Test]\n [Category("SqlServer2008")]\n public void VersionInfoCreationScriptsOnlyGeneratedOnceInPreviewMode()\n {\n if (!IntegrationTestOptions.SqlServer2008.IsEnabled)\n {\n return;\n }\n\n var outputSql = new StringWriter();\n var provider = new SqlScriptFluentMigratorLoggerProvider(\n outputSql,\n new SqlScriptFluentMigratorLoggerOptions()\n {\n ShowSql = true,\n });\n\n ExecuteWithProcessor<SqlServer2008Processor>(\n services => services\n .ConfigureRunner(rb => rb.WithVersionTable(new TestVersionTableMetaData()))\n .WithMigrationsIn(RootNamespace)\n .Configure<ProcessorOptions>(opt => opt.PreviewOnly = true)\n .AddSingleton<ILoggerProvider>(provider)\n .AddSingleton<IVersionTableMetaData, TestVersionTableMetaData>(),\n (serviceProvider, processor) =>\n {\n try\n {\n var versionTableMetaData = new TestVersionTableMetaData();\n\n var runner = (MigrationRunner)serviceProvider.GetRequiredService<IMigrationRunner>();\n runner.MigrateUp(1, false);\n\n processor.CommitTransaction();\n\n var schemaName = versionTableMetaData.SchemaName;\n var schemaAndTableName = $"[{schemaName}].[{TestVersionTableMetaData.TABLE_NAME}]";\n\n var outputSqlString = outputSql.ToString();\n\n var createSchemaMatches = new Regex(Regex.Escape($"CREATE SCHEMA [{schemaName}]"))\n .Matches(outputSqlString).Count;\n var createTableMatches = new Regex(Regex.Escape("CREATE TABLE " + schemaAndTableName))\n .Matches(outputSqlString).Count;\n var createIndexMatches = new Regex(Regex.Escape("CREATE UNIQUE CLUSTERED INDEX [" + TestVersionTableMetaData.UNIQUE_INDEX_NAME + "] ON " + schemaAndTableName))\n .Matches(outputSqlString).Count;\n var alterTableMatches = new Regex(Regex.Escape("ALTER TABLE " + schemaAndTableName))\n .Matches(outputSqlString).Count;\n\n System.Console.WriteLine(outputSqlString);\n\n createSchemaMatches.ShouldBe(1);\n createTableMatches.ShouldBe(1);\n alterTableMatches.ShouldBe(2);\n createIndexMatches.ShouldBe(1);\n }\n finally\n {\n CleanupTestSqlServerDatabase(serviceProvider, processor);\n }\n },\n false,\n IntegrationTestOptions.SqlServer2008);\n }', '[Test]\n [Category("SqlServer2008")]\n public void VersionInfoCreationScriptsOnlyGeneratedOnceInPreviewMode()\n {\n if (!IntegrationTestOptions.SqlServer2008.IsEnabled)\n {\n return;\n }\n\n var outputSql = new StringWriter();\n var provider = new SqlScriptFluentMigratorLoggerProvider(\n outputSql,\n new SqlScriptFluentMigratorLoggerOptions()\n {\n ShowSql = true,\n });\n\n ExecuteWithProcessor<SqlServer2008Processor>(\n services => services\n .ConfigureRunner(rb => rb.WithVersionTable(new TestVersionTableMetaData()))\n .WithMigrationsIn(RootNamespace)\n .Configure<ProcessorOptions>(opt => opt.PreviewOnly = true)\n .AddSingleton<ILoggerProvider>(provider)\n .AddSingleton<IVersionTableMetaData, TestVersionTableMetaData>(),\n (serviceProvider, processor) =>\n {\n try\n {\n var versionTableMetaData = new TestVersionTableMetaData();\n\n var runner = (MigrationRunner)serviceProvider.GetRequiredService<IMigrationRunner>();\n runner.MigrateUp(1, false);\n\n processor.CommitTransaction();\n\n var schemaName = versionTableMetaData.SchemaName;\n var schemaAndTableName = $"[{schemaName}].[{TestVersionTableMetaData.TABLE_NAME}]";\n\n var outputSqlString = outputSql.ToString();\n\n var createSchemaMatches = new Regex(Regex.Escape($"CREATE SCHEMA [{schemaName}]"))\n .Matches(outputSqlString).Count;\n var createTableMatches = new Regex(Regex.Escape("CREATE TABLE " + schemaAndTableName))\n .Matches(outputSqlString).Count;\n var createIndexMatches = new Regex(Regex.Escape("CREATE UNIQUE CLUSTERED INDEX [" + TestVersionTableMetaData.UNIQUE_INDEX_NAME + "] ON " + schemaAndTableName))\n .Matches(outputSqlString).Count;\n var alterTableMatches = new Regex(Regex.Escape("ALTER TABLE " + schemaAndTableName))\n .Matches(outputSqlString).Count;\n\n System.Console.WriteLine(outputSqlString);\n\n createSchemaMatches.ShouldBe(1);\n createTableMatches.ShouldBe(1);\n alterTableMatches.ShouldBe(2);\n createIndexMatches.ShouldBe(1);\n }\n finally\n {\n CleanupTestSqlServerDatabase(serviceProvider, processor);\n }\n },\n false,\n IntegrationTestOptions.SqlServer2008);\n }')]
40,716
43,776
[('ExecuteWithProcessor<SqlServer2008Processor>(\n services => services\n .ConfigureRunner(rb => rb.WithVersionTable(new TestVersionTableMetaData()))\n .WithMigrationsIn(RootNamespace)\n .Configure<ProcessorOptions>(opt => opt.PreviewOnly = true)\n .AddSingleton<ILoggerProvider>(provider)\n .AddSingleton<IVersionTableMetaData, TestVersionTableMetaData>(),\n (serviceProvider, processor) =>\n {\n try\n {\n var versionTableMetaData = new TestVersionTableMetaData();\n\n var runner = (MigrationRunner)serviceProvider.GetRequiredService<IMigrationRunner>();\n runner.MigrateUp(1, false);\n\n processor.CommitTransaction();\n\n var schemaName = versionTableMetaData.SchemaName;\n var schemaAndTableName = $"[{schemaName}].[{TestVersionTableMetaData.TABLE_NAME}]";\n\n var outputSqlString = outputSql.ToString();\n\n var createSchemaMatches = new Regex(Regex.Escape($"CREATE SCHEMA [{schemaName}]"))\n .Matches(outputSqlString).Count;\n var createTableMatches = new Regex(Regex.Escape("CREATE TABLE " + schemaAndTableName))\n .Matches(outputSqlString).Count;\n var createIndexMatches = new Regex(Regex.Escape("CREATE UNIQUE CLUSTERED INDEX [" + TestVersionTableMetaData.UNIQUE_INDEX_NAME + "] ON " + schemaAndTableName))\n .Matches(outputSqlString).Count;\n var alterTableMatches = new Regex(Regex.Escape("ALTER TABLE " + schemaAndTableName))\n .Matches(outputSqlString).Count;\n\n System.Console.WriteLine(outputSqlString);\n\n createSchemaMatches.ShouldBe(1);\n createTableMatches.ShouldBe(1);\n alterTableMatches.ShouldBe(2);\n createIndexMatches.ShouldBe(1);\n }\n finally\n {\n CleanupTestSqlServerDatabase(serviceProvider, processor);\n }\n },\n false,\n IntegrationTestOptions.SqlServer2008)', ''), ('services\n .ConfigureRunner(rb => rb.WithVersionTable(new TestVersionTableMetaData()))\n .WithMigrationsIn(RootNamespace)\n .Configure<ProcessorOptions>(opt => opt.PreviewOnly = true)\n .AddSingleton<ILoggerProvider>(provider)\n .AddSingleton<IVersionTableMetaData, TestVersionTableMetaData>()', ''), ('services\n .ConfigureRunner(rb => rb.WithVersionTable(new TestVersionTableMetaData()))\n .WithMigrationsIn(RootNamespace)\n .Configure<ProcessorOptions>(opt => opt.PreviewOnly = true)\n .AddSingleton<ILoggerProvider>(provider)', ''), ('services\n .ConfigureRunner(rb => rb.WithVersionTable(new TestVersionTableMetaData()))\n .WithMigrationsIn(RootNamespace)\n .Configure<ProcessorOptions>(opt => opt.PreviewOnly = true)', ''), ('services\n .ConfigureRunner(rb => rb.WithVersionTable(new TestVersionTableMetaData()))\n .WithMigrationsIn(RootNamespace)', ''), ('services\n .ConfigureRunner(rb => rb.WithVersionTable(new TestVersionTableMetaData()))', ''), ('rb.WithVersionTable(new TestVersionTableMetaData())', ''), ('serviceProvider.GetRequiredService<IMigrationRunner>()', ''), ('runner.MigrateUp(1, false)', ''), ('processor.CommitTransaction()', ''), ('outputSql.ToString()', ''), ('new Regex(Regex.Escape($"CREATE SCHEMA [{schemaName}]"))\n .Matches(outputSqlString)', ''), ('Regex.Escape($"CREATE SCHEMA [{schemaName}]")', ''), ('new Regex(Regex.Escape("CREATE TABLE " + schemaAndTableName))\n .Matches(outputSqlString)', ''), ('Regex.Escape("CREATE TABLE " + schemaAndTableName)', ''), ('new Regex(Regex.Escape("CREATE UNIQUE CLUSTERED INDEX [" + TestVersionTableMetaData.UNIQUE_INDEX_NAME + "] ON " + schemaAndTableName))\n .Matches(outputSqlString)', ''), ('Regex.Escape("CREATE UNIQUE CLUSTERED INDEX [" + TestVersionTableMetaData.UNIQUE_INDEX_NAME + "] ON " + schemaAndTableName)', ''), ('new Regex(Regex.Escape("ALTER TABLE " + schemaAndTableName))\n .Matches(outputSqlString)', ''), ('Regex.Escape("ALTER TABLE " + schemaAndTableName)', ''), ('System.Console.WriteLine(outputSqlString)', ''), ('createSchemaMatches.ShouldBe(1)', ''), ('createTableMatches.ShouldBe(1)', ''), ('alterTableMatches.ShouldBe(2)', ''), ('createIndexMatches.ShouldBe(1)', ''), ('CleanupTestSqlServerDatabase(serviceProvider, processor)', '')]
fluentmigrator
fluentmigrator
F:\Projects\TestMap\Temp\fluentmigrator\FluentMigrator.sln
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\FluentMigrator.Tests.csproj
F:\Projects\TestMap\Temp\fluentmigrator\test\FluentMigrator.Tests\Integration\MigrationRunnerTests.cs
FluentMigrator.Tests.Integration
MigrationRunnerTests
['private const string RootNamespace = "FluentMigrator.Tests.Integration.Migrations";']
['System', 'System.Data', 'System.IO', 'System.Linq', 'System.Text', 'System.Text.RegularExpressions', 'FluentMigrator.Expressions', 'FluentMigrator.Runner', 'FluentMigrator.Runner.Exceptions', 'FluentMigrator.Runner.Initialization', 'FluentMigrator.Runner.Logging', 'FluentMigrator.Runner.Processors', 'FluentMigrator.Runner.Processors.Firebird', 'FluentMigrator.Runner.Processors.MySql', 'FluentMigrator.Runner.Processors.Oracle', 'FluentMigrator.Runner.Processors.Postgres', 'FluentMigrator.Runner.Processors.Redshift', 'FluentMigrator.Runner.Processors.Snowflake', 'FluentMigrator.Runner.Processors.SQLite', 'FluentMigrator.Runner.Processors.SqlServer', 'FluentMigrator.Runner.VersionTableInfo', 'FluentMigrator.Tests.Integration.Migrations.Tagged', 'FluentMigrator.Tests.Unit', 'Microsoft.Extensions.DependencyInjection', 'Microsoft.Extensions.Logging', 'Moq', 'NUnit.Framework', 'Shouldly']
NUnit
net48
[('[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("SQLite")]\n [Category("Postgres")]\n [Category("Snowflake")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void MigrateUpWithTaggedMigrationsShouldNotApplyAnyMigrationsIfNoTagsParameterIsPassedIntoTheRunner()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(typeof(TenantATable).Namespace),\n (serviceProvider, processor) =>\n {\n var runner = (MigrationRunner)serviceProvider.GetRequiredService<IMigrationRunner>();\n\n try\n {\n runner.MigrateUp(false);\n\n processor.TableExists(null, "TenantATable").ShouldBeFalse();\n processor.TableExists(null, "NormalTable").ShouldBeTrue();\n processor.TableExists(null, "TenantBTable").ShouldBeFalse();\n processor.TableExists(null, "TenantAandBTable").ShouldBeFalse();\n }\n finally\n {\n runner.RollbackToVersion(0);\n }\n },\n true,\n Array.Empty<Type>());\n }', '[Test]\n [Category("Firebird")]\n [Category("MySql")]\n [Category("SQLite")]\n [Category("Postgres")]\n [Category("Snowflake")]\n [Category("SqlServer2005")]\n [Category("SqlServer2008")]\n [Category("SqlServer2012")]\n [Category("SqlServer2014")]\n [Category("SqlServer2016")]\n public void MigrateUpWithTaggedMigrationsShouldNotApplyAnyMigrationsIfNoTagsParameterIsPassedIntoTheRunner()\n {\n ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(typeof(TenantATable).Namespace),\n (serviceProvider, processor) =>\n {\n var runner = (MigrationRunner)serviceProvider.GetRequiredService<IMigrationRunner>();\n\n try\n {\n runner.MigrateUp(false);\n\n processor.TableExists(null, "TenantATable").ShouldBeFalse();\n processor.TableExists(null, "NormalTable").ShouldBeTrue();\n processor.TableExists(null, "TenantBTable").ShouldBeFalse();\n processor.TableExists(null, "TenantAandBTable").ShouldBeFalse();\n }\n finally\n {\n runner.RollbackToVersion(0);\n }\n },\n true,\n Array.Empty<Type>());\n }')]
43,788
45,265
[('ExecuteWithSupportedProcessors(\n services => services.WithMigrationsIn(typeof(TenantATable).Namespace),\n (serviceProvider, processor) =>\n {\n var runner = (MigrationRunner)serviceProvider.GetRequiredService<IMigrationRunner>();\n\n try\n {\n runner.MigrateUp(false);\n\n processor.TableExists(null, "TenantATable").ShouldBeFalse();\n processor.TableExists(null, "NormalTable").ShouldBeTrue();\n processor.TableExists(null, "TenantBTable").ShouldBeFalse();\n processor.TableExists(null, "TenantAandBTable").ShouldBeFalse();\n }\n finally\n {\n runner.RollbackToVersion(0);\n }\n },\n true,\n Array.Empty<Type>())', ''), ('services.WithMigrationsIn(typeof(TenantATable).Namespace)', ''), ('serviceProvider.GetRequiredService<IMigrationRunner>()', ''), ('runner.MigrateUp(false)', ''), ('processor.TableExists(null, "TenantATable").ShouldBeFalse()', ''), ('processor.TableExists(null, "TenantATable")', ''), ('processor.TableExists(null, "NormalTable").ShouldBeTrue()', ''), ('processor.TableExists(null, "NormalTable")', ''), ('processor.TableExists(null, "TenantBTable").ShouldBeFalse()', ''), ('processor.TableExists(null, "TenantBTable")', ''), ('processor.TableExists(null, "TenantAandBTable").ShouldBeFalse()', ''), ('processor.TableExists(null, "TenantAandBTable")', ''), ('runner.RollbackToVersion(0)', ''), ('Array.Empty<Type>()', '')]

Dataset Card for Dataset Name

Mapping of CSharp test methods to methods invoked within the test and the definitions for these invocations, using TestMap

Dataset Details

Dataset Description

Using TestMap, we collect test methods defined in CSharp source code and use teh Roslyn API's SemanticModel to collect the definitions for method invocations within the test. The idea is for each test method, collect the method being tested through invocations, i.e, actions. We also collected additional contextual information.

Uses

The primary intent for this dataset is proof-of-concept for the tool, TestMap.

We also can see this dataset being used to finetune models for producing software tests in CSharp.

Downloads last month
40