Skip to content

Commit 290fe0e

Browse files
committed
Test.Common update which included changes to the Surface area test file layout
1 parent fe4e969 commit 290fe0e

File tree

2 files changed

+20
-19
lines changed

2 files changed

+20
-19
lines changed
Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,27 @@
1-
[assembly: System.CLSCompliantAttribute(true)]
2-
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
3-
[assembly: System.Runtime.InteropServices.GuidAttribute("b6988607-c547-4cbd-8012-f8162a25092f")]
4-
1+
[assembly: System.CLSCompliant(true)]
2+
[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/DbUp/dbup-mysql.git")]
3+
[assembly: System.Runtime.InteropServices.ComVisible(false)]
4+
[assembly: System.Runtime.InteropServices.Guid("b6988607-c547-4cbd-8012-f8162a25092f")]
5+
[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName=".NET Standard 2.0")]
56
public static class MySqlExtensions
67
{
78
public static DbUp.Builder.UpgradeEngineBuilder MySqlDatabase(DbUp.Engine.Transactions.IConnectionManager connectionManager) { }
8-
public static DbUp.Builder.UpgradeEngineBuilder MySqlDatabase(this DbUp.Builder.SupportedDatabases supported, string connectionString) { }
99
public static DbUp.Builder.UpgradeEngineBuilder MySqlDatabase(this DbUp.Builder.SupportedDatabases supported, DbUp.Engine.Transactions.IConnectionManager connectionManager) { }
10+
public static DbUp.Builder.UpgradeEngineBuilder MySqlDatabase(this DbUp.Builder.SupportedDatabases supported, string connectionString) { }
1011
public static DbUp.Builder.UpgradeEngineBuilder MySqlDatabase(DbUp.Engine.Transactions.IConnectionManager connectionManager, string schema) { }
11-
public static DbUp.Builder.UpgradeEngineBuilder MySqlDatabase(this DbUp.Builder.SupportedDatabases supported, string connectionString, string schema) { }
12-
public static void MySqlDatabase(this DbUp.SupportedDatabasesForEnsureDatabase supported, string connectionString) { }
1312
public static void MySqlDatabase(this DbUp.SupportedDatabasesForDropDatabase supported, string connectionString) { }
13+
public static void MySqlDatabase(this DbUp.SupportedDatabasesForEnsureDatabase supported, string connectionString) { }
14+
public static DbUp.Builder.UpgradeEngineBuilder MySqlDatabase(this DbUp.Builder.SupportedDatabases supported, string connectionString, string schema) { }
15+
public static void MySqlDatabase(this DbUp.SupportedDatabasesForDropDatabase supported, string connectionString, int commandTimeout) { }
1416
public static void MySqlDatabase(this DbUp.SupportedDatabasesForEnsureDatabase supported, string connectionString, int commandTimeout) { }
1517
public static void MySqlDatabase(this DbUp.SupportedDatabasesForEnsureDatabase supported, string connectionString, string collation) { }
16-
public static void MySqlDatabase(this DbUp.SupportedDatabasesForDropDatabase supported, string connectionString, int commandTimeout) { }
17-
public static void MySqlDatabase(this DbUp.SupportedDatabasesForEnsureDatabase supported, string connectionString, int commandTimeout, string collation) { }
1818
public static void MySqlDatabase(this DbUp.SupportedDatabasesForDropDatabase supported, string connectionString, DbUp.Engine.Output.IUpgradeLog logger, int timeout = -1) { }
19+
public static void MySqlDatabase(this DbUp.SupportedDatabasesForEnsureDatabase supported, string connectionString, int commandTimeout, string collation) { }
1920
public static void MySqlDatabase(this DbUp.SupportedDatabasesForEnsureDatabase supported, string connectionString, DbUp.Engine.Output.IUpgradeLog logger, int timeout = -1, string collation = null) { }
2021
}
2122
namespace DbUp.MySql
2223
{
23-
public class MySqlCommandReader : DbUp.Support.SqlCommandReader, System.IDisposable
24+
public class MySqlCommandReader : DbUp.Support.SqlCommandReader
2425
{
2526
public MySqlCommandReader(string sqlText) { }
2627
protected override bool IsCustomStatement { get; }
@@ -31,12 +32,12 @@ public class MySqlCommandSplitter
3132
public MySqlCommandSplitter() { }
3233
public System.Collections.Generic.IEnumerable<string> SplitScriptIntoCommands(string scriptContents) { }
3334
}
34-
public class MySqlConnectionManager : DbUp.Engine.Transactions.DatabaseConnectionManager, DbUp.Engine.Transactions.IConnectionManager
35+
public class MySqlConnectionManager : DbUp.Engine.Transactions.DatabaseConnectionManager
3536
{
3637
public MySqlConnectionManager(string connectionString) { }
3738
public override System.Collections.Generic.IEnumerable<string> SplitScriptIntoCommands(string scriptContents) { }
3839
}
39-
public class MySqlObjectParser : DbUp.Support.SqlObjectParser, DbUp.Engine.ISqlObjectParser
40+
public class MySqlObjectParser : DbUp.Support.SqlObjectParser
4041
{
4142
public MySqlObjectParser() { }
4243
}
@@ -45,17 +46,17 @@ public class MySqlPreprocessor : DbUp.Engine.IScriptPreprocessor
4546
public MySqlPreprocessor() { }
4647
public string Process(string contents) { }
4748
}
48-
public class MySqlScriptExecutor : DbUp.Support.ScriptExecutor, DbUp.Engine.IScriptExecutor
49+
public class MySqlScriptExecutor : DbUp.Support.ScriptExecutor
4950
{
5051
public MySqlScriptExecutor(System.Func<DbUp.Engine.Transactions.IConnectionManager> connectionManagerFactory, System.Func<DbUp.Engine.Output.IUpgradeLog> log, string schema, System.Func<bool> variablesEnabled, System.Collections.Generic.IEnumerable<DbUp.Engine.IScriptPreprocessor> scriptPreprocessors, System.Func<DbUp.Engine.IJournal> journalFactory) { }
5152
protected override void ExecuteCommandsWithinExceptionHandler(int index, DbUp.Engine.SqlScript script, System.Action executeCommand) { }
5253
protected override string GetVerifySchemaSql(string schema) { }
5354
}
54-
public class MySqlTableJournal : DbUp.Support.TableJournal, DbUp.Engine.IJournal
55+
public class MySqlTableJournal : DbUp.Support.TableJournal
5556
{
5657
public MySqlTableJournal(System.Func<DbUp.Engine.Transactions.IConnectionManager> connectionManager, System.Func<DbUp.Engine.Output.IUpgradeLog> logger, string schema, string table) { }
5758
protected override string CreateSchemaTableSql(string quotedPrimaryKeyName) { }
5859
protected override string GetInsertJournalEntrySql(string scriptName, string applied) { }
5960
protected override string GetJournalEntriesSql() { }
6061
}
61-
}
62+
}

src/Tests/Tests.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010

1111
<ItemGroup>
1212
<ProjectReference Include="..\dbup-mysql\dbup-mysql.csproj"/>
13-
<PackageReference Include="DbUp.Tests.Common" Version="6.0.0-beta.146"/>
14-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
15-
<PackageReference Include="xunit" Version="2.7.0" />
16-
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.7">
13+
<PackageReference Include="DbUp.Tests.Common" Version="6.0.15"/>
14+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.0" />
15+
<PackageReference Include="xunit" Version="2.9.3" />
16+
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
1717
<PrivateAssets>all</PrivateAssets>
1818
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1919
</PackageReference>

0 commit comments

Comments
 (0)