ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [41/52] [abbrv] incubator-ignite git commit: # Renaming
Date Fri, 05 Dec 2014 14:07:42 GMT
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/50d1554c/modules/core/src/test/java/org/gridgain/grid/spi/failover/jobstealing/GridJobStealingFailoverSpiOneNodeSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/gridgain/grid/spi/failover/jobstealing/GridJobStealingFailoverSpiOneNodeSelfTest.java
b/modules/core/src/test/java/org/gridgain/grid/spi/failover/jobstealing/GridJobStealingFailoverSpiOneNodeSelfTest.java
index 3155c9d..347a00d 100644
--- a/modules/core/src/test/java/org/gridgain/grid/spi/failover/jobstealing/GridJobStealingFailoverSpiOneNodeSelfTest.java
+++ b/modules/core/src/test/java/org/gridgain/grid/spi/failover/jobstealing/GridJobStealingFailoverSpiOneNodeSelfTest.java
@@ -23,8 +23,8 @@ import java.util.*;
 /**
  * Job stealing failover SPI test for one node.
  */
-@GridSpiTest(spi = GridJobStealingFailoverSpi.class, group = "Failover SPI")
-public class GridJobStealingFailoverSpiOneNodeSelfTest extends GridSpiAbstractTest<GridJobStealingFailoverSpi>
{
+@GridSpiTest(spi = JobStealingFailoverSpi.class, group = "Failover SPI")
+public class GridJobStealingFailoverSpiOneNodeSelfTest extends GridSpiAbstractTest<JobStealingFailoverSpi>
{
     /** {@inheritDoc} */
     @Override protected GridSpiTestContext initSpiContext() throws Exception {
         GridSpiTestContext ctx = super.initSpiContext();

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/50d1554c/modules/core/src/test/java/org/gridgain/grid/spi/failover/jobstealing/GridJobStealingFailoverSpiSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/gridgain/grid/spi/failover/jobstealing/GridJobStealingFailoverSpiSelfTest.java
b/modules/core/src/test/java/org/gridgain/grid/spi/failover/jobstealing/GridJobStealingFailoverSpiSelfTest.java
index 1c4068e..e2c1b4f 100644
--- a/modules/core/src/test/java/org/gridgain/grid/spi/failover/jobstealing/GridJobStealingFailoverSpiSelfTest.java
+++ b/modules/core/src/test/java/org/gridgain/grid/spi/failover/jobstealing/GridJobStealingFailoverSpiSelfTest.java
@@ -22,13 +22,13 @@ import java.util.*;
 
 import static org.gridgain.grid.kernal.GridNodeAttributes.*;
 import static org.apache.ignite.spi.collision.jobstealing.JobStealingCollisionSpi.*;
-import static org.gridgain.grid.spi.failover.jobstealing.GridJobStealingFailoverSpi.*;
+import static org.gridgain.grid.spi.failover.jobstealing.JobStealingFailoverSpi.*;
 
 /**
- * Self test for {@link GridJobStealingFailoverSpi} SPI.
+ * Self test for {@link JobStealingFailoverSpi} SPI.
  */
-@GridSpiTest(spi = GridJobStealingFailoverSpi.class, group = "Failover SPI")
-public class GridJobStealingFailoverSpiSelfTest extends GridSpiAbstractTest<GridJobStealingFailoverSpi>
{
+@GridSpiTest(spi = JobStealingFailoverSpi.class, group = "Failover SPI")
+public class GridJobStealingFailoverSpiSelfTest extends GridSpiAbstractTest<JobStealingFailoverSpi>
{
     /** {@inheritDoc} */
     @Override protected GridSpiTestContext initSpiContext() throws Exception {
         GridSpiTestContext ctx = super.initSpiContext();

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/50d1554c/modules/core/src/test/java/org/gridgain/grid/spi/failover/jobstealing/GridJobStealingFailoverSpiStartStopSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/gridgain/grid/spi/failover/jobstealing/GridJobStealingFailoverSpiStartStopSelfTest.java
b/modules/core/src/test/java/org/gridgain/grid/spi/failover/jobstealing/GridJobStealingFailoverSpiStartStopSelfTest.java
index 18cf448..871fbb7 100644
--- a/modules/core/src/test/java/org/gridgain/grid/spi/failover/jobstealing/GridJobStealingFailoverSpiStartStopSelfTest.java
+++ b/modules/core/src/test/java/org/gridgain/grid/spi/failover/jobstealing/GridJobStealingFailoverSpiStartStopSelfTest.java
@@ -20,8 +20,8 @@ import java.util.*;
 /**
  * Job stealing failover SPI start-stop test.
  */
-@GridSpiTest(spi = GridJobStealingFailoverSpi.class, group = "Failover SPI")
-public class GridJobStealingFailoverSpiStartStopSelfTest extends GridSpiStartStopAbstractTest<GridFailoverSpi>
{
+@GridSpiTest(spi = JobStealingFailoverSpi.class, group = "Failover SPI")
+public class GridJobStealingFailoverSpiStartStopSelfTest extends GridSpiStartStopAbstractTest<FailoverSpi>
{
     /** {@inheritDoc} */
     @Override protected GridSpiTestContext initSpiContext() throws Exception {
         GridSpiTestContext ctx = super.initSpiContext();

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/50d1554c/modules/core/src/test/java/org/gridgain/grid/spi/failover/never/GridNeverFailoverSpiSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/gridgain/grid/spi/failover/never/GridNeverFailoverSpiSelfTest.java
b/modules/core/src/test/java/org/gridgain/grid/spi/failover/never/GridNeverFailoverSpiSelfTest.java
index aa99a41..089d25e 100644
--- a/modules/core/src/test/java/org/gridgain/grid/spi/failover/never/GridNeverFailoverSpiSelfTest.java
+++ b/modules/core/src/test/java/org/gridgain/grid/spi/failover/never/GridNeverFailoverSpiSelfTest.java
@@ -19,8 +19,8 @@ import java.util.*;
 /**
  * Never failover SPI test.
  */
-@GridSpiTest(spi = GridNeverFailoverSpi.class, group = "Failover SPI")
-public class GridNeverFailoverSpiSelfTest extends GridSpiAbstractTest<GridNeverFailoverSpi>
{
+@GridSpiTest(spi = NeverFailoverSpi.class, group = "Failover SPI")
+public class GridNeverFailoverSpiSelfTest extends GridSpiAbstractTest<NeverFailoverSpi>
{
     /**
      * @throws Exception If failed.
      */

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/50d1554c/modules/core/src/test/java/org/gridgain/grid/spi/failover/never/GridNeverFailoverSpiStartStopSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/gridgain/grid/spi/failover/never/GridNeverFailoverSpiStartStopSelfTest.java
b/modules/core/src/test/java/org/gridgain/grid/spi/failover/never/GridNeverFailoverSpiStartStopSelfTest.java
index b2c62b9..f7063d8 100644
--- a/modules/core/src/test/java/org/gridgain/grid/spi/failover/never/GridNeverFailoverSpiStartStopSelfTest.java
+++ b/modules/core/src/test/java/org/gridgain/grid/spi/failover/never/GridNeverFailoverSpiStartStopSelfTest.java
@@ -16,7 +16,7 @@ import org.gridgain.testframework.junits.spi.*;
 /**
  * Never-failover SPI start-stop test.
  */
-@GridSpiTest(spi = GridNeverFailoverSpi.class, group = "Failover SPI")
-public class GridNeverFailoverSpiStartStopSelfTest extends GridSpiStartStopAbstractTest<GridFailoverSpi>
{
+@GridSpiTest(spi = NeverFailoverSpi.class, group = "Failover SPI")
+public class GridNeverFailoverSpiStartStopSelfTest extends GridSpiStartStopAbstractTest<FailoverSpi>
{
     // No-op.
 }

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/50d1554c/modules/core/src/test/java/org/gridgain/loadtests/direct/stealing/GridStealingLoadTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/gridgain/loadtests/direct/stealing/GridStealingLoadTest.java
b/modules/core/src/test/java/org/gridgain/loadtests/direct/stealing/GridStealingLoadTest.java
index 1656512..630f959 100644
--- a/modules/core/src/test/java/org/gridgain/loadtests/direct/stealing/GridStealingLoadTest.java
+++ b/modules/core/src/test/java/org/gridgain/loadtests/direct/stealing/GridStealingLoadTest.java
@@ -65,10 +65,10 @@ public class GridStealingLoadTest extends GridCommonAbstractTest {
         colSpi.setWaitJobsThreshold(0);
         colSpi.setMessageExpireTime(5000);
 
-        GridJobStealingFailoverSpi failSpi = new GridJobStealingFailoverSpi();
+        JobStealingFailoverSpi failSpi = new JobStealingFailoverSpi();
 
         // Verify defaults.
-        assert failSpi.getMaximumFailoverAttempts() == GridJobStealingFailoverSpi.DFLT_MAX_FAILOVER_ATTEMPTS;
+        assert failSpi.getMaximumFailoverAttempts() == JobStealingFailoverSpi.DFLT_MAX_FAILOVER_ATTEMPTS;
 
         DiscoverySpi discoSpi = new TcpDiscoverySpi();
 


Mime
View raw message