ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [4/9] incubator-ignite git commit: #nodejs: rename class NodeJsSelfTest to NodeJsIgnitionSelfTest.
Date Mon, 08 Jun 2015 10:12:22 GMT
#nodejs: rename class NodeJsSelfTest to NodeJsIgnitionSelfTest.


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

Branch: refs/heads/ignite-nodejs
Commit: 628f0a91c0240264cd7c9d3b22010b8cb32a3318
Parents: d26d59b
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Mon Jun 8 12:33:41 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Mon Jun 8 12:33:41 2015 +0300

----------------------------------------------------------------------
 .../ignite/internal/NodeJsIgnitionSelfTest.java | 52 ++++++++++++++++++++
 .../apache/ignite/internal/NodeJsSelfTest.java  | 52 --------------------
 .../testsuites/IgniteNodeJsTestSuite.java       |  2 +-
 3 files changed, 53 insertions(+), 53 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/628f0a91/modules/nodejs/src/test/java/org/apache/ignite/internal/NodeJsIgnitionSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/nodejs/src/test/java/org/apache/ignite/internal/NodeJsIgnitionSelfTest.java
b/modules/nodejs/src/test/java/org/apache/ignite/internal/NodeJsIgnitionSelfTest.java
new file mode 100644
index 0000000..9bc0d32
--- /dev/null
+++ b/modules/nodejs/src/test/java/org/apache/ignite/internal/NodeJsIgnitionSelfTest.java
@@ -0,0 +1,52 @@
+/*
+ * 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.internal;
+
+/**
+ * Test node js client.
+ */
+public class NodeJsIgnitionSelfTest extends NodeJsAbstractTest {
+    /** Constructor. */
+    public NodeJsIgnitionSelfTest() {
+        super("test_ignition.js");
+    }
+
+    /** {@inheritDoc} */
+    @Override protected void beforeTestsStarted() throws Exception {
+        startGrid(0);
+    }
+
+    /** {@inheritDoc} */
+    @Override protected void afterTestsStopped() throws Exception {
+        stopAllGrids();
+    }
+
+    /**
+     * @throws Exception If failed.
+     */
+    public void testIgnitionStart() throws Exception {
+        runJsScript("ignitionStartSuccess");
+    }
+
+    /**
+     * @throws Exception If failed.
+     */
+    public void testIgnitionFailedStart() throws Exception {
+        runJsScript("testIgnitionFail");
+    }
+}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/628f0a91/modules/nodejs/src/test/java/org/apache/ignite/internal/NodeJsSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/nodejs/src/test/java/org/apache/ignite/internal/NodeJsSelfTest.java b/modules/nodejs/src/test/java/org/apache/ignite/internal/NodeJsSelfTest.java
deleted file mode 100644
index e58ef72..0000000
--- a/modules/nodejs/src/test/java/org/apache/ignite/internal/NodeJsSelfTest.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * 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.internal;
-
-/**
- * Test node js client.
- */
-public class NodeJsSelfTest extends NodeJsAbstractTest {
-    /** Constructor. */
-    public NodeJsSelfTest() {
-        super("test_ignition.js");
-    }
-
-    /** {@inheritDoc} */
-    @Override protected void beforeTestsStarted() throws Exception {
-        startGrid(0);
-    }
-
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-    }
-
-    /**
-     * @throws Exception If failed.
-     */
-    public void testIgnitionStart() throws Exception {
-        runJsScript("ignitionStartSuccess");
-    }
-
-    /**
-     * @throws Exception If failed.
-     */
-    public void testIgnitionFailedStart() throws Exception {
-        runJsScript("testIgnitionFail");
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/628f0a91/modules/nodejs/src/test/java/org/apache/ignite/testsuites/IgniteNodeJsTestSuite.java
----------------------------------------------------------------------
diff --git a/modules/nodejs/src/test/java/org/apache/ignite/testsuites/IgniteNodeJsTestSuite.java
b/modules/nodejs/src/test/java/org/apache/ignite/testsuites/IgniteNodeJsTestSuite.java
index 73b40fe..9c65d85 100644
--- a/modules/nodejs/src/test/java/org/apache/ignite/testsuites/IgniteNodeJsTestSuite.java
+++ b/modules/nodejs/src/test/java/org/apache/ignite/testsuites/IgniteNodeJsTestSuite.java
@@ -31,7 +31,7 @@ public class IgniteNodeJsTestSuite extends TestSuite {
     public static TestSuite suite() throws Exception {
         TestSuite suite = new TestSuite("Ignite Node JS Test Suite");
 
-        suite.addTest(new TestSuite(NodeJsSelfTest.class));
+        suite.addTest(new TestSuite(NodeJsIgnitionSelfTest.class));
         suite.addTest(new TestSuite(NodeJsPutGetSelfTest.class));
 
         return suite;


Mime
View raw message