diff Lang/TranslationTest.cs @ 15:e3e4f7a92f8b

Re #31: Break out Translations for language to own class * Add tests for translation sets Re #30: Improve Translations API * Add more tests
author IBBoard <dev@ibboard.co.uk>
date Tue, 06 Apr 2010 15:43:08 +0000
parents 15cf2fe2a627
children bcb6e83752a6
line wrap: on
line diff
--- a/Lang/TranslationTest.cs	Tue Apr 06 14:40:35 2010 +0000
+++ b/Lang/TranslationTest.cs	Tue Apr 06 15:43:08 2010 +0000
@@ -64,5 +64,11 @@
 			Translation.Translate(translatable);
 			Assert.AreEqual("Test String", translatable.Text);
 		}
+		
+		[Test()]
+		public void TestResetDoesNotCauseErrors()
+		{
+			Assert.AreEqual("++ Missing Translation missingID ++", Translation.GetTranslation("missingID"));
+		}
 	}
 }