Package com.atlassian.jira.webtests.util
Class TimeBomb
java.lang.Object
com.atlassian.jira.webtests.util.TimeBomb
Allows you to ignore a failing test for a limited amount of time.
After the "explosion date", the test will be run again.
Usage:
// TODO: fix the test and remove the Time Bomb if (new TimeBomb("31/3/2010").ignoreTest()) { log("Ignoring MyTest.testStuff() temporarily."); return; }
- Since:
- v4.3
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TimeBomb
Creates a TimeBomb with teh given explosion date.- Parameters:
date
- Date to stop ignoring test in format dd/MM/yyyy
-
-
Method Details
-
ignoreTest
public boolean ignoreTest() -
runTest
public boolean runTest() -
runAfter
-