@@ -0,0 +1,1195 @@
+package net.sf.kerner.utils.time;%0A%0Aimport static org.junit.Assert.*;%0A%0Aimport net.sf.kerner.utils.time.StopWatch.AlreadyRunningException;%0Aimport net.sf.kerner.utils.time.StopWatch.NotRunningException;%0A%0Aimport org.junit.After;%0Aimport org.junit.AfterClass;%0Aimport org.junit.Before;%0Aimport org.junit.BeforeClass;%0Aimport org.junit.Test;%0A%0Apublic class TestStopWatch %7B%0A%09%0A%09private StopWatch w;%0A%0A%09@BeforeClass%0A%09public static void setUpBeforeClass() throws Exception %7B%0A%09%7D%0A%0A%09@AfterClass%0A%09public static void tearDownAfterClass() throws Exception %7B%0A%09%7D%0A%0A%09@Before%0A%09public void setUp() throws Exception %7B%0A%09%09w = new StopWatch();%0A%09%7D%0A%0A%09@After%0A%09public void tearDown() throws Exception %7B%0A%09%09w = null;%0A%09%7D%0A%0A%09@Test%0A%09public final void testStart01() %7B%0A%09%09w.start();%0A%09%7D%0A%09%0A%09@Test(expected = AlreadyRunningException.class)%0A%09public final void testStart02() %7B%0A%09%09w.start();%0A%09%09w.start();%0A%09%7D%0A%0A%09@Test(expected = NotRunningException.class)%0A%09public final void testRound01() %7B%0A%09%09w.round();%0A%09%7D%0A%09%0A%09@Test%0A%09public final void testRound02() %7B%0A%09%09w.start();%0A%09%09w.round();%0A%09%7D%0A%0A%09@Test(expected = NotRunningException.class)%0A%09public final void testStop01() %7B%0A%09%09w.stop();%0A%09%7D%0A%09%0A%09@Test%0A%09public final void testStop02() %7B%0A%09%09w.start();%0A%09%09w.stop();%0A%09%7D%0A%0A%7D%0A

Add test.