コード例 #1
0
 protected void setUp() throws Exception {
   super.setUp();
   try {
     factory = new DOMDocumentBuilderFactory(DOMDocumentBuilderFactory.getConfiguration1());
     builder = factory.getBuilder();
   } catch (Exception e) {
     fail("Unexpected exception" + e.getMessage());
   }
 }
コード例 #2
0
 protected void setUp() throws Exception {
   super.setUp();
   try {
     // Changed to configuration #2. This test case just doesn't make
     // sense without a namespace-aware parser. It actually fails even
     // on the JDK in that case.
     factory = new DOMDocumentBuilderFactory(DOMDocumentBuilderFactory.getConfiguration2());
     builder = factory.getBuilder();
   } catch (Exception e) {
     fail("Unexpected exception" + e.getMessage());
   }
 }
コード例 #3
0
 public void assertURIEquals(
     String assertID,
     String scheme,
     String path,
     String host,
     String file,
     String name,
     String query,
     String fragment,
     Boolean isAbsolute,
     String actual) {
   test.assertURIEquals(
       assertID, scheme, path, host, file, name, query, fragment, isAbsolute, actual);
 }
コード例 #4
0
 public void assertNotNull(String assertID, Object actual) {
   test.assertNotNull(assertID, actual);
 }
コード例 #5
0
 public void assertSame(String assertID, Object expected, Object actual) {
   test.assertSame(assertID, expected, actual);
 }
コード例 #6
0
 public void assertEquals(String assertID, Collection expected, NodeList actual) {
   test.assertEquals(assertID, expected, actual);
 }
コード例 #7
0
 public boolean equalsIgnoreCase(List expected, List actual) {
   return test.equalsIgnoreCase(expected, actual);
 }
コード例 #8
0
 public void assertEqualsIgnoreCase(String assertID, List expected, List actual) {
   test.assertEqualsIgnoreCase(assertID, expected, actual);
 }
コード例 #9
0
 public void assertEquals(String assertID, double expected, double actual) {
   test.assertEquals(assertID, expected, actual);
 }
コード例 #10
0
 public int size(Collection collection) {
   return test.size(collection);
 }
コード例 #11
0
 public void assertSize(String assertID, int expectedSize, Collection collection) {
   test.assertSize(assertID, expectedSize, collection);
 }
コード例 #12
0
 public boolean equals(Collection expected, Collection actual) {
   return test.equals(expected, actual);
 }
コード例 #13
0
 public boolean equals(List expected, List actual) {
   return test.equals(expected, actual);
 }
コード例 #14
0
 public boolean equals(double expected, double actual) {
   return test.equals(expected, actual);
 }
コード例 #15
0
 public boolean equals(int expected, int actual) {
   return test.equals(expected, actual);
 }
コード例 #16
0
 public boolean equals(String expected, String actual) {
   return test.equals(expected, actual);
 }
コード例 #17
0
 public void assertInstanceOf(String assertID, Class cls, Object obj) {
   test.assertInstanceOf(assertID, cls, obj);
 }
コード例 #18
0
 public int size(NamedNodeMap collection) {
   return test.size(collection);
 }
コード例 #19
0
 public void assertSize(String assertID, int expectedSize, NamedNodeMap collection) {
   test.assertSize(assertID, expectedSize, collection);
 }
コード例 #20
0
 public int size(NodeList collection) {
   return test.size(collection);
 }
コード例 #21
0
 public void assertEqualsIgnoreCase(String assertID, Collection expected, Collection actual) {
   test.assertEqualsIgnoreCase(assertID, expected, actual);
 }
コード例 #22
0
 public DOMImplementation getImplementation() {
   return test.getImplementation();
 }
コード例 #23
0
 public void assertEquals(String assertID, int expected, int actual) {
   test.assertEquals(assertID, expected, actual);
 }
コード例 #24
0
 public boolean equalsIgnoreCase(String expected, String actual) {
   return test.equalsIgnoreCase(expected, actual);
 }
コード例 #25
0
 public void assertEquals(String assertID, boolean expected, boolean actual) {
   test.assertEquals(assertID, expected, actual);
 }
コード例 #26
0
 public boolean same(Object expected, Object actual) {
   return test.same(expected, actual);
 }
コード例 #27
0
 public void wait(int millisecond) {
   test.wait(millisecond);
 }
コード例 #28
0
 public boolean equalsIgnoreCase(Collection expected, Collection actual) {
   return test.equalsIgnoreCase(expected, actual);
 }
コード例 #29
0
 protected void tearDown() throws Exception {
   factory = null;
   builder = null;
   super.tearDown();
 }
コード例 #30
0
 public void assertFalse(String assertID, boolean actual) {
   test.assertFalse(assertID, actual);
 }