Microsoft.Protocols.TestSuites.SharedTestSuite.SharedTestSuiteBase.MSFSSHTTP_FSSHTTPBTestCleanup C# (CSharp) Method

MSFSSHTTP_FSSHTTPBTestCleanup() private method

private MSFSSHTTP_FSSHTTPBTestCleanup ( ) : void
return void
        public void MSFSSHTTP_FSSHTTPBTestCleanup()
        {
            if (!this.StatusManager.RollbackStatus())
            {
                this.Site.Log.Add(
                    LogEntryKind.Debug,
                    "The error message report for the clean up environments {0}", 
                    this.StatusManager.GenerateErrorMessageReport());
            }

            if (!this.StatusManager.CleanUpFiles())
            {
                this.Site.Log.Add(
                    LogEntryKind.Debug,
                    "The error message report for the clean up environments {0}", 
                    this.StatusManager.GenerateErrorMessageReport());
            }

            this.Adapter.Reset();
            SharedContext.Current.Clear();

            // Inconclusive the current case when it passes but all the Should/May properties  within it are false.
            Common.AssumeInconclusiveIfAllShouldMayPropertiesFalse(this.TestContext, this.Site);
        }