committed Doug's Rocksim loader
[debian/openrocket] / test / net / sf / openrocket / file / rocksim / RocksimContentHandlerTest.java
1 /*
2  * RocksimContentHandlerTest.java
3  */
4 package net.sf.openrocket.file.rocksim;
5
6 import junit.framework.Test;
7 import junit.framework.TestSuite;
8 import junit.framework.TestCase;
9
10 /**
11  * RocksimContentHandler Tester.
12  *
13  */
14 public class RocksimContentHandlerTest extends TestCase {
15
16     /**
17      * The class under test.
18      */
19     public static final Class classUT = RocksimContentHandler.class;
20
21     /**
22      * The test class (this class).
23      */
24     public static final Class testClass = RocksimContentHandlerTest.class;
25
26     /**
27      * Create a test suite of all tests within this test class.
28      *
29      * @return a suite of tests
30      */
31     public static Test suite() {
32         return new TestSuite(RocksimContentHandlerTest.class);
33     }
34
35     /**
36      * Test constructor.
37      *
38      * @param name the name of the test to run.
39      */
40     public RocksimContentHandlerTest(String name) {
41         super(name);
42     }
43
44     /**
45      * Setup the fixture.
46      */
47     public void setUp() throws Exception {
48         super.setUp();
49     }
50
51     /**
52      * Teardown the fixture.
53      */
54     public void tearDown() throws Exception {
55         super.tearDown();
56     }
57
58     /**
59      *
60      * Method: getDocument()
61      *
62      * @throws Exception  thrown if something goes awry
63      */
64     public void testGetDocument() throws Exception {
65         RocksimContentHandler handler = new RocksimContentHandler();
66         assertNotNull(handler.getDocument());
67     }
68
69 }