java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.chiba.test.xml.util.DOMComparatorPerformanceTest
- All Implemented Interfaces:
- junit.framework.Test
- public class DOMComparatorPerformanceTest
- extends junit.framework.TestCase
The performance test for the DOM Comparator implementation.
- Version:
- $Id: DOMComparatorPerformanceTest.java,v 1.1 2003/09/11 21:02:26 joernt Exp $
| Fields inherited from class junit.framework.TestCase |
|
| Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
testDocument1
private org.w3c.dom.Document testDocument1
testDocument2
private org.w3c.dom.Document testDocument2
performanceLaps
private int performanceLaps
DOMComparatorPerformanceTest
public DOMComparatorPerformanceTest(java.lang.String name)
setUp
protected void setUp()
throws java.lang.Exception
- Description copied from class:
junit.framework.TestCase
- Sets up the fixture, for example, open a network connection.
This method is called before a test is executed.
testComparisonByEqualsPerformance
public void testComparisonByEqualsPerformance()
throws java.lang.Exception
testComparisonByHashCodePerformance
public void testComparisonByHashCodePerformance()
throws java.lang.Exception
testComparisonByInternPerformance
public void testComparisonByInternPerformance()
throws java.lang.Exception
suite
public static junit.framework.Test suite()
main
public static void main(java.lang.String[] args)