diff options
Diffstat (limited to 'test/uk/ac/ox/cs/pagoda/util/SimpleProgressBarTester.java')
| -rw-r--r-- | test/uk/ac/ox/cs/pagoda/util/SimpleProgressBarTester.java | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/test/uk/ac/ox/cs/pagoda/util/SimpleProgressBarTester.java b/test/uk/ac/ox/cs/pagoda/util/SimpleProgressBarTester.java deleted file mode 100644 index 3de30e4..0000000 --- a/test/uk/ac/ox/cs/pagoda/util/SimpleProgressBarTester.java +++ /dev/null | |||
| @@ -1,16 +0,0 @@ | |||
| 1 | package uk.ac.ox.cs.pagoda.util; | ||
| 2 | |||
| 3 | import org.testng.annotations.Test; | ||
| 4 | |||
| 5 | public class SimpleProgressBarTester { | ||
| 6 | |||
| 7 | @Test | ||
| 8 | public void test() throws InterruptedException { | ||
| 9 | SimpleProgressBar simpleProgressBar = new SimpleProgressBar("TestBar", 1000); | ||
| 10 | for(int i = 0; i < 1000; i++) { | ||
| 11 | simpleProgressBar.update(i); | ||
| 12 | Thread.sleep(10); | ||
| 13 | } | ||
| 14 | simpleProgressBar.dispose(); | ||
| 15 | } | ||
| 16 | } | ||
