diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2020-07-12 17:07:55 +1000 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2020-07-12 17:16:16 +1000 |
commit | dc558da002794cc07013e8376f3c55c73391aa0e (patch) | |
tree | faba96f981f1ea0c6888b387cf43cc78d0bc2927 /src/test/DUtilUnitTest/IniUtilTest.cpp | |
parent | aeddc77fc021f11f68a4c1a093eabf9776866b80 (diff) | |
download | wix-dc558da002794cc07013e8376f3c55c73391aa0e.tar.gz wix-dc558da002794cc07013e8376f3c55c73391aa0e.tar.bz2 wix-dc558da002794cc07013e8376f3c55c73391aa0e.zip |
Update Dutil_TraceErrorSource to filter based on the report level.
Diffstat (limited to 'src/test/DUtilUnitTest/IniUtilTest.cpp')
-rw-r--r-- | src/test/DUtilUnitTest/IniUtilTest.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/DUtilUnitTest/IniUtilTest.cpp b/src/test/DUtilUnitTest/IniUtilTest.cpp index 2edd56ab..946f19c5 100644 --- a/src/test/DUtilUnitTest/IniUtilTest.cpp +++ b/src/test/DUtilUnitTest/IniUtilTest.cpp | |||
@@ -24,6 +24,8 @@ namespace DutilTests | |||
24 | LPWSTR wzIniContents = L" PlainValue = \t Blah \r\n;CommentHere\r\n[Section1]\r\n ;Another Comment With = Equal Sign\r\nSection1ValueA=Foo\r\n\r\nSection1ValueB=Bar\r\n[Section2]\r\nSection2ValueA=Cha\r\nArray[0]=Arr\r\n"; | 24 | LPWSTR wzIniContents = L" PlainValue = \t Blah \r\n;CommentHere\r\n[Section1]\r\n ;Another Comment With = Equal Sign\r\nSection1ValueA=Foo\r\n\r\nSection1ValueB=Bar\r\n[Section2]\r\nSection2ValueA=Cha\r\nArray[0]=Arr\r\n"; |
25 | LPWSTR wzScriptContents = L"setf ~PlainValue Blah\r\n;CommentHere\r\n\r\nsetf ~Section1\\Section1ValueA Foo\r\n\r\nsetf ~Section1\\Section1ValueB Bar\r\nsetf ~Section2\\Section2ValueA Cha\r\nsetf ~Section2\\Array[0] Arr\r\n"; | 25 | LPWSTR wzScriptContents = L"setf ~PlainValue Blah\r\n;CommentHere\r\n\r\nsetf ~Section1\\Section1ValueA Foo\r\n\r\nsetf ~Section1\\Section1ValueB Bar\r\nsetf ~Section2\\Section2ValueA Cha\r\nsetf ~Section2\\Array[0] Arr\r\n"; |
26 | 26 | ||
27 | DutilInitialize(&DutilTestTraceError); | ||
28 | |||
27 | try | 29 | try |
28 | { | 30 | { |
29 | hr = PathExpand(&sczTempIniFilePath, L"%TEMP%\\IniUtilTest\\Test.ini", PATH_EXPAND_ENVIRONMENT); | 31 | hr = PathExpand(&sczTempIniFilePath, L"%TEMP%\\IniUtilTest\\Test.ini", PATH_EXPAND_ENVIRONMENT); |
@@ -58,6 +60,7 @@ namespace DutilTests | |||
58 | { | 60 | { |
59 | ReleaseStr(sczTempIniFilePath); | 61 | ReleaseStr(sczTempIniFilePath); |
60 | ReleaseStr(sczTempIniFileDir); | 62 | ReleaseStr(sczTempIniFileDir); |
63 | DutilUninitialize(); | ||
61 | } | 64 | } |
62 | } | 65 | } |
63 | 66 | ||