geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r580807 - /geronimo/server/trunk/testsuite/corba-testsuite/corba-mytime/corba-mytime-ear/src/test/java/org/apache/geronimo/testsuite/corba/mytime/TestMyTime.java
Date Sun, 30 Sep 2007 23:09:19 GMT
Author: gawor
Date: Sun Sep 30 16:09:17 2007
New Revision: 580807

URL: http://svn.apache.org/viewvc?rev=580807&view=rev
Log:
let's actaully check for the right year

Modified:
    geronimo/server/trunk/testsuite/corba-testsuite/corba-mytime/corba-mytime-ear/src/test/java/org/apache/geronimo/testsuite/corba/mytime/TestMyTime.java

Modified: geronimo/server/trunk/testsuite/corba-testsuite/corba-mytime/corba-mytime-ear/src/test/java/org/apache/geronimo/testsuite/corba/mytime/TestMyTime.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/corba-testsuite/corba-mytime/corba-mytime-ear/src/test/java/org/apache/geronimo/testsuite/corba/mytime/TestMyTime.java?rev=580807&r1=580806&r2=580807&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/corba-testsuite/corba-mytime/corba-mytime-ear/src/test/java/org/apache/geronimo/testsuite/corba/mytime/TestMyTime.java
(original)
+++ geronimo/server/trunk/testsuite/corba-testsuite/corba-mytime/corba-mytime-ear/src/test/java/org/apache/geronimo/testsuite/corba/mytime/TestMyTime.java
Sun Sep 30 16:09:17 2007
@@ -61,6 +61,6 @@
                    selenium.getBodyText().contains("Dec"));
 
         // Ensure year found
-        assertTrue(selenium.getBodyText().contains(Integer.toString(Calendar.YEAR)));
+        assertTrue(selenium.getBodyText().contains(Integer.toString(Calendar.getInstance().get(Calendar.YEAR))));
     }
 }



Mime
View raw message