Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jxbeans.flow_control.comparators.tests
Class DateComparatorTestCase  view DateComparatorTestCase download DateComparatorTestCase.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.jxbeans.flow_control.comparators.tests.DateComparatorTestCase
All Implemented Interfaces:
junit.framework.Test

public class DateComparatorTestCase
extends junit.framework.TestCase


Nested Class Summary
(package private)  class DateComparatorTestCase.TestBean
           
 
Field Summary
private  org.jxbeans.flow_control.comparators.DateComparator dateComparator
           
protected  org.jdom.Document document
           
private  org.jxbeans.input.XMLParser parser
           
private  int result
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
DateComparatorTestCase(java.lang.String name)
           
 
Method Summary
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
static junit.framework.Test suite()
           
protected  void tearDown()
          Tears down the fixture, for example, close a network connection.
 void testEmptyElement()
           
 void testEqual()
           
 void testGreaterThan()
           
 void testInvalidElement()
           
 void testInvalidExpression()
           
 void testLessThan()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

document

protected org.jdom.Document document

parser

private org.jxbeans.input.XMLParser parser

dateComparator

private org.jxbeans.flow_control.comparators.DateComparator dateComparator

result

private int result
Constructor Detail

DateComparatorTestCase

public DateComparatorTestCase(java.lang.String name)
Method Detail

suite

public static junit.framework.Test suite()

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.


tearDown

protected void tearDown()
                 throws java.lang.Exception
Description copied from class: junit.framework.TestCase
Tears down the fixture, for example, close a network connection. This method is called after a test is executed.


testLessThan

public void testLessThan()

testGreaterThan

public void testGreaterThan()

testEqual

public void testEqual()

testEmptyElement

public void testEmptyElement()

testInvalidElement

public void testInvalidElement()

testInvalidExpression

public void testInvalidExpression()