public void Execution_Stack_Test_No_Access_To_Other_Thread() { var SUT = new ExecutionStack(); SUT.ProcessEntry(1, Guid.NewGuid()); Assert.IsTrue(SUT.IsStackEmpty(2)); SUT.ClearStack(); }
public void Execution_Stack_Test_Clear_Stack() { var SUT = new ExecutionStack(); SUT.ProcessEntry(1, Guid.NewGuid()); SUT.ClearStack(); Assert.IsTrue(SUT.IsStackEmpty(1)); }
public void Execution_Stack_Test_Add_Guid_Makes_Stack_Nonempty() { var SUT = new ExecutionStack(); SUT.ProcessEntry(1, Guid.NewGuid()); Assert.IsTrue(!SUT.IsStackEmpty(1)); SUT.ClearStack(); }
public void Execution_Stack_Test_Method_Exception_Removes_Guid() { var SUT = new ExecutionStack(); SUT.ProcessEntry(1, Guid.NewGuid()); SUT.ProcessException(1); Assert.IsTrue(SUT.IsStackEmpty(1)); SUT.ClearStack(); }
public void Execution_Stack_Test_Defaults_To_Empty_Stack() { var SUT = new ExecutionStack(); Assert.IsTrue(SUT.IsStackEmpty(1)); }