commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1696117 - /commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/verifier/AbstractVerifierTestCase.java
Date Sun, 16 Aug 2015 08:26:08 GMT
Author: sebb
Date: Sun Aug 16 08:26:08 2015
New Revision: 1696117

URL: http://svn.apache.org/r1696117
Log:
Eliminate dependency on actual package name

Modified:
    commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/verifier/AbstractVerifierTestCase.java

Modified: commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/verifier/AbstractVerifierTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/verifier/AbstractVerifierTestCase.java?rev=1696117&r1=1696116&r2=1696117&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/verifier/AbstractVerifierTestCase.java
(original)
+++ commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/verifier/AbstractVerifierTestCase.java
Sun Aug 16 08:26:08 2015
@@ -28,7 +28,7 @@ import junit.framework.TestCase;
 
 public abstract class AbstractVerifierTestCase extends TestCase {
 
-    public static final String TEST_PACKAGE = "org.apache.commons.bcel6.verifier.tests.";
+    public static final String TEST_PACKAGE = AbstractVerifierTestCase.class.getPackage().getName()
+ ".tests.";
 
     /**
      * Asserts that the verification of the given class is OK. If it isn't it throws an AssertionFailedError
with the given message.



Mime
View raw message