commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1088170 - /commons/proper/discovery/trunk/src/test/org/apache/commons/discovery/test/TestAll.java
Date Sat, 02 Apr 2011 23:02:10 GMT
Author: simonetripodi
Date: Sat Apr  2 23:02:10 2011
New Revision: 1088170

URL: http://svn.apache.org/viewvc?rev=1088170&view=rev
Log:
stripped 'test' prefix from test methods

Modified:
    commons/proper/discovery/trunk/src/test/org/apache/commons/discovery/test/TestAll.java

Modified: commons/proper/discovery/trunk/src/test/org/apache/commons/discovery/test/TestAll.java
URL: http://svn.apache.org/viewvc/commons/proper/discovery/trunk/src/test/org/apache/commons/discovery/test/TestAll.java?rev=1088170&r1=1088169&r2=1088170&view=diff
==============================================================================
--- commons/proper/discovery/trunk/src/test/org/apache/commons/discovery/test/TestAll.java
(original)
+++ commons/proper/discovery/trunk/src/test/org/apache/commons/discovery/test/TestAll.java
Sat Apr  2 23:02:10 2011
@@ -51,7 +51,7 @@ public class TestAll {
 //        org.apache.commons.discovery.log.SimpleLog.LOG_LEVEL_DEBUG;
 
     @Test
-    public void testFindDefaultImpl_1() {
+    public void findDefaultImpl_1() {
         org.apache.commons.discovery.log.SimpleLog.setLevel(logLevel);
 
         TestInterface1 ti = null;
@@ -68,7 +68,7 @@ public class TestAll {
     }
 
     @Test
-    public void testFindDefaultImpl_2() {
+    public void findDefaultImpl_2() {
         org.apache.commons.discovery.log.SimpleLog.setLevel(logLevel);
 
         TestInterface1 ti = null;
@@ -85,7 +85,7 @@ public class TestAll {
     }
 
     @Test
-    public void testCache() {
+    public void cacheAssertions() {
         org.apache.commons.discovery.log.SimpleLog.setLevel(logLevel);
 
         TestInterface1 ti = null;
@@ -111,7 +111,7 @@ public class TestAll {
     }
 
     @Test
-    public void testRelease() {
+    public void releaseAssertions() {
         org.apache.commons.discovery.log.SimpleLog.setLevel(logLevel);
 
         TestInterface1 ti = null;
@@ -137,7 +137,7 @@ public class TestAll {
     }
 
     @Test
-    public void testFindPropertyImpl_1() {
+    public void findPropertyImpl_1() {
         org.apache.commons.discovery.log.SimpleLog.setLevel(logLevel);
 
         TestInterface1 ti = null;
@@ -158,7 +158,7 @@ public class TestAll {
     }
 
     @Test
-    public void testMyFactoryManagedProperty() {
+    public void myFactoryManagedProperty() {
         org.apache.commons.discovery.log.SimpleLog.setLevel(logLevel);
 
         TestInterface1 ti = null;
@@ -183,7 +183,7 @@ public class TestAll {
 
 
     @Test
-    public void testFindPropFileDefault() {
+    public void findPropFileDefault() {
         org.apache.commons.discovery.log.SimpleLog.setLevel(logLevel);
 
         TestInterface1 ti = null;
@@ -202,7 +202,7 @@ public class TestAll {
     }
 
     @Test
-    public void testFindServiceFileDefault() {
+    public void findServiceFileDefault() {
         org.apache.commons.discovery.log.SimpleLog.setLevel(logLevel);
 
         TestInterface2 ti = null;
@@ -221,14 +221,6 @@ public class TestAll {
     }
 
     @Test
-    public void findServiceClass() {
-        DiscoverClass discoverClass = new DiscoverClass();
-        Class<? extends TestInterface2> serviceClass = discoverClass.find(TestInterface2.class);
-
-        assertNotNull(serviceClass);
-    }
-
-    @Test
     public void findServiceClassAndInstantiate() throws Exception {
         DiscoverClass discoverClass = new DiscoverClass();
         TestInterface2 serviceImpl = discoverClass.newInstance(TestInterface2.class);
@@ -237,7 +229,7 @@ public class TestAll {
     }
 
     @Test
-    public void testLowLevelFind() {
+    public void lowLevelFind() {
         org.apache.commons.discovery.log.SimpleLog.setLevel(logLevel);
 
         ClassLoaders loaders = ClassLoaders.getAppLoaders(TestInterface2.class, getClass(),
false);
@@ -262,7 +254,7 @@ public class TestAll {
     }
 
     @Test
-    public void testFindResources() {
+    public void findResources() {
         org.apache.commons.discovery.log.SimpleLog.setLevel(logLevel);
 
         ClassLoaders loaders = new ClassLoaders();
@@ -306,7 +298,7 @@ public class TestAll {
     }
 
     @Test
-    public void testViaDiscoverClass() {
+    public void findViaDiscoverClass() {
         org.apache.commons.discovery.log.SimpleLog.setLevel(logLevel);
 
         ClassLoaders loaders = ClassLoaders.getAppLoaders(TestInterface2.class, getClass(),
false);



Mime
View raw message