From c18ceadb2c54524860db8238a2858ca44434afa1 Mon Sep 17 00:00:00 2001 From: ?? ? <ulysseskao@ximple.com.tw> Date: Fri, 14 Mar 2008 11:27:55 +0800 Subject: [PATCH] EOFM-14 --- ximple-jobcarrier/src/test/java/com/ximple/eofms/AppTest.java | 29 +++++------------------------ 1 files changed, 5 insertions(+), 24 deletions(-) diff --git a/ximple-jobcarrier/src/test/java/com/ximple/eofms/AppTest.java b/ximple-jobcarrier/src/test/java/com/ximple/eofms/AppTest.java index 7797ca0..79474da 100644 --- a/ximple-jobcarrier/src/test/java/com/ximple/eofms/AppTest.java +++ b/ximple-jobcarrier/src/test/java/com/ximple/eofms/AppTest.java @@ -1,38 +1,19 @@ package com.ximple.eofms; -import junit.framework.Test; -import junit.framework.TestCase; -import junit.framework.TestSuite; +import org.testng.Assert; +import org.testng.annotations.Test; /** * Unit test for simple App. */ -public class AppTest - extends TestCase +public class AppTest { - /** - * Create the test case - * - * @param testName name of the test case - */ - public AppTest( String testName ) - { - super( testName ); - } - - /** - * @return the suite of tests being tested - */ - public static Test suite() - { - return new TestSuite( AppTest.class ); - } - /** * Rigourous Test :-) */ + @Test public void testApp() { - assertTrue( true ); + Assert.assertTrue(true); } } -- Gitblit v0.0.0-SNAPSHOT