diff options
author | acolyer <acolyer> | 2004-03-18 11:30:19 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2004-03-18 11:30:19 +0000 |
commit | d91b72e7016a1ebbc3363fe8a57ec61c012deb99 (patch) | |
tree | 2502d57e00b2c13908a5362c9794f804d2e2abad /bridge | |
parent | 34dbb0c41b3e324e3c7fc5a150c314fbecfd5e6e (diff) | |
download | aspectj-d91b72e7016a1ebbc3363fe8a57ec61c012deb99.tar.gz aspectj-d91b72e7016a1ebbc3363fe8a57ec61c012deb99.zip |
make sure this test behaves appropriately when run outside of
a cruise control driven build.
Diffstat (limited to 'bridge')
-rw-r--r-- | bridge/testsrc/org/aspectj/bridge/VersionTest.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bridge/testsrc/org/aspectj/bridge/VersionTest.java b/bridge/testsrc/org/aspectj/bridge/VersionTest.java index ba9b17986..1587820c6 100644 --- a/bridge/testsrc/org/aspectj/bridge/VersionTest.java +++ b/bridge/testsrc/org/aspectj/bridge/VersionTest.java @@ -43,6 +43,7 @@ public class VersionTest extends TestCase { } public void testVersion() { + if (Version.time_text.equals("")) return; // dev build, we can only test this on the build server. Date date = new Date(Version.time); SimpleDateFormat format = new SimpleDateFormat(Version.SIMPLE_DATE_FORMAT, Locale.UK); format.setTimeZone(TimeZone.getTimeZone("GMT")); |