ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agoncha...@apache.org
Subject ignite git commit: IGNITE-8395 Fixed test framework to not count non-zero arguments methods as tests
Date Thu, 26 Apr 2018 10:47:22 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-8395 [created] c95f5f5b8


IGNITE-8395 Fixed test framework to not count non-zero arguments methods as tests


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/c95f5f5b
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/c95f5f5b
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/c95f5f5b

Branch: refs/heads/ignite-8395
Commit: c95f5f5b81b483cf68e82aa446763bedff5b07d6
Parents: a0107c0
Author: Alexey Goncharuk <alexey.goncharuk@gmail.com>
Authored: Thu Apr 26 13:46:47 2018 +0300
Committer: Alexey Goncharuk <alexey.goncharuk@gmail.com>
Committed: Thu Apr 26 13:46:47 2018 +0300

----------------------------------------------------------------------
 .../org/apache/ignite/testframework/junits/GridAbstractTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/c95f5f5b/modules/core/src/test/java/org/apache/ignite/testframework/junits/GridAbstractTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/testframework/junits/GridAbstractTest.java
b/modules/core/src/test/java/org/apache/ignite/testframework/junits/GridAbstractTest.java
index f5784eb..5566137 100755
--- a/modules/core/src/test/java/org/apache/ignite/testframework/junits/GridAbstractTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/testframework/junits/GridAbstractTest.java
@@ -2507,7 +2507,7 @@ public abstract class GridAbstractTest extends TestCase {
                     cnt = 0;
 
                     for (Method m : this0.getClass().getMethods())
-                        if (m.getName().startsWith("test") && Modifier.isPublic(m.getModifiers()))
+                        if (m.getName().startsWith("test") && Modifier.isPublic(m.getModifiers())
&& m.getParameterCount() == 0)
                             cnt++;
                 }
 


Mime
View raw message