diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2010-01-06 10:16:56 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2010-01-06 10:16:56 -0800 |
commit | 408d636335d73d5520bc1f9fbfdab224d492b7cf (patch) | |
tree | 387094f2e46e51dc762c6cfab0dc52cb07b3a386 /src/DotNetOpenAuth.Test/LocalizationTests.cs | |
parent | 76d037863734a7ba814c5fefdf067755127adb03 (diff) | |
download | DotNetOpenAuth-408d636335d73d5520bc1f9fbfdab224d492b7cf.zip DotNetOpenAuth-408d636335d73d5520bc1f9fbfdab224d492b7cf.tar.gz DotNetOpenAuth-408d636335d73d5520bc1f9fbfdab224d492b7cf.tar.bz2 |
First test converted to NUnit.
Diffstat (limited to 'src/DotNetOpenAuth.Test/LocalizationTests.cs')
-rw-r--r-- | src/DotNetOpenAuth.Test/LocalizationTests.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DotNetOpenAuth.Test/LocalizationTests.cs b/src/DotNetOpenAuth.Test/LocalizationTests.cs index 50e9a34..26b49cf 100644 --- a/src/DotNetOpenAuth.Test/LocalizationTests.cs +++ b/src/DotNetOpenAuth.Test/LocalizationTests.cs @@ -9,17 +9,17 @@ namespace DotNetOpenAuth.Test { using System.Globalization; using System.Threading; using DotNetOpenAuth.Messaging; - using Microsoft.VisualStudio.TestTools.UnitTesting; + using NUnit.Framework; /// <summary> /// Tests various localized resources work as expected. /// </summary> - [TestClass] + [TestFixture] public class LocalizationTests { /// <summary> /// Tests that Serbian localized strings are correctly installed. /// </summary> - [TestMethod, ExpectedException(typeof(InvalidOperationException), "Ovaj metod zahteva tekući HttpContext. Kao alternativa, koristite preklopljeni metod koji dozvoljava da se prosledi informacija bez HttpContext-a.")] + [TestCase, ExpectedException(typeof(InvalidOperationException), ExpectedMessage = "Ovaj metod zahteva tekući HttpContext. Kao alternativa, koristite preklopljeni metod koji dozvoljava da se prosledi informacija bez HttpContext-a.")] public void Serbian() { Thread.CurrentThread.CurrentUICulture = CultureInfo.GetCultureInfo("sr"); ErrorUtilities.VerifyHttpContext(); |