diff options
author | Rob Mensching <rob@firegiant.com> | 2024-03-07 09:41:29 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2024-03-07 10:55:57 -0800 |
commit | 5baa1dfe8ba2a3bd4728bca118fe1de225f848d4 (patch) | |
tree | 4f1c216075173e0e4d0863ada195f21d7ec976e0 /src/api/burn/test/BextUtilUnitTest/BundleExtensionTests.cpp | |
parent | dea25ba9bcfd65200b60339c2e4bc060cdf20723 (diff) | |
download | wix-5baa1dfe8ba2a3bd4728bca118fe1de225f848d4.tar.gz wix-5baa1dfe8ba2a3bd4728bca118fe1de225f848d4.tar.bz2 wix-5baa1dfe8ba2a3bd4728bca118fe1de225f848d4.zip |
Rename "bundle extension" to "bootstrapper extension" for more consistency
Also renames WixToolet.BextUtil nupkg to WixToolset.BootstrapperExtensionApi.
Diffstat (limited to 'src/api/burn/test/BextUtilUnitTest/BundleExtensionTests.cpp')
-rw-r--r-- | src/api/burn/test/BextUtilUnitTest/BundleExtensionTests.cpp | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/src/api/burn/test/BextUtilUnitTest/BundleExtensionTests.cpp b/src/api/burn/test/BextUtilUnitTest/BundleExtensionTests.cpp deleted file mode 100644 index 5c5c5812..00000000 --- a/src/api/burn/test/BextUtilUnitTest/BundleExtensionTests.cpp +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | // 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 | |||
3 | #include "precomp.h" | ||
4 | |||
5 | using namespace System; | ||
6 | using namespace Xunit; | ||
7 | using namespace WixInternal::TestSupport; | ||
8 | using namespace WixInternal::TestSupport::XunitExtensions; | ||
9 | |||
10 | namespace BextUtilTests | ||
11 | { | ||
12 | public ref class BundleExtension | ||
13 | { | ||
14 | public: | ||
15 | [Fact] | ||
16 | void CanCreateTestBundleExtension() | ||
17 | { | ||
18 | HRESULT hr = S_OK; | ||
19 | BUNDLE_EXTENSION_CREATE_ARGS args = { }; | ||
20 | BUNDLE_EXTENSION_CREATE_RESULTS results = { }; | ||
21 | IBundleExtensionEngine* pEngine = NULL; | ||
22 | IBundleExtension* pBundleExtension = NULL; | ||
23 | |||
24 | args.cbSize = sizeof(args); | ||
25 | args.wzBundleExtensionDataPath = L"test.xml"; | ||
26 | |||
27 | results.cbSize = sizeof(results); | ||
28 | |||
29 | try | ||
30 | { | ||
31 | hr = BextInitializeFromCreateArgs(&args, &pEngine); | ||
32 | NativeAssert::Succeeded(hr, "Failed to create engine."); | ||
33 | |||
34 | hr = TestBundleExtensionCreate(pEngine, &args, &results, &pBundleExtension); | ||
35 | NativeAssert::Succeeded(hr, "Failed to create BootstrapperApplication."); | ||
36 | } | ||
37 | finally | ||
38 | { | ||
39 | ReleaseObject(pEngine); | ||
40 | ReleaseObject(pBundleExtension); | ||
41 | } | ||
42 | } | ||
43 | }; | ||
44 | } | ||