summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Test/AssemblyTesting.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-05-21 21:31:33 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2009-05-21 21:31:33 -0700
commit168d4ca66ae025408995315e30bae355deb06d41 (patch)
treee4d8eefaecdd0bd7108b8ebe672cfd45354f2482 /src/DotNetOpenAuth.Test/AssemblyTesting.cs
parent510723cc2773ad3f1e306001310d7a8b28e89d1a (diff)
downloadDotNetOpenAuth-168d4ca66ae025408995315e30bae355deb06d41.zip
DotNetOpenAuth-168d4ca66ae025408995315e30bae355deb06d41.tar.gz
DotNetOpenAuth-168d4ca66ae025408995315e30bae355deb06d41.tar.bz2
Updated to Code Contracts 1.2.20518.12, and fixed a couple of lingering FxCop messages.
Diffstat (limited to 'src/DotNetOpenAuth.Test/AssemblyTesting.cs')
-rw-r--r--src/DotNetOpenAuth.Test/AssemblyTesting.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DotNetOpenAuth.Test/AssemblyTesting.cs b/src/DotNetOpenAuth.Test/AssemblyTesting.cs
index 1d8f521..d0868d2 100644
--- a/src/DotNetOpenAuth.Test/AssemblyTesting.cs
+++ b/src/DotNetOpenAuth.Test/AssemblyTesting.cs
@@ -16,9 +16,9 @@ namespace DotNetOpenAuth.Test {
Contract.ContractFailed += (sender, e) => {
if (e.FailureKind == ContractFailureKind.Precondition) {
// Currently we ignore these so that the regular ErrorUtilities can kick in.
- e.Handled = true;
+ e.SetHandled();
} else {
- e.Handled = true;
+ e.SetHandled();
Assert.Fail(e.FailureKind.ToString() + ": " + e.Message);
}
};