Ejemplo n.º 1
0
        public void ConstractorTest()
        {
            var conf = new Nome.Configuration.Settings.Manager();

            Assert.AreNotEqual(0, conf.Configuration.Language.Length);
            Assert.AreNotEqual(0, conf.Configuration.Connection.Host.Length);
            Assert.AreNotEqual(0, conf.Configuration.Connection.User.Length);
            Assert.AreNotEqual(0, conf.Configuration.Connection.Password.Length);
        }
Ejemplo n.º 2
0
        public void ParamatersTest()
        {
            var conf = new Nome.Configuration.Settings.Manager();
            var lang = new Nome.Configuration.Language.Manager(conf.Configuration.Language);

            lang.ReadLanguage("ja");

            var common = new CommonTest();

            Assert.AreEqual(common.ParamatersTest(lang.Language), "");
        }