public class TimeBomb extends Object
Usage:
 // TODO: fix the test and remove the Time Bomb
 if (new TimeBomb("31/3/2010").ignoreTest())
 {
     log("Ignoring MyTest.testStuff() temporarily.");
     return;
 }
 | Constructor and Description | 
|---|
TimeBomb(String date)
Creates a TimeBomb with teh given explosion date. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
ignoreTest()  | 
static boolean | 
runAfter(String explosionDate)  | 
boolean | 
runTest()  | 
public TimeBomb(String date)
date - Date to stop ignoring test in format dd/MM/yyyypublic boolean ignoreTest()
public boolean runTest()
public static boolean runAfter(String explosionDate)
Copyright © 2002-2018 Atlassian. All Rights Reserved.