org.exist.xquery.value.test
Class DateTimeTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.exist.xquery.value.test.AbstractTimeRelatedTestCase
              extended by org.exist.xquery.value.test.DateTimeTest
All Implemented Interfaces:
junit.framework.Test

public class DateTimeTest
extends AbstractTimeRelatedTestCase

note: some of these tests rely on local timezone override to -05:00, done in super.setUp()

Author:
Piotr Kaminski

Constructor Summary
DateTimeTest()
           
 
Method Summary
 void bugtestStringFormat3()
           
 void testAdjustedToTimezone1()
           
 void testAdjustedToTimezone10()
           
 void testAdjustedToTimezone2()
           
 void testAdjustedToTimezone3()
           
 void testAdjustedToTimezone4()
           
 void testAdjustedToTimezone5()
           
 void testAdjustedToTimezone6()
           
 void testAdjustedToTimezone7()
           
 void testAdjustedToTimezone8()
           
 void testAdjustedToTimezone9()
           
 void testCompare1()
           
 void testCompare2()
           
 void testCompare3()
           
 void testCompare4()
           
 void testCompare5()
           
 void testCompare6()
           
 void testCompare7()
           
 void testConvert1()
           
 void testConvert2()
           
 void testConvert3()
           
 void testConvert4()
           
 void testConvert5()
           
 void testConvert6()
           
 void testConvert7()
           
 void testCreate1()
           
 void testCreate2()
           
 void testGetPart1()
           
 void testGetPart2()
           
 void testGetTimezone1()
           
 void testGetTimezone2()
           
 void testGetTimezone3()
           
 void testGetTimezone4()
           
 void testGetType()
           
 void testMinMax1()
           
 void testMinus1()
           
 void testMinus2()
           
 void testMinus3()
           
 void testPlus1()
           
 void testPlus2()
           
 void testPlus3()
           
 void testPlus4()
           
 void testStringFormat1()
           
 void testStringFormat2()
           
 void testStringFormat4()
           
 void testStringFormat5()
           
 void testStringFormat6()
           
 void testStringFormat7()
           
 void testStringFormat8()
           
 void testWithoutTimezone1()
           
 void testWithoutTimezone2()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, 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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DateTimeTest

public DateTimeTest()
Method Detail

testCreate1

public void testCreate1()

testCreate2

public void testCreate2()

testStringFormat1

public void testStringFormat1()
                       throws XPathException
Throws:
XPathException

testStringFormat2

public void testStringFormat2()
                       throws XPathException
Throws:
XPathException

bugtestStringFormat3

public void bugtestStringFormat3()
                          throws XPathException
Throws:
XPathException

testStringFormat4

public void testStringFormat4()
                       throws XPathException
Throws:
XPathException

testStringFormat5

public void testStringFormat5()
                       throws XPathException
Throws:
XPathException

testStringFormat6

public void testStringFormat6()
                       throws XPathException
Throws:
XPathException

testStringFormat7

public void testStringFormat7()
                       throws XPathException
Throws:
XPathException

testStringFormat8

public void testStringFormat8()
                       throws XPathException
Throws:
XPathException

testGetPart1

public void testGetPart1()
                  throws XPathException
Throws:
XPathException

testGetPart2

public void testGetPart2()
                  throws XPathException
Throws:
XPathException

testConvert1

public void testConvert1()
                  throws XPathException
Throws:
XPathException

testConvert2

public void testConvert2()
                  throws XPathException
Throws:
XPathException

testConvert3

public void testConvert3()
                  throws XPathException
Throws:
XPathException

testConvert4

public void testConvert4()
                  throws XPathException
Throws:
XPathException

testConvert5

public void testConvert5()
                  throws XPathException
Throws:
XPathException

testConvert6

public void testConvert6()
                  throws XPathException
Throws:
XPathException

testConvert7

public void testConvert7()
                  throws XPathException
Throws:
XPathException

testGetType

public void testGetType()
                 throws XPathException
Throws:
XPathException

testGetTimezone1

public void testGetTimezone1()
                      throws XPathException
Throws:
XPathException

testGetTimezone2

public void testGetTimezone2()
                      throws XPathException
Throws:
XPathException

testGetTimezone3

public void testGetTimezone3()
                      throws XPathException
Throws:
XPathException

testGetTimezone4

public void testGetTimezone4()
                      throws XPathException
Throws:
XPathException

testWithoutTimezone1

public void testWithoutTimezone1()
                          throws XPathException
Throws:
XPathException

testWithoutTimezone2

public void testWithoutTimezone2()
                          throws XPathException
Throws:
XPathException

testAdjustedToTimezone1

public void testAdjustedToTimezone1()
                             throws XPathException
Throws:
XPathException

testAdjustedToTimezone2

public void testAdjustedToTimezone2()
                             throws XPathException
Throws:
XPathException

testAdjustedToTimezone3

public void testAdjustedToTimezone3()
                             throws XPathException
Throws:
XPathException

testAdjustedToTimezone4

public void testAdjustedToTimezone4()
                             throws XPathException
Throws:
XPathException

testAdjustedToTimezone5

public void testAdjustedToTimezone5()
                             throws XPathException
Throws:
XPathException

testAdjustedToTimezone6

public void testAdjustedToTimezone6()
                             throws XPathException
Throws:
XPathException

testAdjustedToTimezone7

public void testAdjustedToTimezone7()
                             throws XPathException
Throws:
XPathException

testAdjustedToTimezone8

public void testAdjustedToTimezone8()
                             throws XPathException
Throws:
XPathException

testAdjustedToTimezone9

public void testAdjustedToTimezone9()
                             throws XPathException
Throws:
XPathException

testAdjustedToTimezone10

public void testAdjustedToTimezone10()
                              throws XPathException
Throws:
XPathException

testCompare1

public void testCompare1()
                  throws XPathException
Throws:
XPathException

testCompare2

public void testCompare2()
                  throws XPathException
Throws:
XPathException

testCompare3

public void testCompare3()
                  throws XPathException
Throws:
XPathException

testCompare4

public void testCompare4()
                  throws XPathException
Throws:
XPathException

testCompare5

public void testCompare5()
                  throws XPathException
Throws:
XPathException

testCompare6

public void testCompare6()
                  throws XPathException
Throws:
XPathException

testCompare7

public void testCompare7()
                  throws XPathException
Throws:
XPathException

testMinMax1

public void testMinMax1()
                 throws XPathException
Throws:
XPathException

testPlus1

public void testPlus1()
               throws XPathException
Throws:
XPathException

testPlus2

public void testPlus2()
               throws XPathException
Throws:
XPathException

testPlus3

public void testPlus3()
               throws XPathException
Throws:
XPathException

testPlus4

public void testPlus4()
               throws XPathException
Throws:
XPathException

testMinus1

public void testMinus1()
                throws XPathException
Throws:
XPathException

testMinus2

public void testMinus2()
                throws XPathException
Throws:
XPathException

testMinus3

public void testMinus3()
                throws XPathException
Throws:
XPathException


Copyright (C) Wolfgang Meier. All rights reserved.