Skip to content

Commit 8124ec8

Browse files
committed
Test.Common update which included changes to the Surface area test file layout
1 parent fe9be29 commit 8124ec8

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed
Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
1-
[assembly: System.CLSCompliantAttribute(true)]
2-
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
3-
1+
[assembly: System.CLSCompliant(true)]
2+
[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/DbUp/dbup-firebird.git")]
3+
[assembly: System.Runtime.InteropServices.ComVisible(false)]
4+
[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName=".NET Standard 2.0")]
45
public static class FirebirdExtensions
56
{
67
public static DbUp.Builder.UpgradeEngineBuilder FirebirdDatabase(DbUp.Engine.Transactions.IConnectionManager connectionManager) { }
7-
public static DbUp.Builder.UpgradeEngineBuilder FirebirdDatabase(this DbUp.Builder.SupportedDatabases supported, string connectionString) { }
88
public static DbUp.Builder.UpgradeEngineBuilder FirebirdDatabase(this DbUp.Builder.SupportedDatabases supported, DbUp.Engine.Transactions.IConnectionManager connectionManager) { }
9-
public static void FirebirdDatabase(this DbUp.SupportedDatabasesForEnsureDatabase supported, string connectionString, DbUp.Engine.Output.IUpgradeLog logger = null) { }
9+
public static DbUp.Builder.UpgradeEngineBuilder FirebirdDatabase(this DbUp.Builder.SupportedDatabases supported, string connectionString) { }
1010
public static void FirebirdDatabase(this DbUp.SupportedDatabasesForDropDatabase supported, string connectionString, DbUp.Engine.Output.IUpgradeLog logger = null) { }
11+
public static void FirebirdDatabase(this DbUp.SupportedDatabasesForEnsureDatabase supported, string connectionString, DbUp.Engine.Output.IUpgradeLog logger = null) { }
1112
}
1213
namespace DbUp.Firebird
1314
{
14-
public class FirebirdConnectionManager : DbUp.Engine.Transactions.DatabaseConnectionManager, DbUp.Engine.Transactions.IConnectionManager
15+
public class FirebirdConnectionManager : DbUp.Engine.Transactions.DatabaseConnectionManager
1516
{
1617
public FirebirdConnectionManager(string connectionString) { }
1718
protected override DbUp.Engine.Transactions.AllowedTransactionMode AllowedTransactionModes { get; }
1819
public override System.Collections.Generic.IEnumerable<string> SplitScriptIntoCommands(string scriptContents) { }
1920
}
20-
public class FirebirdObjectParser : DbUp.Support.SqlObjectParser, DbUp.Engine.ISqlObjectParser
21+
public class FirebirdObjectParser : DbUp.Support.SqlObjectParser
2122
{
2223
public FirebirdObjectParser() { }
2324
}
@@ -26,14 +27,14 @@ public class FirebirdPreprocessor : DbUp.Engine.IScriptPreprocessor
2627
public FirebirdPreprocessor() { }
2728
public string Process(string contents) { }
2829
}
29-
public class FirebirdScriptExecutor : DbUp.Support.ScriptExecutor, DbUp.Engine.IScriptExecutor
30+
public class FirebirdScriptExecutor : DbUp.Support.ScriptExecutor
3031
{
3132
public FirebirdScriptExecutor(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> journal) { }
3233
protected override bool UseTheSameTransactionForJournalTableAndScripts { get; }
3334
protected override void ExecuteCommandsWithinExceptionHandler(int index, DbUp.Engine.SqlScript script, System.Action executeCommand) { }
3435
protected override string GetVerifySchemaSql(string schema) { }
3536
}
36-
public class FirebirdTableJournal : DbUp.Support.TableJournal, DbUp.Engine.IJournal
37+
public class FirebirdTableJournal : DbUp.Support.TableJournal
3738
{
3839
public FirebirdTableJournal(System.Func<DbUp.Engine.Transactions.IConnectionManager> connectionManager, System.Func<DbUp.Engine.Output.IUpgradeLog> logger, string tableName) { }
3940
protected override string CreateSchemaTableSql(string quotedPrimaryKeyName) { }
@@ -42,4 +43,4 @@ protected override string GetInsertJournalEntrySql(string scriptName, string app
4243
protected override string GetJournalEntriesSql() { }
4344
protected override void OnTableCreated(System.Func<System.Data.IDbCommand> dbCommandFactory) { }
4445
}
45-
}
46+
}

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-firebird\dbup-firebird.csproj"/>
13-
<PackageReference Include="DbUp.Tests.Common" Version="6.0.4" />
14-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
15-
<PackageReference Include="xunit" Version="2.9.2" />
16-
<PackageReference Include="xunit.runner.visualstudio" Version="3.0.0">
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)