TeamMentor.UnitTests.TM_Website.Tests_Config.RunAfterAllTests C# (CSharp) Method

RunAfterAllTests() private method

private RunAfterAllTests ( ) : void
return void
        public void RunAfterAllTests()
        {
        }

Usage Example

Example #1
0
        public void RunBeforeAllTests()
        {
            Assert.IsFalse(O2ConfigSettings.CheckForTempDirMaxSizeCheck);
            Assert.IsTrue(PublicDI.log.LogRedirectionTarget.alsoShowInConsole);

            O2ConfigSettings.CheckForTempDirMaxSizeCheck        = true;
            PublicDI.log.LogRedirectionTarget.alsoShowInConsole = false;

            Assert.IsTrue(O2ConfigSettings.CheckForTempDirMaxSizeCheck);
            Assert.IsFalse(PublicDI.log.LogRedirectionTarget.alsoShowInConsole);

            var testsConfig = new Tests_Config();
            testsConfig.RunBeforeAllTests();
            testsConfig.RunAfterAllTests();

            Assert.IsFalse(O2ConfigSettings.CheckForTempDirMaxSizeCheck);
            Assert.IsTrue(PublicDI.log.LogRedirectionTarget.alsoShowInConsole);
        }
All Usage Examples Of TeamMentor.UnitTests.TM_Website.Tests_Config::RunAfterAllTests