Class TimeDurationTests

  • All Implemented Interfaces:
    junit.framework.Test

    public class TimeDurationTests
    extends GenericTestCaseBase
    • Constructor Detail

      • TimeDurationTests

        public TimeDurationTests​(java.lang.String name)
    • Method Detail

      • setUp

        protected void setUp()
                      throws java.lang.Exception
        Overrides:
        setUp in class junit.framework.TestCase
        Throws:
        java.lang.Exception
      • tearDown

        protected void tearDown()
                         throws java.lang.Exception
        Overrides:
        tearDown in class junit.framework.TestCase
        Throws:
        java.lang.Exception
      • assertDuration

        public static void assertDuration​(java.lang.String label,
                                          int years,
                                          int months,
                                          int days,
                                          int hours,
                                          int minutes,
                                          int seconds,
                                          int milliseconds)
      • testDuration

        public void testDuration()
                          throws java.lang.Exception
        Throws:
        java.lang.Exception