This is an automated email from the git hooks/post-receive script.

eugene-guest pushed a commit to annotated tag OpenBSD
in repository testng.

commit 06b5ed00f4c3c4d4d6ed89165316ab3a6918558b
Author: jdillet <[email protected]>
Date:   Wed Feb 25 12:48:11 2015 +0200

    Add comments
---
 src/main/java/org/testng/junit/JUnit4TestMethod.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/java/org/testng/junit/JUnit4TestMethod.java 
b/src/main/java/org/testng/junit/JUnit4TestMethod.java
index e5cc38e..04a0e79 100644
--- a/src/main/java/org/testng/junit/JUnit4TestMethod.java
+++ b/src/main/java/org/testng/junit/JUnit4TestMethod.java
@@ -22,6 +22,7 @@ public class JUnit4TestMethod extends JUnitTestMethod {
     private static Method getMethod(Description desc) {
         Class<?> c = desc.getTestClass();
         String method = desc.getMethodName();
+        // remove [index] from method name in case of parameterized test
         int idx = method.indexOf('[');
         if (idx != -1) {
             method = method.substring(0, idx);

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-java/testng.git

_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to