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/UriUtilTest.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/UriUtilTest.cpp')
-rw-r--r-- | src/test/DUtilUnitTest/UriUtilTest.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/DUtilUnitTest/UriUtilTest.cpp b/src/test/DUtilUnitTest/UriUtilTest.cpp index 220b3ff5..b3bf87a2 100644 --- a/src/test/DUtilUnitTest/UriUtilTest.cpp +++ b/src/test/DUtilUnitTest/UriUtilTest.cpp | |||
@@ -17,6 +17,8 @@ namespace CfgTests | |||
17 | { | 17 | { |
18 | HRESULT hr = S_OK; | 18 | HRESULT hr = S_OK; |
19 | 19 | ||
20 | DutilInitialize(&DutilTestTraceError); | ||
21 | |||
20 | LPCWSTR uri = L"https://localhost/"; | 22 | LPCWSTR uri = L"https://localhost/"; |
21 | URI_PROTOCOL uriProtocol = URI_PROTOCOL::URI_PROTOCOL_UNKNOWN; | 23 | URI_PROTOCOL uriProtocol = URI_PROTOCOL::URI_PROTOCOL_UNKNOWN; |
22 | hr = UriProtocol(uri, &uriProtocol); | 24 | hr = UriProtocol(uri, &uriProtocol); |
@@ -90,7 +92,7 @@ namespace CfgTests | |||
90 | Assert::Equal((int)URI_PROTOCOL::URI_PROTOCOL_FTP, (int)uriProtocol); | 92 | Assert::Equal((int)URI_PROTOCOL::URI_PROTOCOL_FTP, (int)uriProtocol); |
91 | 93 | ||
92 | LExit: | 94 | LExit: |
93 | ; | 95 | DutilUninitialize(); |
94 | } | 96 | } |
95 | }; | 97 | }; |
96 | } | 98 | } |