# sprint-1

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

Branch: refs/heads/ignite-24
Commit: 06efcbff8224cfbfc2e2e9b61b14e24c0586b5de
Parents: 91d2b89
Author: sboikov <sboi...@gridgain.com>
Authored: Fri Jan 23 17:31:23 2015 +0400
Committer: sboikov <sboi...@gridgain.com>
Committed: Fri Jan 23 17:31:23 2015 +0400

----------------------------------------------------------------------
 .../examples/GridGgfsExamplesSelfTest.java      | 67 --------------------
 .../examples/IgniteFsExamplesSelfTest.java      | 67 ++++++++++++++++++++
 .../testsuites/IgniteExamplesSelfTestSuite.java |  2 +-
 3 files changed, 68 insertions(+), 68 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/06efcbff/examples/src/test/java/org/apache/ignite/examples/GridGgfsExamplesSelfTest.java
----------------------------------------------------------------------
diff --git 
a/examples/src/test/java/org/apache/ignite/examples/GridGgfsExamplesSelfTest.java
 
b/examples/src/test/java/org/apache/ignite/examples/GridGgfsExamplesSelfTest.java
deleted file mode 100644
index a39377c..0000000
--- 
a/examples/src/test/java/org/apache/ignite/examples/GridGgfsExamplesSelfTest.java
+++ /dev/null
@@ -1,67 +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.examples;
-
-import org.apache.ignite.configuration.*;
-import org.apache.ignite.examples.ggfs.*;
-import org.apache.ignite.internal.*;
-import org.apache.ignite.internal.util.typedef.internal.*;
-import org.apache.ignite.testframework.junits.common.*;
-
-/**
- * GGFS examples self test.
- */
-public class GridGgfsExamplesSelfTest extends GridAbstractExamplesTest {
-    /** Grid name for light client example. */
-    private static final String CLIENT_LIGHT_GRID_NAME = "client-light-grid";
-
-    /** GGFS config with shared memory IPC. */
-    private static final String GGFS_SHMEM_CFG = 
"modules/core/src/test/config/ggfs-shmem.xml";
-
-    /** GGFS config with loopback IPC. */
-    private static final String GGFS_LOOPBACK_CFG = 
"modules/core/src/test/config/ggfs-loopback.xml";
-
-    /** GGFS no endpoint config. */
-    private static final String GGFS_NO_ENDPOINT_CFG = 
"modules/core/src/test/config/ggfs-no-endpoint.xml";
-
-    /** {@inheritDoc} */
-    @Override protected IgniteConfiguration getConfiguration(String gridName) 
throws Exception {
-        String cfgPath = gridName == null ? (U.isWindows() ? GGFS_LOOPBACK_CFG 
: GGFS_SHMEM_CFG) :
-            GGFS_NO_ENDPOINT_CFG;
-
-        IgniteConfiguration cfg = GridGainEx.loadConfiguration(cfgPath).get1();
-
-        cfg.setGridName(gridName);
-
-        return cfg;
-    }
-
-    /**
-     * @throws Exception If failed.
-     */
-    public void testGgfsApiExample() throws Exception {
-        startGrids(3);
-
-        try {
-            GgfsExample.main(EMPTY_ARGS);
-        }
-        finally {
-            stopAllGrids();
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/06efcbff/examples/src/test/java/org/apache/ignite/examples/IgniteFsExamplesSelfTest.java
----------------------------------------------------------------------
diff --git 
a/examples/src/test/java/org/apache/ignite/examples/IgniteFsExamplesSelfTest.java
 
b/examples/src/test/java/org/apache/ignite/examples/IgniteFsExamplesSelfTest.java
new file mode 100644
index 0000000..303de6d
--- /dev/null
+++ 
b/examples/src/test/java/org/apache/ignite/examples/IgniteFsExamplesSelfTest.java
@@ -0,0 +1,67 @@
+/*
+ * 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.examples;
+
+import org.apache.ignite.configuration.*;
+import org.apache.ignite.examples.ggfs.*;
+import org.apache.ignite.internal.*;
+import org.apache.ignite.internal.util.typedef.internal.*;
+import org.apache.ignite.testframework.junits.common.*;
+
+/**
+ * IgniteFs examples self test.
+ */
+public class IgniteFsExamplesSelfTest extends GridAbstractExamplesTest {
+    /** Grid name for light client example. */
+    private static final String CLIENT_LIGHT_GRID_NAME = "client-light-grid";
+
+    /** GGFS config with shared memory IPC. */
+    private static final String GGFS_SHMEM_CFG = 
"modules/core/src/test/config/ggfs-shmem.xml";
+
+    /** GGFS config with loopback IPC. */
+    private static final String GGFS_LOOPBACK_CFG = 
"modules/core/src/test/config/ggfs-loopback.xml";
+
+    /** GGFS no endpoint config. */
+    private static final String GGFS_NO_ENDPOINT_CFG = 
"modules/core/src/test/config/ggfs-no-endpoint.xml";
+
+    /** {@inheritDoc} */
+    @Override protected IgniteConfiguration getConfiguration(String gridName) 
throws Exception {
+        String cfgPath = gridName == null ? (U.isWindows() ? GGFS_LOOPBACK_CFG 
: GGFS_SHMEM_CFG) :
+            GGFS_NO_ENDPOINT_CFG;
+
+        IgniteConfiguration cfg = GridGainEx.loadConfiguration(cfgPath).get1();
+
+        cfg.setGridName(gridName);
+
+        return cfg;
+    }
+
+    /**
+     * @throws Exception If failed.
+     */
+    public void testGgfsApiExample() throws Exception {
+        startGrids(3);
+
+        try {
+            GgfsExample.main(EMPTY_ARGS);
+        }
+        finally {
+            stopAllGrids();
+        }
+    }
+}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/06efcbff/examples/src/test/java/org/apache/ignite/testsuites/IgniteExamplesSelfTestSuite.java
----------------------------------------------------------------------
diff --git 
a/examples/src/test/java/org/apache/ignite/testsuites/IgniteExamplesSelfTestSuite.java
 
b/examples/src/test/java/org/apache/ignite/testsuites/IgniteExamplesSelfTestSuite.java
index 264433a..86fc506 100644
--- 
a/examples/src/test/java/org/apache/ignite/testsuites/IgniteExamplesSelfTestSuite.java
+++ 
b/examples/src/test/java/org/apache/ignite/testsuites/IgniteExamplesSelfTestSuite.java
@@ -51,7 +51,7 @@ public class IgniteExamplesSelfTestSuite extends TestSuite {
         suite.addTest(new TestSuite(GridMonteCarloExamplesSelfTest.class));
         suite.addTest(new TestSuite(GridTaskExamplesSelfTest.class));
         suite.addTest(new TestSuite(GridSpringBeanExamplesSelfTest.class));
-        suite.addTest(new TestSuite(GridGgfsExamplesSelfTest.class));
+        suite.addTest(new TestSuite(IgniteFsExamplesSelfTest.class));
         suite.addTest(new TestSuite(GridCheckpointExamplesSelfTest.class));
         suite.addTest(new 
TestSuite(GridHibernateL2CacheExampleSelfTest.class));
         suite.addTest(new TestSuite(GridProjectionExampleSelfTest.class));

Reply via email to