1 | public class DataCategoryPackageTests extends TestCase {↵ | | 1 | public class OHLCPackageTests extends TestCase {↵
|
|
2 | /**↵ | | 2 | /**↵
|
3 | * Returns a test suite to the JUnit test runner.↵ | | 3 | * Returns a test suite to the JUnit test runner.↵
|
4 | *↵ | | 4 | *↵
|
5 | * @return The test suite.↵ | | 5 | * @return The test suite.↵
|
6 | */↵ | | 6 | */↵
|
7 | public static Test suite() {↵ | | 7 | public static Test suite() {↵
|
8 | TestSuite suite = new TestSuite("org.jfree.data.category");↵ | | 8 | TestSuite suite = new TestSuite("org.jfree.data.time.ohlc");↵
|
9 | suite.addTestSuite(CategoryToPieDatasetTests.class);↵ | | 9 | suite.addTestSuite(OHLCItemTests.class);↵
|
10 | suite.addTestSuite(DefaultCategoryDatasetTests.class);↵ | | 10 | suite.addTestSuite(OHLCSeriesCollectionTests.class);↵
|
11 | suite.addTestSuite(DefaultIntervalCategoryDatasetTests.class);↵ | | 11 | suite.addTestSuite(OHLCSeriesTests.class);↵
|
12 | suite.addTestSuite(SlidingCategoryDatasetTests.class);↵ | | 12 | suite.addTestSuite(OHLCTests.class);↵
|
13 | return suite;↵ | | 13 | return suite;↵
|
14 | }↵ | | 14 | }↵
|
|
15 | /**↵ | | 15 | /**↵
|
16 | * Constructs the test suite.↵ | | 16 | * Constructs the test suite.↵
|
17 | *↵ | | 17 | *↵
|
18 | * @param name the test suite name.↵ | | 18 | * @param name the test suite name.↵
|
19 | */↵ | | 19 | */↵
|
20 | public DataCategoryPackageTests(String name) {↵ | | 20 | public OHLCPackageTests(String name) {↵
|
21 | super(name);↵ | | 21 | super(name);↵
|
22 | }↵ | | 22 | }↵
|
| | | 23 | ↵
|
23 | /**↵ | | 24 | /**↵
|
24 | * Runs the test suite using JUnit's text-based runner.↵ | | 25 | * Runs the test suite using JUnit's text-based runner.↵
|
25 | *↵ | | 26 | * ↵
|
26 | * @param args ignored.↵ | | 27 | * @param args ignored.↵
|
27 | */↵ | | 28 | */↵
|
28 | public static void main(String[] args) {↵ | | 29 | public static void main(String[] args) {↵
|
29 | junit.textui.TestRunner.run(suite()) | | 30 | junit.textui.TestRunner.run(suite())
|