Package mondrian.util

Class ScheduleTest


  • public class ScheduleTest
    extends TestCase
    • Field Detail

      • time0827

        public static final Time time0827
      • time1600

        public static final Time time1600
      • time0000

        public static final Time time0000
      • time0233

        public static final Time time0233
      • gmtTz

        public static final TimeZone gmtTz
      • pstTz

        public static final TimeZone pstTz
      • jstTz

        public static final TimeZone jstTz
      • sgtTz

        public static final TimeZone sgtTz
    • Constructor Detail

      • ScheduleTest

        public ScheduleTest​(String name)
    • Method Detail

      • assertEquals

        static void assertEquals​(Date expected,
                                 Calendar actual)
      • assertEquals

        static void assertEquals​(int year,
                                 int month,
                                 int day,
                                 String dow,
                                 int hour,
                                 int minute,
                                 Date actual)
      • assertEquals

        static void assertEquals​(Calendar expected,
                                 Date actual)
      • assertScheduleCount

        static void assertScheduleCount​(Schedule schedule,
                                        Date d,
                                        Date last,
                                        int expectedCount)
      • toDate

        static Date toDate​(int year,
                           int month,
                           int day,
                           String dow,
                           int hour,
                           int minute)
      • toDate

        static Date toDate​(int year,
                           int month,
                           int day,
                           String dow,
                           int hour,
                           int minute,
                           TimeZone tz)
      • testOnceTimeSchedule

        public void testOnceTimeSchedule()
      • testOnce

        public void testOnce()
      • testDaily

        public void testDaily()
      • testDailyNoUpperLimit

        public void testDailyNoUpperLimit()
      • testDailyPeriodic

        public void testDailyPeriodic()
      • testWeeklyEmptyBitmapFails

        public void testWeeklyEmptyBitmapFails()
      • testWeeklyBadBitmapFails

        public void testWeeklyBadBitmapFails()
      • testWeekly

        public void testWeekly()
      • testMonthlyByDay

        public void testMonthlyByDay()
      • testMonthlyByDayPeriodic

        public void testMonthlyByDayPeriodic()
      • testMonthlyByWeek

        public void testMonthlyByWeek()
      • testTimeZone

        public void testTimeZone()
      • testTimeZoneChange

        public void testTimeZoneChange()