http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/28720c44/examples/src/test/java8/org/apache/ignite/examples8/EventsExamplesSelfTest.java
----------------------------------------------------------------------
diff --git 
a/examples/src/test/java8/org/apache/ignite/examples8/EventsExamplesSelfTest.java
 
b/examples/src/test/java8/org/apache/ignite/examples8/EventsExamplesSelfTest.java
new file mode 100644
index 0000000..0f868dd
--- /dev/null
+++ 
b/examples/src/test/java8/org/apache/ignite/examples8/EventsExamplesSelfTest.java
@@ -0,0 +1,33 @@
+/*
+ * 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.examples8;
+
+import org.apache.ignite.examples8.events.*;
+import org.apache.ignite.testframework.junits.common.*;
+
+/**
+ * Events examples self test.
+ */
+public class EventsExamplesSelfTest extends GridAbstractExamplesTest {
+    /**
+     * @throws Exception If failed.
+     */
+    public void testEventsExample() throws Exception {
+        EventsExample.main(EMPTY_ARGS);
+    }
+}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/28720c44/examples/src/test/java8/org/apache/ignite/examples8/HibernateL2CacheExampleMultiNodeSelfTest.java
----------------------------------------------------------------------
diff --git 
a/examples/src/test/java8/org/apache/ignite/examples8/HibernateL2CacheExampleMultiNodeSelfTest.java
 
b/examples/src/test/java8/org/apache/ignite/examples8/HibernateL2CacheExampleMultiNodeSelfTest.java
new file mode 100644
index 0000000..45d089f
--- /dev/null
+++ 
b/examples/src/test/java8/org/apache/ignite/examples8/HibernateL2CacheExampleMultiNodeSelfTest.java
@@ -0,0 +1,31 @@
+/*
+ * 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.examples8;
+
+import org.apache.ignite.examples8.datagrid.hibernate.*;
+
+/**
+ * Multi-node test for {@link 
org.apache.ignite.examples8.datagrid.hibernate.HibernateL2CacheExample}.
+ */
+public class HibernateL2CacheExampleMultiNodeSelfTest extends 
HibernateL2CacheExampleSelfTest {
+    /** {@inheritDoc} */
+    @Override protected void beforeTest() throws Exception {
+        for (int i = 0; i < RMT_NODES_CNT; i++)
+            startGrid("node-" + i, 
HibernateL2CacheExampleNodeStartup.configuration());
+    }
+}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/28720c44/examples/src/test/java8/org/apache/ignite/examples8/HibernateL2CacheExampleSelfTest.java
----------------------------------------------------------------------
diff --git 
a/examples/src/test/java8/org/apache/ignite/examples8/HibernateL2CacheExampleSelfTest.java
 
b/examples/src/test/java8/org/apache/ignite/examples8/HibernateL2CacheExampleSelfTest.java
new file mode 100644
index 0000000..8b8c59a
--- /dev/null
+++ 
b/examples/src/test/java8/org/apache/ignite/examples8/HibernateL2CacheExampleSelfTest.java
@@ -0,0 +1,33 @@
+/*
+ * 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.examples8;
+
+import org.apache.ignite.examples8.datagrid.hibernate.*;
+import org.apache.ignite.testframework.junits.common.*;
+
+/**
+ * Tests the {@link 
org.apache.ignite.examples8.datagrid.hibernate.HibernateL2CacheExample}.
+ */
+public class HibernateL2CacheExampleSelfTest extends GridAbstractExamplesTest {
+    /**
+     * @throws Exception If failed.
+     */
+    public void testHibernateL2CacheExample() throws Exception {
+        HibernateL2CacheExample.main(EMPTY_ARGS);
+    }
+}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/28720c44/examples/src/test/java8/org/apache/ignite/examples8/IgfsExamplesSelfTest.java
----------------------------------------------------------------------
diff --git 
a/examples/src/test/java8/org/apache/ignite/examples8/IgfsExamplesSelfTest.java 
b/examples/src/test/java8/org/apache/ignite/examples8/IgfsExamplesSelfTest.java
new file mode 100644
index 0000000..a04dcb4
--- /dev/null
+++ 
b/examples/src/test/java8/org/apache/ignite/examples8/IgfsExamplesSelfTest.java
@@ -0,0 +1,51 @@
+/*
+ * 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.examples8;
+
+import org.apache.ignite.examples8.igfs.*;
+import org.apache.ignite.internal.util.typedef.internal.*;
+import org.apache.ignite.testframework.junits.common.*;
+
+/**
+ * IGFS examples self test.
+ */
+public class IgfsExamplesSelfTest extends GridAbstractExamplesTest {
+    /** IGFS config with shared memory IPC. */
+    private static final String IGFS_SHMEM_CFG = 
"modules/core/src/test/config/igfs-shmem.xml";
+
+    /** IGFS config with loopback IPC. */
+    private static final String IGFS_LOOPBACK_CFG = 
"modules/core/src/test/config/igfs-loopback.xml";
+
+    /**
+     * @throws Exception If failed.
+     */
+    public void testIgniteFsApiExample() throws Exception {
+        String configPath = U.isWindows() ? IGFS_LOOPBACK_CFG : IGFS_SHMEM_CFG;
+
+        try {
+            startGrid("test1", configPath);
+            startGrid("test2", configPath);
+            startGrid("test3", configPath);
+
+            IgfsExample.main(EMPTY_ARGS);
+        }
+        finally {
+            stopAllGrids();
+        }
+    }
+}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/28720c44/examples/src/test/java8/org/apache/ignite/examples8/LifecycleExamplesSelfTest.java
----------------------------------------------------------------------
diff --git 
a/examples/src/test/java8/org/apache/ignite/examples8/LifecycleExamplesSelfTest.java
 
