summaryrefslogtreecommitdiff
path: root/src/internal/WixBuildTools.TestSupport/SucceededException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/WixBuildTools.TestSupport/SucceededException.cs')
-rw-r--r--src/internal/WixBuildTools.TestSupport/SucceededException.cs19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/internal/WixBuildTools.TestSupport/SucceededException.cs b/src/internal/WixBuildTools.TestSupport/SucceededException.cs
deleted file mode 100644
index 704fba28..00000000
--- a/src/internal/WixBuildTools.TestSupport/SucceededException.cs
+++ /dev/null
@@ -1,19 +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
3namespace WixBuildTools.TestSupport
4{
5 using System;
6 using Xunit.Sdk;
7
8 public class SucceededException : XunitException
9 {
10 public SucceededException(int hr, string userMessage)
11 : base(String.Format("WixAssert.Succeeded() Failure\r\n" +
12 "HRESULT: 0x{0:X8}\r\n" +
13 "Message: {1}",
14 hr, userMessage))
15 {
16 this.HResult = hr;
17 }
18 }
19}