geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r580806 - /geronimo/server/branches/2.0/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:04:46 GMT
Author: gawor
Date: Sun Sep 30 16:04:45 2007
New Revision: 580806

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

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

Modified: geronimo/server/branches/2.0/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/branches/2.0/testsuite/corba-testsuite/corba-mytime/corba-mytime-ear/src/test/java/org/apache/geronimo/testsuite/corba/mytime/TestMyTime.java?rev=580806&r1=580805&r2=580806&view=diff
==============================================================================
--- geronimo/server/branches/2.0/testsuite/corba-testsuite/corba-mytime/corba-mytime-ear/src/test/java/org/apache/geronimo/testsuite/corba/mytime/TestMyTime.java
(original)
+++ geronimo/server/branches/2.0/testsuite/corba-testsuite/corba-mytime/corba-mytime-ear/src/test/java/org/apache/geronimo/testsuite/corba/mytime/TestMyTime.java
Sun Sep 30 16:04:45 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