[cvs] expresso commit by lhamel: use better method names

JCorporate Ltd jcorp at jcorporate.com
Sat Jan 29 19:42:03 UTC 2005


Log Message:
-----------
use better method names

Modified Files:
--------------
    expresso/expresso-web/WEB-INF/test-src/com/jcorporate/expresso/services/crontab/tests:
        TestCrontabEntry.java

Revision Data
-------------
Index: TestCrontabEntry.java
===================================================================
RCS file: /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/test-src/com/jcorporate/expresso/services/crontab/tests/TestCrontabEntry.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -Lexpresso-web/WEB-INF/test-src/com/jcorporate/expresso/services/crontab/tests/TestCrontabEntry.java -Lexpresso-web/WEB-INF/test-src/com/jcorporate/expresso/services/crontab/tests/TestCrontabEntry.java -u -r1.3 -r1.4
--- expresso-web/WEB-INF/test-src/com/jcorporate/expresso/services/crontab/tests/TestCrontabEntry.java
+++ expresso-web/WEB-INF/test-src/com/jcorporate/expresso/services/crontab/tests/TestCrontabEntry.java
@@ -189,7 +189,7 @@
                         cronDate.get(Calendar.HOUR) == now.get(Calendar.HOUR));
 
                 assertTrue("Cron should be repetitive", cronID.isRepetitive() == true);
-                assertTrue("Cron should not be relative time", cronID.isIsRelative() == false);
+                assertTrue("Cron should not be relative time", cronID.isRelative() == false);
             }
 
             //Every day at midnight cron test
@@ -201,7 +201,7 @@
                     listener);
 
             assertTrue("Cron should be repetitive", cronID.isRepetitive() == true);
-            assertTrue("Cron should not be relative time", cronID.isIsRelative() == false);
+            assertTrue("Cron should not be relative time", cronID.isRelative() == false);
             Calendar cal = Calendar.getInstance();
             cal.setTime(new Date(cronID.getAlarmTime()));
             //
@@ -230,7 +230,7 @@
 
             curDate = Calendar.getInstance();
             assertTrue("Cron should be repetitive", cronID.isRepetitive() == true);
-            assertTrue("Cron should not be relative time", cronID.isIsRelative() == false);
+            assertTrue("Cron should not be relative time", cronID.isRelative() == false);
             cal = Calendar.getInstance();
             cal.setTime(new Date(cronID.getAlarmTime()));
             //
@@ -248,7 +248,7 @@
                     listener);
 
             assertTrue("Cron should not be repetitive", cronID.isRepetitive() == false);
-            assertTrue("Cron should not be relative time", cronID.isIsRelative() == false);
+            assertTrue("Cron should not be relative time", cronID.isRelative() == false);
 
             cal = Calendar.getInstance();
             cal.setTime(new Date(cronID.getAlarmTime()));


More information about the cvs mailing list