ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [05/36] incubator-ignite git commit: #sprint-2: GridAbstractTest should not check that class name starts from "org.apache.ignite".
Date Wed, 18 Feb 2015 10:06:33 GMT
#sprint-2: GridAbstractTest should not check that class name starts from "org.apache.ignite".


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

Branch: refs/heads/ignite-283
Commit: 570bbfd975e8996f4f1aca1236e0c90688a56175
Parents: 684ed83
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Tue Feb 17 12:31:37 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Tue Feb 17 12:31:37 2015 +0300

----------------------------------------------------------------------
 .../apache/ignite/testframework/junits/GridAbstractTest.java   | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/570bbfd9/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 8e48b53..bebf860 100644
--- 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
@@ -1412,10 +1412,8 @@ public abstract class GridAbstractTest extends TestCase {
                 int cnt = 0;
 
                 for (Method m : GridAbstractTest.this.getClass().getMethods())
-                    if (m.getDeclaringClass().getName().startsWith("org.apache.ignite"))
{
-                        if (m.getName().startsWith("test") && Modifier.isPublic(m.getModifiers()))
-                            cnt++;
-                    }
+                    if (m.getName().startsWith("test") && Modifier.isPublic(m.getModifiers()))
+                        cnt++;
 
                 numOfTests = cnt;
             }


Mime
View raw message