aboutsummaryrefslogtreecommitdiff
path: root/src/test/WixToolsetTest.MbaHost/TestManagedBootstrapperApplicationFactory.h
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2019-12-22 13:51:35 +1100
committerSean Hall <r.sean.hall@gmail.com>2019-12-22 13:34:07 +1000
commit4a176b759c47fa1970fcfd0d9e25c294bda82ef4 (patch)
tree961cc91c44569d72c12d9f2dc5b1c11a80bb94a9 /src/test/WixToolsetTest.MbaHost/TestManagedBootstrapperApplicationFactory.h
parent43fb611edc680a74d229e8f1eeacb30adad8e3c7 (diff)
downloadwix-4a176b759c47fa1970fcfd0d9e25c294bda82ef4.tar.gz
wix-4a176b759c47fa1970fcfd0d9e25c294bda82ef4.tar.bz2
wix-4a176b759c47fa1970fcfd0d9e25c294bda82ef4.zip
Update the MbaHost test project to use an external exe to load the BA, which allows loading a different .NET than the one running the tests. This also allows writing the tests in C# instead of C++/CLI.
Diffstat (limited to 'src/test/WixToolsetTest.MbaHost/TestManagedBootstrapperApplicationFactory.h')
-rw-r--r--src/test/WixToolsetTest.MbaHost/TestManagedBootstrapperApplicationFactory.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/test/WixToolsetTest.MbaHost/TestManagedBootstrapperApplicationFactory.h b/src/test/WixToolsetTest.MbaHost/TestManagedBootstrapperApplicationFactory.h
deleted file mode 100644
index 86f6e3cb..00000000
--- a/src/test/WixToolsetTest.MbaHost/TestManagedBootstrapperApplicationFactory.h
+++ /dev/null
@@ -1,25 +0,0 @@
1#pragma once
2// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
3
4namespace WixToolsetTest
5{
6namespace MbaHost
7{
8namespace Native
9{
10 using namespace System;
11 using namespace WixToolset::Mba::Core;
12
13 public ref class TestManagedBootstrapperApplicationFactory : public BaseBootstrapperApplicationFactory
14 {
15 protected:
16 virtual IBootstrapperApplication^ Create(IEngine^ engine, IBootstrapperCommand^ /*command*/) override
17 {
18 return gcnew TestManagedBootstrapperApplication(engine);
19 }
20 };
21
22 [assembly:BootstrapperApplicationFactory(TestManagedBootstrapperApplicationFactory::typeid)];
23}
24}
25} \ No newline at end of file