aboutsummaryrefslogtreecommitdiffstats
path: root/bridge
diff options
context:
space:
mode:
authoraclement <aclement>2010-12-08 15:50:07 +0000
committeraclement <aclement>2010-12-08 15:50:07 +0000
commit3377f2c31176c7da63650559ab5046472b6d430c (patch)
tree5190afad8f310a8e27dce9045f3e51cac08b4334 /bridge
parent11345ebd0e1c548b7a0f1839193d945da9c6c283 (diff)
downloadaspectj-3377f2c31176c7da63650559ab5046472b6d430c.tar.gz
aspectj-3377f2c31176c7da63650559ab5046472b6d430c.zip
trigger build
Diffstat (limited to 'bridge')
-rw-r--r--bridge/testsrc/org/aspectj/bridge/VersionTest.java32
1 files changed, 17 insertions, 15 deletions
diff --git a/bridge/testsrc/org/aspectj/bridge/VersionTest.java b/bridge/testsrc/org/aspectj/bridge/VersionTest.java
index 1da10675c..f3a0a3ea8 100644
--- a/bridge/testsrc/org/aspectj/bridge/VersionTest.java
+++ b/bridge/testsrc/org/aspectj/bridge/VersionTest.java
@@ -26,28 +26,30 @@ import junit.textui.TestRunner;
*/
public class VersionTest extends TestCase {
- private static final String ME
- = "org.aspectj.bridge.VersionTest";
+ private static final String ME = "org.aspectj.bridge.VersionTest";
- /** @param args ignored */
- public static void main(String[] args) {
- TestRunner.main(new String[] {ME});
- }
+ /** @param args ignored */
+ public static void main(String[] args) {
+ TestRunner.main(new String[] { ME });
+ }
/**
* Constructor for MessageTest.
+ *
* @param name
*/
public VersionTest(String name) {
super(name);
}
-
- 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.getTime());
- SimpleDateFormat format = new SimpleDateFormat(Version.SIMPLE_DATE_FORMAT, Locale.getDefault());
- format.setTimeZone(TimeZone.getTimeZone("GMT"));
- String timeString = format.format(date);
- assertEquals(Version.time_text, timeString);
- }
+
+ 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.getTime());
+ SimpleDateFormat format = new SimpleDateFormat(Version.SIMPLE_DATE_FORMAT, Locale.getDefault());
+ format.setTimeZone(TimeZone.getTimeZone("GMT"));
+ String timeString = format.format(date);
+ assertEquals(Version.time_text, timeString);
+ }
}