public void TestInconsistentLanguageString() { ConfigTools.InitConf("Config.xml"); try { ConfigTools.SetLanguage("coucou"); } catch (LanguageException e) { Console.WriteLine(e.Message); throw; } }
public void TestNullCultureInfo() { ConfigTools.InitConf("Config.xml"); try { ConfigTools.SetLanguage((CultureInfo)null); } catch (LanguageException e) { Console.WriteLine(e.Message); throw; } }
public void TestNullLanguageString() { ConfigTools.InitConf("Config.xml"); try { ConfigTools.SetLanguage((string)null); } catch (LanguageException e) { Console.WriteLine(e.Message); throw; } }