diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2020-07-11 21:11:30 +1000 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2020-07-12 11:51:29 +1000 |
commit | 9c4b5559ccb55491fe68b0096d1be0496fd6fcc7 (patch) | |
tree | faa51204fc2e6e3dfd1b00ae03c7184c4fb0b4bf /src/test/DUtilUnitTest/VarHelpers.h | |
parent | f651268309263fa67fa84caf9fb6dbebb5c900d9 (diff) | |
download | wix-9c4b5559ccb55491fe68b0096d1be0496fd6fcc7.tar.gz wix-9c4b5559ccb55491fe68b0096d1be0496fd6fcc7.tar.bz2 wix-9c4b5559ccb55491fe68b0096d1be0496fd6fcc7.zip |
Import DUtilUnitTest from old wix4 repo.
Diffstat (limited to 'src/test/DUtilUnitTest/VarHelpers.h')
-rw-r--r-- | src/test/DUtilUnitTest/VarHelpers.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/test/DUtilUnitTest/VarHelpers.h b/src/test/DUtilUnitTest/VarHelpers.h new file mode 100644 index 00000000..9b781ce6 --- /dev/null +++ b/src/test/DUtilUnitTest/VarHelpers.h | |||
@@ -0,0 +1,20 @@ | |||
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 | |||
4 | |||
5 | namespace DutilTests | ||
6 | { | ||
7 | |||
8 | void VarSetStringHelper(VARIABLES_HANDLE pVariables, LPCWSTR wzVariable, LPCWSTR wzValue); | ||
9 | void VarSetNumericHelper(VARIABLES_HANDLE pVariables, LPCWSTR wzVariable, LONGLONG llValue); | ||
10 | void VarSetVersionHelper(VARIABLES_HANDLE pVariables, LPCWSTR wzVariable, DWORD64 qwValue); | ||
11 | void VarGetStringHelper(VARIABLES_HANDLE pVariables, LPCWSTR wzVariable, LPCWSTR wzExpectedValue); | ||
12 | void VarGetNumericHelper(VARIABLES_HANDLE pVariables, LPCWSTR wzVariable, LONGLONG llExpectedValue); | ||
13 | void VarGetVersionHelper(VARIABLES_HANDLE pVariables, LPCWSTR wzVariable, DWORD64 qwExpectedValue); | ||
14 | void VarGetFormattedHelper(VARIABLES_HANDLE pVariables, LPCWSTR wzVariable, LPCWSTR wzExpectedValue); | ||
15 | void VarFormatStringHelper(VARIABLES_HANDLE pVariables, LPCWSTR wzIn, LPCWSTR wzExpectedValue); | ||
16 | void VarEscapeStringHelper(LPCWSTR wzIn, LPCWSTR wzExpectedValue); | ||
17 | bool EvaluateConditionHelper(VARIABLES_HANDLE pVariables, LPCWSTR wzCondition); | ||
18 | bool EvaluateFailureConditionHelper(VARIABLES_HANDLE pVariables, LPCWSTR wzCondition); | ||
19 | |||
20 | } | ||