b/examples/src/test/java8/org/apache/ignite/examples8/LifecycleExamplesSelfTest.java
new file mode 100644
index 0000000..a4232d4
--- /dev/null
+++ 
b/examples/src/test/java8/org/apache/ignite/examples8/LifecycleExamplesSelfTest.java
@@ -0,0 +1,33 @@
+/*
+ * 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.examples8;
+
+import org.apache.ignite.examples8.misc.lifecycle.*;
+import org.apache.ignite.testframework.junits.common.*;
+
+/**
+ * LifecycleExample self test.
+ */
+public class LifecycleExamplesSelfTest extends GridAbstractExamplesTest {
+    /**
+     * @throws Exception If failed.
+     */
+    public void testLifecycleExample() throws Exception {
+        LifecycleExample.main(EMPTY_ARGS);
+    }
+}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/28720c44/examples/src/test/java8/org/apache/ignite/examples8/MemcacheRestExamplesMultiNodeSelfTest.java
----------------------------------------------------------------------
diff --git 
a/examples/src/test/java8/org/apache/ignite/examples8/MemcacheRestExamplesMultiNodeSelfTest.java
 
b/examples/src/test/java8/org/apache/ignite/examples8/MemcacheRestExamplesMultiNodeSelfTest.java
new file mode 100644
index 0000000..2083c0a
--- /dev/null
+++ 
b/examples/src/test/java8/org/apache/ignite/examples8/MemcacheRestExamplesMultiNodeSelfTest.java
@@ -0,0 +1,31 @@
+/*
+ * 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.examples8;
+
+import org.apache.ignite.examples8.misc.client.memcache.*;
+
+/**
+ * MemcacheRestExample multi-node self test.
+ */
+public class MemcacheRestExamplesMultiNodeSelfTest extends 
MemcacheRestExamplesSelfTest {
+    /** {@inheritDoc} */
+    @Override protected void beforeTest() throws Exception {
+        for (int i = 0; i < RMT_NODES_CNT; i++)
+            startGrid("memcache-rest-examples-" + i, 
MemcacheRestExampleNodeStartup.configuration());
+    }
+}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/28720c44/examples/src/test/java8/org/apache/ignite/examples8/MemcacheRestExamplesSelfTest.java
----------------------------------------------------------------------
diff --git 
a/examples/src/test/java8/org/apache/ignite/examples8/MemcacheRestExamplesSelfTest.java
 
b/examples/src/test/java8/org/apache/ignite/examples8/MemcacheRestExamplesSelfTest.java
new file mode 100644
index 0000000..bd2a31a
--- /dev/null
+++ 
b/examples/src/test/java8/org/apache/ignite/examples8/MemcacheRestExamplesSelfTest.java
@@ -0,0 +1,41 @@
+/*
+ * 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.examples8;
+
+import org.apache.ignite.examples8.misc.client.memcache.*;
+import org.apache.ignite.testframework.junits.common.*;
+
+/**
+ * MemcacheRestExample self test.
+ */
+public class MemcacheRestExamplesSelfTest extends GridAbstractExamplesTest {
+    /**
+     * @throws Exception If failed.
+     */
+    @Override protected void beforeTest() throws Exception {
+        // Start up a cluster node.
+        startGrid("memcache-rest-examples", 
MemcacheRestExampleNodeStartup.configuration());
+    }
+
+    /**
+     * @throws Exception If failed.
+     */
+    public void testMemcacheRestExample() throws Exception {
+        MemcacheRestExample.main(EMPTY_ARGS);
+    }
+}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/28720c44/examples/src/test/java8/org/apache/ignite/examples8/MessagingExamplesSelfTest.java
----------------------------------------------------------------------
diff --git 
a/examples/src/test/java8/org/apache/ignite/examples8/MessagingExamplesSelfTest.java
 
