mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-14 07:43:40 +01:00
removed test code
This commit is contained in:
@@ -149,22 +149,4 @@ public class DatabasePropertiesIntegrationTest extends BaseDBTestCase {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testTest() {
|
||||
final Date now = new Date();
|
||||
|
||||
final DateFormat format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ");
|
||||
final String formatted = format.format(now);
|
||||
|
||||
final DateTime dt = new DateTime(now.getTime());
|
||||
DateTimeFormatter fmt = DateTimeFormat.forPattern("yyyy-MM-dd'T'HH:mm:ss.SSSZ");
|
||||
String jodaFormatted = fmt.print(dt);
|
||||
System.out.println(formatted);
|
||||
System.out.println(jodaFormatted);
|
||||
assertTrue(jodaFormatted.equals(formatted));
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user