diff options
Diffstat (limited to 'src/burn/test/BurnUnitTest/BurnTestException.h')
| -rw-r--r-- | src/burn/test/BurnUnitTest/BurnTestException.h | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/burn/test/BurnUnitTest/BurnTestException.h b/src/burn/test/BurnUnitTest/BurnTestException.h index b9467926..b6055041 100644 --- a/src/burn/test/BurnUnitTest/BurnTestException.h +++ b/src/burn/test/BurnUnitTest/BurnTestException.h | |||
| @@ -2,11 +2,7 @@ | |||
| 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 | 4 | ||
| 5 | namespace Microsoft | 5 | namespace WixToolset |
| 6 | { | ||
| 7 | namespace Tools | ||
| 8 | { | ||
| 9 | namespace WindowsInstallerXml | ||
| 10 | { | 6 | { |
| 11 | namespace Test | 7 | namespace Test |
| 12 | { | 8 | { |
| @@ -35,8 +31,6 @@ namespace Bootstrapper | |||
| 35 | } | 31 | } |
| 36 | } | 32 | } |
| 37 | } | 33 | } |
| 38 | } | ||
| 39 | } | ||
| 40 | 34 | ||
| 41 | // this class is used by __TestThrowOnFailure_Format() below to deallocate | 35 | // this class is used by __TestThrowOnFailure_Format() below to deallocate |
| 42 | // the string created after the function call has returned | 36 | // the string created after the function call has returned |
| @@ -83,6 +77,6 @@ LExit: | |||
| 83 | } | 77 | } |
| 84 | #pragma warning (pop) | 78 | #pragma warning (pop) |
| 85 | 79 | ||
| 86 | #define TestThrowOnFailure(hr, s) if (FAILED(hr)) { throw gcnew Microsoft::Tools::WindowsInstallerXml::Test::Bootstrapper::BurnTestException(hr, gcnew System::String(s)); } | 80 | #define TestThrowOnFailure(hr, s) if (FAILED(hr)) { throw gcnew WixToolset::Test::Bootstrapper::BurnTestException(hr, gcnew System::String(s)); } |
| 87 | #define TestThrowOnFailure1(hr, s, p) if (FAILED(hr)) { throw gcnew Microsoft::Tools::WindowsInstallerXml::Test::Bootstrapper::BurnTestException(hr, gcnew System::String(__TestThrowOnFailure_Format(s, p))); } | 81 | #define TestThrowOnFailure1(hr, s, p) if (FAILED(hr)) { throw gcnew WixToolset::Test::Bootstrapper::BurnTestException(hr, gcnew System::String(__TestThrowOnFailure_Format(s, p))); } |
| 88 | #define TestThrowOnFailure2(hr, s, p1, p2) if (FAILED(hr)) { throw gcnew Microsoft::Tools::WindowsInstallerXml::Test::Bootstrapper::BurnTestException(hr, gcnew System::String(__TestThrowOnFailure_Format(s, p1, p2))); } | 82 | #define TestThrowOnFailure2(hr, s, p1, p2) if (FAILED(hr)) { throw gcnew WixToolset::Test::Bootstrapper::BurnTestException(hr, gcnew System::String(__TestThrowOnFailure_Format(s, p1, p2))); } |
