Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
more fixes
  • Loading branch information
siddhap committed Feb 20, 2018
commit 967eb99979ae46cac7c962e0d7a9ba6945a5c7a5
Original file line number Diff line number Diff line change
Expand Up @@ -362,9 +362,6 @@ public void RunClassCleanupShouldReturnAssertInconclusiveExceptionDetails()
DummyTestClass.ClassCleanupMethodBody = () => UTF.Assert.Inconclusive("Test Inconclusive.");

this.testClassInfo.ClassCleanupMethod = typeof(DummyTestClass).GetMethod("ClassCleanupMethod");
this.testClassInfo.ClassInitializeMethod = typeof(DummyTestClass).GetMethod("ClassInitializeMethod");

this.testClassInfo.RunClassInitialize(this.testContext);

StringAssert.StartsWith(
this.testClassInfo.RunClassCleanup(),
Expand All @@ -377,9 +374,6 @@ public void RunClassCleanupShouldReturnExceptionDetailsOfNonAssertExceptions()
DummyTestClass.ClassCleanupMethodBody = () => { throw new ArgumentException("Argument Exception"); };

this.testClassInfo.ClassCleanupMethod = typeof(DummyTestClass).GetMethod("ClassCleanupMethod");
this.testClassInfo.ClassInitializeMethod = typeof(DummyTestClass).GetMethod("ClassInitializeMethod");

this.testClassInfo.RunClassInitialize(this.testContext);

StringAssert.StartsWith(
this.testClassInfo.RunClassCleanup(),
Expand Down