|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| FontChooserTest.java | - | 0% | 0% | 0% |
|
||||||||||||||
| 1 |
package example;
|
|
| 2 |
|
|
| 3 |
import java.io.File;
|
|
| 4 |
|
|
| 5 |
import junit.extensions.abbot.*;
|
|
| 6 |
import junit.framework.Test;
|
|
| 7 |
import abbot.Log;
|
|
| 8 |
|
|
| 9 |
/** Collects scripts which test the FontChooser GUI component. */
|
|
| 10 |
|
|
| 11 |
public class FontChooserTest extends ScriptFixture { |
|
| 12 |
|
|
| 13 | 0 |
public FontChooserTest(String filename) {
|
| 14 | 0 |
super(filename);
|
| 15 |
} |
|
| 16 |
|
|
| 17 |
/** Provide a default test suite for this test case. */
|
|
| 18 | 0 |
public static Test suite() { |
| 19 | 0 |
return new ScriptTestSuite(FontChooserTest.class, |
| 20 |
"src/example/scripts/FontChooser") {
|
|
| 21 | 0 |
public boolean accept(File file) { |
| 22 | 0 |
return super.accept(file) |
| 23 |
&& !file.getName().equals("fixture.xml");
|
|
| 24 |
} |
|
| 25 |
}; |
|
| 26 |
} |
|
| 27 |
|
|
| 28 | 0 |
public static void main(String[] args) { |
| 29 | 0 |
TestHelper.runTests(args, FontChooserTest.class);
|
| 30 |
} |
|
| 31 |
} |
|
| 32 |
|
|
||||||||||