コード例 #1
0
ファイル: Tests_Config.cs プロジェクト: TeamMentor/Dev
        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
ファイル: Tests_Config.cs プロジェクト: alexandrustanimir/Dev
        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
        }