aboutsummaryrefslogtreecommitdiff
path: root/src/test/examples/TestEngine/precomp.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/examples/TestEngine/precomp.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 '')
-rw-r--r--src/test/examples/TestEngine/precomp.h (renamed from src/test/WixToolsetTest.MbaHost/precomp.h)13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/test/WixToolsetTest.MbaHost/precomp.h b/src/test/examples/TestEngine/precomp.h
index 7c451c03..6e867e89 100644
--- a/src/test/WixToolsetTest.MbaHost/precomp.h
+++ b/src/test/examples/TestEngine/precomp.h
@@ -1,16 +1,19 @@
1#pragma once 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. 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 3
4
5#include <windows.h> 4#include <windows.h>
6#include <msiquery.h> 5#include <MsiQuery.h>
7 6
8#include "dutil.h" 7#include "dutil.h"
8#include "conutil.h"
9#include "logutil.h" 9#include "logutil.h"
10#include "memutil.h"
10 11
11#include "BootstrapperEngine.h" 12#include "BootstrapperEngine.h"
12#include "BootstrapperApplication.h" 13#include "BootstrapperApplication.h"
13 14
14#include "EngineForTest.h" 15#include "TestEngine.h"
15#include "TestManagedBootstrapperApplication.h" 16
16#include "TestManagedBootstrapperApplicationFactory.h" 17HRESULT RunShutdownEngine(
18 __in LPCWSTR wzBAFilePath
19 );