blob: 3de30e473b0cadd5b8a5db00e7cd8547fcad1c6e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package uk.ac.ox.cs.pagoda.util;
import org.testng.annotations.Test;
public class SimpleProgressBarTester {
@Test
public void test() throws InterruptedException {
SimpleProgressBar simpleProgressBar = new SimpleProgressBar("TestBar", 1000);
for(int i = 0; i < 1000; i++) {
simpleProgressBar.update(i);
Thread.sleep(10);
}
simpleProgressBar.dispose();
}
}
|