b/examples/src/test/java8/org/apache/ignite/examples8/MessagingExamplesSelfTest.java
new file mode 100644
index 0000000..791092e
--- /dev/null
+++ 
b/examples/src/test/java8/org/apache/ignite/examples8/MessagingExamplesSelfTest.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.examples8;
+
+import org.apache.ignite.examples8.messaging.*;
+import org.apache.ignite.testframework.junits.common.*;
+
+/**
+ * Messaging examples self test.
+ */
+public class MessagingExamplesSelfTest extends GridAbstractExamplesTest {
+    /** {@inheritDoc} */
+    @Override protected void beforeTest() throws Exception {
+        startGrid("companion", DFLT_CFG);
+    }
+
+    /**
+     * @throws Exception If failed.
+     */
+    public void testMessagingExample() throws Exception {
+        MessagingExample.main(EMPTY_ARGS);
+    }
+
+    /**
+     * @throws Exception If failed.
+     */
+    public void testMessagingPingPongExample() throws Exception {
+        MessagingPingPongExample.main(EMPTY_ARGS);
+    }
+
+    /**
+     * @throws Exception If failed.
+     */
+    public void testessagingPingPongListenActorExample() throws Exception {
+        MessagingPingPongListenActorExample.main(EMPTY_ARGS);
+    }
+}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/28720c44/examples/src/test/java8/org/apache/ignite/examples8/MonteCarloExamplesMultiNodeSelfTest.java
----------------------------------------------------------------------
diff --git 
a/examples/src/test/java8/org/apache/ignite/examples8/MonteCarloExamplesMultiNodeSelfTest.java
 
b/examples/src/test/java8/org/apache/ignite/examples8/MonteCarloExamplesMultiNodeSelfTest.java
new file mode 100644
index 0000000..c5dd705
--- /dev/null
+++ 
b/examples/src/test/java8/org/apache/ignite/examples8/MonteCarloExamplesMultiNodeSelfTest.java
@@ -0,0 +1,28 @@
+/*
+ * 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.examples8;
+
+/**
+ * PrimeExample multi-node self test.
+ */
+public class MonteCarloExamplesMultiNodeSelfTest extends 
MonteCarloExamplesSelfTest {
+    /** {@inheritDoc} */
+    @Override protected void beforeTest() throws Exception {
+        startRemoteNodes();
+    }
+}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/28720c44/examples/src/test/java8/org/apache/ignite/examples8/MonteCarloExamplesSelfTest.java
----------------------------------------------------------------------
diff --git 
a/examples/src/test/java8/org/apache/ignite/examples8/MonteCarloExamplesSelfTest.java
 
