org.exist.xquery.value.test
Class AbstractTimeRelatedTestCase

java.lang.Object
  extended byTestCase
      extended byorg.exist.xquery.value.test.AbstractTimeRelatedTestCase
Direct Known Subclasses:
DateTest, DateTimeTest, DayTimeDurationTest, DurationTest, TimeTest, YearMonthDurationTest

public abstract class AbstractTimeRelatedTestCase
extends TestCase

See Also:
Serialized Form

Constructor Summary
AbstractTimeRelatedTestCase()
           
 
Method Summary
protected  void assertDateEquals(AbstractDateTimeValue v1, AtomicValue v2)
           
protected  void assertDurationEquals(DurationValue dv1, AtomicValue dv2)
           
protected  void checkMinMaxFails(DurationValue a, DurationValue b)
           
protected  DayTimeDurationValue getLocalTimezoneDuration()
           
protected  java.lang.String getLocalTimezoneOffset()
           
protected  void setUp()
           
protected  void tearDown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTimeRelatedTestCase

public AbstractTimeRelatedTestCase()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Throws:
java.lang.Exception

checkMinMaxFails

protected void checkMinMaxFails(DurationValue a,
                                DurationValue b)

assertDurationEquals

protected void assertDurationEquals(DurationValue dv1,
                                    AtomicValue dv2)
                             throws XPathException
Throws:
XPathException

assertDateEquals

protected void assertDateEquals(AbstractDateTimeValue v1,
                                AtomicValue v2)
                         throws XPathException
Throws:
XPathException

getLocalTimezoneDuration

protected DayTimeDurationValue getLocalTimezoneDuration()
                                                 throws XPathException
Throws:
XPathException

getLocalTimezoneOffset

protected java.lang.String getLocalTimezoneOffset()
                                           throws XPathException
Throws:
XPathException


<oXygen/> XML Editor provides support for editing and debugging XQuery expressions against the eXist XML Database.