You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by cs...@apache.org on 2016/11/30 18:20:34 UTC

[6/8] aries-jax-rs-whiteboard git commit: Use annotations in tests

Use annotations in tests


Project: http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/repo
Commit: http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/commit/745fee37
Tree: http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/tree/745fee37
Diff: http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/diff/745fee37

Branch: refs/heads/master
Commit: 745fee37dc9e070587402efe451b496739231639
Parents: 2846c12
Author: Carlos Sierra <cs...@apache.org>
Authored: Wed Nov 30 19:17:09 2016 +0100
Committer: Carlos Sierra <cs...@apache.org>
Committed: Wed Nov 30 19:17:09 2016 +0100

----------------------------------------------------------------------
 jax-rs.itests/src/main/java/test/JaxrsTest.java | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/blob/745fee37/jax-rs.itests/src/main/java/test/JaxrsTest.java
----------------------------------------------------------------------
diff --git a/jax-rs.itests/src/main/java/test/JaxrsTest.java b/jax-rs.itests/src/main/java/test/JaxrsTest.java
index 654bf59..bc7d71e 100644
--- a/jax-rs.itests/src/main/java/test/JaxrsTest.java
+++ b/jax-rs.itests/src/main/java/test/JaxrsTest.java
@@ -20,20 +20,21 @@ package test;
 import java.util.Dictionary;
 import java.util.Hashtable;
 
+import org.junit.Test;
 import org.osgi.framework.BundleContext;
 import org.osgi.framework.Filter;
 import org.osgi.framework.FrameworkUtil;
 import org.osgi.framework.ServiceRegistration;
 import org.osgi.util.tracker.ServiceTracker;
 
-import junit.framework.TestCase;
 import test.types.TestAddon;
 
-public class JaxrsTest extends TestCase {
+public class JaxrsTest {
 
     static BundleContext bundleContext = FrameworkUtil.getBundle(
         JaxrsTest.class).getBundleContext();
-
+	
+	@Test
     public void testEndPoint() throws Exception {
         ServiceRegistration<?> serviceRegistration = null;