b/examples/src/test/java8/org/apache/ignite/examples8/MonteCarloExamplesSelfTest.java
new file mode 100644
index 0000000..c8c7488
--- /dev/null
+++ 
b/examples/src/test/java8/org/apache/ignite/examples8/MonteCarloExamplesSelfTest.java
@@ -0,0 +1,74 @@
+/*
+ * 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.examples8;
+
+import org.apache.ignite.examples8.computegrid.montecarlo.*;
+import org.apache.ignite.testframework.junits.common.*;
+
+/**
+ * Ignite examples self test. Excludes Ignite Spring tests.
+ *
+ * <h1 class="header">AOP Configuration</h1>
+ * In order for this test to execute, any of the following
+ * AOP configurations must be provided.
+ * <h2 class="header">Jboss AOP</h2>
+ * The following configuration needs to be applied to enable JBoss byte code
+ * weaving. Note that Ignite is not shipped with JBoss and necessary
+ * libraries will have to be downloaded separately (they come standard
+ * if you have JBoss installed already):
+ * <ul>
+ * <li>
+ *      The following JVM configuration must be present:
+ *      <ul>
+ *      <li>{@code -javaagent:[path to jboss-aop-jdk50-4.x.x.jar]}</li>
+ *      <li>{@code -Djboss.aop.class.path=[path to ignite.jar]}</li>
+ *      <li>{@code -Djboss.aop.exclude=org,com 
-Djboss.aop.include=org.apache.ignite.examples8}</li>
+ *      </ul>
+ * </li>
+ * <li>
+ *      The following JARs should be in a classpath:
+ *      <ul>
+ *      <li>{@code javassist-3.x.x.jar}</li>
+ *      <li>{@code jboss-aop-jdk50-4.x.x.jar}</li>
+ *      <li>{@code jboss-aspect-library-jdk50-4.x.x.jar}</li>
+ *      <li>{@code jboss-common-4.x.x.jar}</li>
+ *      <li>{@code trove-1.0.2.jar}</li>
+ *      </ul>
+ * </li>
+ * </ul>
+ * <p>
+ * <h2 class="header">AspectJ AOP</h2>
+ * The following configuration needs to be applied to enable AspectJ byte code
+ * weaving.
+ * <ul>
+ * <li>
+ *      JVM configuration should include:
+ *      {@code -javaagent:${IGNITE_HOME}/libs/aspectjweaver-1.7.2.jar}
+ * </li>
+ * <li>
+ *      Classpath should contain the {@code 
${IGNITE_HOME}/modules/tests/config/aop/aspectj} folder.
+ * </li>
+ */
+public class MonteCarloExamplesSelfTest extends GridAbstractExamplesTest {
+    /**
+     * @throws Exception If failed.
+     */
+    public void testCreditRiskExample() throws Exception {
+        CreditRiskExample.main(EMPTY_ARGS);
+    }
+}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/28720c44/examples/src/test/java8/org/apache/ignite/examples8/SpringBeanExamplesSelfTest.java
----------------------------------------------------------------------
diff --git 
a/examples/src/test/java8/org/apache/ignite/examples8/SpringBeanExamplesSelfTest.java
 
b/examples/src/test/java8/org/apache/ignite/examples8/SpringBeanExamplesSelfTest.java
new file mode 100644
index 0000000..5699cbc
--- /dev/null
+++ 
b/examples/src/test/java8/org/apache/ignite/examples8/SpringBeanExamplesSelfTest.java
@@ -0,0 +1,33 @@
+/*
+ * 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.examples8;
+
+import org.apache.ignite.examples8.misc.springbean.*;
+import org.apache.ignite.testframework.junits.common.*;
+
+/**
+ * Spring bean examples self test.
+ */
+public class SpringBeanExamplesSelfTest extends GridAbstractExamplesTest {
+    /**
+     * @throws Exception If failed.
+     */
+    public void testSpringBeanHelloWorldExample() throws Exception {
+        SpringBeanExample.main(EMPTY_ARGS);
+    }
+}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/28720c44/examples/src/test/java8/org/apache/ignite/examples8/TaskExamplesMultiNodeSelfTest.java
----------------------------------------------------------------------
diff --git 
a/examples/src/test/java8/org/apache/ignite/examples8/TaskExamplesMultiNodeSelfTest.java
 
b/examples/src/test/java8/org/apache/ignite/examples8/TaskExamplesMultiNodeSelfTest.java
new file mode 100644
index 0000000..954807a
--- /dev/null
+++ 
b/examples/src/test/java8/org/apache/ignite/examples8/TaskExamplesMultiNodeSelfTest.java
@@ -0,0 +1,28 @@
+/*
+ * 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.examples8;
+
+/**
+ * Hello world examples multi-node self test.
+ */
+public class TaskExamplesMultiNodeSelfTest extends TaskExamplesSelfTest {
+    /** {@inheritDoc} */
+    @Override protected void beforeTest() throws Exception {
+        startRemoteNodes();
+    }
+}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/28720c44/examples/src/test/java8/org/apache/ignite/examples8/TaskExamplesSelfTest.java
----------------------------------------------------------------------
diff --git 
a/examples/src/test/java8/org/apache/ignite/examples8/TaskExamplesSelfTest.java 
b/examples/src/test/java8/org/apache/ignite/examples8/TaskExamplesSelfTest.java
new file mode 100644
index 0000000..73363d0
--- /dev/null
+++ 
b/examples/src/test/java8/org/apache/ignite/examples8/TaskExamplesSelfTest.java
@@ -0,0 +1,40 @@
+/*
+ * 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.examples8;
+
+import org.apache.ignite.examples8.computegrid.*;
+import org.apache.ignite.testframework.junits.common.*;
+
+/**
+ * Hello world examples self test.
+ */
+public class TaskExamplesSelfTest extends GridAbstractExamplesTest {
+    /**
+     * @throws Exception If failed.
+     */
+    public void testTaskSplitExample() throws Exception {
+        ComputeTaskSplitExample.main(EMPTY_ARGS);
+    }
+
+    /**
+     * @throws Exception If failed.
+     */
+    public void testTaskMapExample() throws Exception {
+        ComputeTaskMapExample.main(EMPTY_ARGS);
+    }
+}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/28720c44/examples/src/test/java8/org/apache/ignite/testsuites8/IgniteExamplesSelfTestSuite.java
----------------------------------------------------------------------
diff --git 
a/examples/src/test/java8/org/apache/ignite/testsuites8/IgniteExamplesSelfTestSuite.java
 
