ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [10/36] incubator-ignite git commit: ignite-446
Date Thu, 23 Apr 2015 14:40:17 GMT
ignite-446


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

Branch: refs/heads/ignite-gg-9702
Commit: dbbc30e56c1cd88b8a14119448d2b1ee0164f3dd
Parents: 921a40c
Author: avinogradov <avinogradov@gridgain.com>
Authored: Wed Apr 15 17:35:38 2015 +0300
Committer: avinogradov <avinogradov@gridgain.com>
Committed: Wed Apr 15 17:35:38 2015 +0300

----------------------------------------------------------------------
 .../ignite/testsuites/IgniteCacheTestSuite.java |  3 ++
 .../IgniteTopologyValidatorTestSuit.java        | 43 ++++++++++++++++++++
 2 files changed, 46 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/dbbc30e5/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteCacheTestSuite.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteCacheTestSuite.java
b/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteCacheTestSuite.java
index e167614..4cc71e2 100644
--- a/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteCacheTestSuite.java
+++ b/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteCacheTestSuite.java
@@ -341,6 +341,9 @@ public class IgniteCacheTestSuite extends TestSuite {
         // Cache metrics.
         suite.addTest(IgniteCacheMetricsSelfTestSuite.suite());
 
+        // Topology validator.
+        suite.addTest(IgniteTopologyValidatorTestSuit.suite());
+
         // Eviction.
         suite.addTest(IgniteCacheEvictionSelfTestSuite.suite());
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/dbbc30e5/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteTopologyValidatorTestSuit.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteTopologyValidatorTestSuit.java
b/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteTopologyValidatorTestSuit.java
new file mode 100644
index 0000000..b100127
--- /dev/null
+++ b/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteTopologyValidatorTestSuit.java
@@ -0,0 +1,43 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.apache.ignite.testsuites;
+
+import junit.framework.*;
+import org.apache.ignite.internal.processors.cache.*;
+
+/**
+ * Topology validator test suite.
+ */
+public class IgniteTopologyValidatorTestSuit extends TestSuite {
+    /**
+     * @return Topology validator tests suite.
+     * @throws Exception If failed.
+     */
+    public static TestSuite suite() throws Exception {
+        TestSuite suite = new TestSuite("Topology validator Test Suite");
+
+        suite.addTest(new TestSuite(IgniteTopologyValidatorNearPartitionedAtomicCacheTest.class));
+        suite.addTest(new TestSuite(IgniteTopologyValidatorNearPartitionedTxCacheTest.class));
+        suite.addTest(new TestSuite(IgniteTopologyValidatorPartitionedAtomicCacheTest.class));
+        suite.addTest(new TestSuite(IgniteTopologyValidatorPartitionedTxCacheTest.class));
+        suite.addTest(new TestSuite(IgniteTopologyValidatorReplicatedAtomicCacheTest.class));
+        suite.addTest(new TestSuite(IgniteTopologyValidatorReplicatedTxCacheTest.class));
+
+        return suite;
+    }
+}
\ No newline at end of file


Mime
View raw message