01: // Copyright (C) 2003,2004,2005 by Object Mentor, Inc. All rights reserved.
02: // Released under the terms of the GNU General Public License version 2 or later.
03: package fitnesse.fixtures;
04:
05: import fit.*;
06:
07: public class Sleep extends Fixture {
08: public void doTable(Parse table) {
09: String args[] = getArgs();
10: long millis = Long.parseLong(args[0]);
11: try {
12: Thread.sleep(millis);
13: } catch (InterruptedException e) {
14: }
15: }
16: }
|