b/examples/src/test/java8/org/apache/ignite/testsuites8/IgniteExamplesSelfTestSuite.java
new file mode 100644
index 0000000..900ac33
--- /dev/null
+++ 
b/examples/src/test/java8/org/apache/ignite/testsuites8/IgniteExamplesSelfTestSuite.java
@@ -0,0 +1,74 @@
+/*
+ * 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.testsuites8;
+
+import junit.framework.*;
+import org.apache.ignite.examples8.*;
+import org.apache.ignite.testframework.*;
+
+import static org.apache.ignite.IgniteSystemProperties.*;
+
+/**
+ * Examples test suite.
+ * <p>
+ * Contains only Spring ignite examples tests.
+ */
+public class IgniteExamplesSelfTestSuite extends TestSuite {
+    /**
+     * @return Suite.
+     * @throws Exception If failed.
+     */
+    public static TestSuite suite() throws Exception {
+        System.setProperty(IGNITE_OVERRIDE_MCAST_GRP,
+            
GridTestUtils.getNextMulticastGroup(IgniteExamplesSelfTestSuite.class));
+
+        TestSuite suite = new TestSuite("Ignite Examples Test Suite");
+
+        suite.addTest(new TestSuite(CacheExamplesSelfTest.class));
+        suite.addTest(new TestSuite(BasicExamplesSelfTest.class));
+        suite.addTest(new TestSuite(ContinuationExamplesSelfTest.class));
+        suite.addTest(new TestSuite(ContinuousMapperExamplesSelfTest.class));
+        suite.addTest(new TestSuite(DeploymentExamplesSelfTest.class));
+        suite.addTest(new TestSuite(EventsExamplesSelfTest.class));
+        suite.addTest(new TestSuite(LifecycleExamplesSelfTest.class));
+        suite.addTest(new TestSuite(MessagingExamplesSelfTest.class));
+        suite.addTest(new TestSuite(MemcacheRestExamplesSelfTest.class));
+        suite.addTest(new TestSuite(MonteCarloExamplesSelfTest.class));
+        suite.addTest(new TestSuite(TaskExamplesSelfTest.class));
+        suite.addTest(new TestSuite(SpringBeanExamplesSelfTest.class));
+        suite.addTest(new TestSuite(IgfsExamplesSelfTest.class));
+        suite.addTest(new TestSuite(CheckpointExamplesSelfTest.class));
+        suite.addTest(new TestSuite(HibernateL2CacheExampleSelfTest.class));
+        suite.addTest(new 
TestSuite(ComputeClusterGroupsExampleSelfTest.class));
+
+        // Multi-node.
+        suite.addTest(new TestSuite(CacheExamplesMultiNodeSelfTest.class));
+        suite.addTest(new 
TestSuite(CacheStoreLoadDataExampleMultiNodeSelfTest.class));
+        suite.addTest(new TestSuite(BasicExamplesMultiNodeSelfTest.class));
+        suite.addTest(new 
TestSuite(ContinuationExamplesMultiNodeSelfTest.class));
+        suite.addTest(new 
TestSuite(ContinuousMapperExamplesMultiNodeSelfTest.class));
+        suite.addTest(new 
TestSuite(DeploymentExamplesMultiNodeSelfTest.class));
+        suite.addTest(new TestSuite(EventsExamplesMultiNodeSelfTest.class));
+        suite.addTest(new TestSuite(TaskExamplesMultiNodeSelfTest.class));
+        suite.addTest(new 
TestSuite(MemcacheRestExamplesMultiNodeSelfTest.class));
+        suite.addTest(new 
TestSuite(MonteCarloExamplesMultiNodeSelfTest.class));
+        suite.addTest(new 
TestSuite(HibernateL2CacheExampleMultiNodeSelfTest.class));
+
+        return suite;
+    }
+}

Reply via email to