summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Test/AssemblyTesting.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/DotNetOpenAuth.Test/AssemblyTesting.cs')
-rw-r--r--src/DotNetOpenAuth.Test/AssemblyTesting.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth.Test/AssemblyTesting.cs b/src/DotNetOpenAuth.Test/AssemblyTesting.cs
new file mode 100644
index 0000000..d3ecb8d
--- /dev/null
+++ b/src/DotNetOpenAuth.Test/AssemblyTesting.cs
@@ -0,0 +1,21 @@
+//-----------------------------------------------------------------------
+// <copyright file="AssemblyTesting.cs" company="Andrew Arnott">
+// Copyright (c) Andrew Arnott. All rights reserved.
+// </copyright>
+//-----------------------------------------------------------------------
+
+namespace DotNetOpenAuth.Test {
+ using System.Diagnostics.Contracts;
+ using Microsoft.VisualStudio.TestTools.UnitTesting;
+
+ [TestClass]
+ public class AssemblyTesting {
+ [AssemblyInitialize]
+ public static void AssemblyInitialize(TestContext tc) {
+ Contract.ContractFailed += (sender, e) => {
+ e.Handled = true;
+ Assert.Fail(e.FailureKind.ToString() + ": " + e.DebugMessage);
+ };
+ }
+ }
+}