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; }
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-2015 Atlassian. All Rights Reserved.