예제 #1
0
        public void SetUp_TearDown()
        {
            var testsConfig = new Tests_Config();
            testsConfig.RunBeforeAllTests();

            Assert.IsFalse  (O2ConfigSettings.CheckForTempDirMaxSizeCheck);
            Assert.IsNotNull(PublicDI.log.LogRedirectionTarget);
            Assert.IsTrue   (PublicDI.log.LogRedirectionTarget.alsoShowInConsole);
            Assert.IsTrue   (TM_Xml_Database.SkipServerOnlineCheck);
            Assert.IsNotNull(TMConfig.Current);

            testsConfig.RunAfterAllTests();
            //nothing to test since there is nothing here
        }
예제 #2
0
        public void SetUp_TearDown()
        {
            var testsConfig = new Tests_Config();

            testsConfig.RunBeforeAllTests();

            Assert.IsFalse(O2ConfigSettings.CheckForTempDirMaxSizeCheck);
            Assert.IsNotNull(PublicDI.log.LogRedirectionTarget);
            Assert.IsTrue(PublicDI.log.LogRedirectionTarget.alsoShowInConsole);
            Assert.IsTrue(TM_Xml_Database.SkipServerOnlineCheck);
            Assert.IsNotNull(TMConfig.Current);

            testsConfig.RunAfterAllTests();
            //nothing to test since there is nothing here
        }