Author: thomas.diesler(a)jboss.com
Date: 2009-05-25 15:48:26 -0400 (Mon, 25 May 2009)
New Revision: 89390
Modified:
projects/jboss-osgi/trunk/testsuite/functional/src/test/java/org/jboss/test/osgi/jbosgi41/OSGI41TestCase.java
Log:
Migrate to JUnit4
Modified:
projects/jboss-osgi/trunk/testsuite/functional/src/test/java/org/jboss/test/osgi/jbosgi41/OSGI41TestCase.java
===================================================================
---
projects/jboss-osgi/trunk/testsuite/functional/src/test/java/org/jboss/test/osgi/jbosgi41/OSGI41TestCase.java 2009-05-25
19:45:19 UTC (rev 89389)
+++
projects/jboss-osgi/trunk/testsuite/functional/src/test/java/org/jboss/test/osgi/jbosgi41/OSGI41TestCase.java 2009-05-25
19:48:26 UTC (rev 89390)
@@ -23,6 +23,10 @@
//$Id: OSGI41RemoteTestCase.java 87182 2009-04-13 13:47:53Z thomas.diesler(a)jboss.com $
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
+
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
@@ -31,6 +35,7 @@
import org.jboss.osgi.spi.testing.ConfigAdminCapability;
import org.jboss.osgi.spi.testing.OSGiRuntime;
import org.jboss.osgi.spi.testing.OSGiTest;
+import org.junit.Test;
import org.osgi.framework.Bundle;
/**
@@ -43,6 +48,7 @@
*/
public class OSGI41TestCase extends OSGiTest
{
+ @Test
public void testFirstRun() throws Exception
{
OSGiRuntime runtime = getDefaultRuntime();
Show replies by date