ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject incubator-ignite git commit: # ignite fixed tests methods calculation
Date Tue, 30 Dec 2014 09:22:47 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/master 6fd75f907 -> 310f8e872


# ignite fixed tests methods calculation


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

Branch: refs/heads/master
Commit: 310f8e872f7355e80785c8ee622f0feeecfc12c1
Parents: 6fd75f9
Author: sboikov <sboikov@gridgain.com>
Authored: Tue Dec 30 12:22:36 2014 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Tue Dec 30 12:22:36 2014 +0300

----------------------------------------------------------------------
 .../org/gridgain/testframework/junits/GridAbstractTest.java     | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/310f8e87/modules/core/src/test/java/org/gridgain/testframework/junits/GridAbstractTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/gridgain/testframework/junits/GridAbstractTest.java
b/modules/core/src/test/java/org/gridgain/testframework/junits/GridAbstractTest.java
index 922acc4..5900c12 100644
--- a/modules/core/src/test/java/org/gridgain/testframework/junits/GridAbstractTest.java
+++ b/modules/core/src/test/java/org/gridgain/testframework/junits/GridAbstractTest.java
@@ -88,7 +88,7 @@ public abstract class GridAbstractTest extends TestCase {
 
     static {
         System.setProperty(IgniteSystemProperties.GG_ATOMIC_CACHE_DELETE_HISTORY_SIZE, "10000");
-        
+
         Thread timer = new Thread(new GridTestClockTimer(), "gridgain-clock-for-tests");
 
         timer.setDaemon(true);
@@ -1402,7 +1402,8 @@ public abstract class GridAbstractTest extends TestCase {
                 int cnt = 0;
 
                 for (Method m : GridAbstractTest.this.getClass().getMethods())
-                    if (m.getDeclaringClass().getName().startsWith("org.gridgain")) {
+                    if (m.getDeclaringClass().getName().startsWith("org.gridgain") ||
+                        m.getDeclaringClass().getName().startsWith("org.apache.ignite"))
{
                         if (m.getName().startsWith("test") && Modifier.isPublic(m.getModifiers()))
                             cnt++;
                     }


Mime
View raw message