1   /*
2    * DomHandlerTest.java
3    * JUnit based test
4    *
5    * Created on December 21, 2004, 3:18 PM
6    */
7   
8   package gov.noaa.eds.xapi.generic;
9   
10  import junit.framework.*;
11  import org.w3c.dom.Document;
12  import org.w3c.dom.Node;
13  
14  /***
15   *
16   * @author tns
17   */
18  public class DomHandlerTest extends TestCase {
19      
20      public DomHandlerTest(String testName) {
21          super(testName);
22      }
23  
24      protected void setUp() throws java.lang.Exception {
25      }
26  
27      protected void tearDown() throws java.lang.Exception {
28      }
29  
30      public static junit.framework.Test suite() {
31          junit.framework.TestSuite suite = new junit.framework.TestSuite(DomHandlerTest.class);
32          
33          return suite;
34      }
35  
36      /***
37       * Test of getResourceAsDocument method, of class gov.noaa.eds.xapi.generic.DomHandler.
38       */
39      public void testGetResourceAsDocument() {
40          System.out.println("testGetResourceAsDocument");
41          
42          // TODO add your test code below by replacing the default call to fail.
43          fail("The test case is empty.");
44      }
45  
46      /***
47       * Test of setResourceAsNode method, of class gov.noaa.eds.xapi.generic.DomHandler.
48       */
49      public void testSetResourceAsNode() {
50          System.out.println("testSetResourceAsNode");
51          
52          // TODO add your test code below by replacing the default call to fail.
53          fail("The test case is empty.");
54      }
55  
56      /***
57       * Generated implementation of abstract class gov.noaa.eds.xapi.generic.DomHandler. Please fill dummy bodies of generated methods.
58       */
59      private class DomHandlerImpl implements DomHandler {
60  
61          public org.w3c.dom.Document getResourceAsDocument() {
62              // TODO fill the body in order to provide useful implementation
63              
64              return null;
65          }
66  
67          public void setResourceAsNode(org.w3c.dom.Node node) {
68              // TODO fill the body in order to provide useful implementation
69              
70          }
71      }
72  
73      
74      // TODO add test methods here. The name must begin with 'test'. For example:
75      // public void testHello() {}
76      
77  }