From f1b3a32900dbb7d7f7f4db3d1aedcf63db5ede58 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Fri, 15 Feb 2019 22:05:39 -0600 Subject: WIXFEAT:3815 - Update mbahost test for updates to BaseBootstrapperApplicationFactory and BootstrapperApplication. --- .../WixToolsetTest.MbaHost/TestManagedBootstrapperApplication.h | 6 +++--- .../TestManagedBootstrapperApplicationFactory.h | 4 ++-- src/test/WixToolsetTest.MbaHost/WixToolsetTest.MbaHost.vcxproj | 6 +++--- src/test/WixToolsetTest.MbaHost/packages.config | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) (limited to 'src') diff --git a/src/test/WixToolsetTest.MbaHost/TestManagedBootstrapperApplication.h b/src/test/WixToolsetTest.MbaHost/TestManagedBootstrapperApplication.h index d74d90c5..910d39bd 100644 --- a/src/test/WixToolsetTest.MbaHost/TestManagedBootstrapperApplication.h +++ b/src/test/WixToolsetTest.MbaHost/TestManagedBootstrapperApplication.h @@ -13,8 +13,8 @@ namespace Native public ref class TestManagedBootstrapperApplication : BootstrapperApplication { public: - TestManagedBootstrapperApplication(WixToolset::BootstrapperCore::Engine^ engine, WixToolset::BootstrapperCore::Command command) - : BootstrapperApplication(engine, command) + TestManagedBootstrapperApplication(WixToolset::BootstrapperCore::IEngine^ engine) + : BootstrapperApplication(engine) { } @@ -26,7 +26,7 @@ namespace Native virtual void OnShutdown(ShutdownEventArgs^ e) override { String^ message = "Shutdown," + e->Action.ToString() + "," + e->HResult.ToString(); - this->Engine->Log(LogLevel::Standard, message); + this->engine->Log(LogLevel::Standard, message); } }; } diff --git a/src/test/WixToolsetTest.MbaHost/TestManagedBootstrapperApplicationFactory.h b/src/test/WixToolsetTest.MbaHost/TestManagedBootstrapperApplicationFactory.h index 9d44075b..0f30ff2d 100644 --- a/src/test/WixToolsetTest.MbaHost/TestManagedBootstrapperApplicationFactory.h +++ b/src/test/WixToolsetTest.MbaHost/TestManagedBootstrapperApplicationFactory.h @@ -13,9 +13,9 @@ namespace Native public ref class TestManagedBootstrapperApplicationFactory : public BaseBootstrapperApplicationFactory { protected: - virtual IBootstrapperApplication^ Create(Engine^ engine, Command% command) override + virtual IBootstrapperApplication^ Create(IEngine^ engine, IBootstrapperCommand^ /*command*/) override { - return gcnew TestManagedBootstrapperApplication(engine, command); + return gcnew TestManagedBootstrapperApplication(engine); } }; diff --git a/src/test/WixToolsetTest.MbaHost/WixToolsetTest.MbaHost.vcxproj b/src/test/WixToolsetTest.MbaHost/WixToolsetTest.MbaHost.vcxproj index a95a1606..094c351f 100644 --- a/src/test/WixToolsetTest.MbaHost/WixToolsetTest.MbaHost.vcxproj +++ b/src/test/WixToolsetTest.MbaHost/WixToolsetTest.MbaHost.vcxproj @@ -2,7 +2,7 @@ - + @@ -66,7 +66,7 @@ ..\..\..\packages\xunit.extensibility.execution.2.4.0\lib\net452\xunit.execution.desktop.dll - ..\..\..\packages\WixToolset.BootstrapperCore.4.0.4\lib\net20\WixToolset.BootstrapperCore.dll + ..\..\..\packages\WixToolset.BootstrapperCore.4.0.5\lib\net20\WixToolset.BootstrapperCore.dll @@ -83,7 +83,7 @@ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - + diff --git a/src/test/WixToolsetTest.MbaHost/packages.config b/src/test/WixToolsetTest.MbaHost/packages.config index d534f781..4cd75692 100644 --- a/src/test/WixToolsetTest.MbaHost/packages.config +++ b/src/test/WixToolsetTest.MbaHost/packages.config @@ -9,6 +9,6 @@ - + \ No newline at end of file -- cgit v1.2.3-55-g6feb