summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Test/Configuration/SectionTests.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2010-01-08 13:32:17 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2010-01-08 13:32:17 -0800
commitc09c717665b8bb08bde6b3741b2d7a21242ffb6c (patch)
tree871a9c53bb4a90398e593dd89fa544083b8a5d89 /src/DotNetOpenAuth.Test/Configuration/SectionTests.cs
parent64eeddafbcb546ff0a175675d55dc8c8ee4ec141 (diff)
parent623f8a1e53a1fd1bb58f540c226d1538dc5e86a5 (diff)
downloadDotNetOpenAuth-c09c717665b8bb08bde6b3741b2d7a21242ffb6c.zip
DotNetOpenAuth-c09c717665b8bb08bde6b3741b2d7a21242ffb6c.tar.gz
DotNetOpenAuth-c09c717665b8bb08bde6b3741b2d7a21242ffb6c.tar.bz2
Merge branch 'nunit' into master-Dev10
Diffstat (limited to 'src/DotNetOpenAuth.Test/Configuration/SectionTests.cs')
-rw-r--r--src/DotNetOpenAuth.Test/Configuration/SectionTests.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/DotNetOpenAuth.Test/Configuration/SectionTests.cs b/src/DotNetOpenAuth.Test/Configuration/SectionTests.cs
index 73aad6d..e423053 100644
--- a/src/DotNetOpenAuth.Test/Configuration/SectionTests.cs
+++ b/src/DotNetOpenAuth.Test/Configuration/SectionTests.cs
@@ -9,11 +9,11 @@ namespace DotNetOpenAuth.Test.Configuration {
using System.Linq;
using DotNetOpenAuth.Configuration;
using DotNetOpenAuth.OpenId;
- using Microsoft.VisualStudio.TestTools.UnitTesting;
+ using NUnit.Framework;
- [TestClass]
+ [TestFixture]
public class SectionTests {
- [TestMethod]
+ [TestCase]
public void UntrustedWebRequest() {
var uwr = DotNetOpenAuthSection.Configuration.Messaging.UntrustedWebRequest;
@@ -29,12 +29,12 @@ namespace DotNetOpenAuth.Test.Configuration {
Assert.IsTrue(uwr.WhitelistHostsRegex.KeysAsStrings.Contains(".+trusted.+"));
}
- [TestMethod]
+ [TestCase]
public void OpenIdMaxAuthenticationTime() {
Assert.AreEqual(TimeSpan.Parse("00:08:17"), DotNetOpenAuthSection.Configuration.OpenId.MaxAuthenticationTime);
}
- [TestMethod]
+ [TestCase]
public void OpenIdRelyingParty() {
var rp = DotNetOpenAuthSection.Configuration.OpenId.RelyingParty;
Assert.IsNull(rp.ApplicationStore.CustomType);
@@ -45,7 +45,7 @@ namespace DotNetOpenAuth.Test.Configuration {
Assert.IsFalse(rp.SecuritySettings.RequireSsl);
}
- [TestMethod]
+ [TestCase]
public void OpenIdProvider() {
var op = DotNetOpenAuthSection.Configuration.OpenId.Provider;
Assert.IsNull(op.ApplicationStore.CustomType);