Author: bleny Date: 2011-03-17 17:48:18 +0100 (Thu, 17 Mar 2011) New Revision: 2089 Url: http://nuiton.org/repositories/revision/nuiton-utils/2089 Log: clean up DateUtilTest Modified: trunk/nuiton-utils/src/test/java/org/nuiton/util/DateUtilTest.java Modified: trunk/nuiton-utils/src/test/java/org/nuiton/util/DateUtilTest.java =================================================================== --- trunk/nuiton-utils/src/test/java/org/nuiton/util/DateUtilTest.java 2011-03-17 15:58:07 UTC (rev 2088) +++ trunk/nuiton-utils/src/test/java/org/nuiton/util/DateUtilTest.java 2011-03-17 16:48:18 UTC (rev 2089) @@ -27,11 +27,7 @@ import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; -import org.junit.After; -import org.junit.AfterClass; import org.junit.Assert; -import org.junit.Before; -import org.junit.BeforeClass; import org.junit.Test; import java.sql.Timestamp; @@ -50,39 +46,7 @@ /** Logger */ private static final Log log = LogFactory.getLog(DateUtilTest.class); - @BeforeClass - public static void setUpClass() throws Exception { - } - - @AfterClass - public static void tearDownClass() throws Exception { - } - - @Before - public void setUp() { - } - - @After - public void tearDown() { - } - /** - * Test of formatDate method, of class DateUtil. - */ - //@Test - public void testFormatDate() { - log.info("formatDate"); - } - - /** - * Test of parseDate method, of class DateUtil. - */ - //@Test - public void testParseDate() { - log.info("parseDate"); - } - - /** * Test of createDate method, of class DateUtil. */ @Test @@ -115,14 +79,6 @@ } /** - * Test of createDateAfterToday method, of class DateUtil. - */ - //@Test - public void testCreateDateAfterToday() { - log.info("createDateAfterToday"); - } - - /** * Test of setLastDayOfMonth method, of class DateUtil. */ @Test @@ -144,14 +100,6 @@ } /** - * Test of setFirstDayOfMonth method, of class DateUtil. - */ - //@Test - public void testSetFirstDayOfMonth() { - log.info("setFirstDayOfMonth"); - } - - /** * Test of between method, of class DateUtil. */ @Test @@ -192,22 +140,6 @@ Assert.assertFalse(result); } - /** - * Test of currentPeriod method, of class DateUtil. - */ - //@Test - public void testCurrentPeriod() { - log.info("currentPeriod"); - } - - /** - * Test of getMonth method, of class DateUtil. - */ - //@Test - public void testGetMonth() { - log.info("getMonth"); - } - @Test public void testGetDifferenceInSeconds() { log.info("getDifferenceInSecondes");
participants (1)
-
bleny@users.nuiton.org