Class AbstractRouterServiceTest

java.lang.Object
org.jumpmind.symmetric.service.impl.AbstractServiceTest
org.jumpmind.symmetric.service.impl.AbstractRouterServiceTest
Direct Known Subclasses:
JdbcRouterServiceTest

public abstract class AbstractRouterServiceTest extends AbstractServiceTest
  • Constructor Details

    • AbstractRouterServiceTest

      public AbstractRouterServiceTest()
  • Method Details

    • testRoutingScenarios

      @Test public void testRoutingScenarios() throws Exception
      Throws:
      Exception
    • testMultiChannelRoutingToEveryone

      public void testMultiChannelRoutingToEveryone()
    • testLookupTableRouting

      public void testLookupTableRouting()
    • testColumnMatchTransactionalOnlyRoutingToNode1

      public void testColumnMatchTransactionalOnlyRoutingToNode1()
    • testSubSelectNonTransactionalRoutingToNode1

      public void testSubSelectNonTransactionalRoutingToNode1()
    • testSyncIncomingBatch

      public void testSyncIncomingBatch() throws Exception
      Throws:
      Exception
    • testLargeNumberOfEventsToManyNodes

      public void testLargeNumberOfEventsToManyNodes()
    • testBshTransactionalRoutingOnUpdate

      public void testBshTransactionalRoutingOnUpdate()
    • testBshRoutingDeletesToNode3

      public void testBshRoutingDeletesToNode3()
    • testColumnMatchSubtableRoutingToNode1

      public void testColumnMatchSubtableRoutingToNode1()
    • testColumnMatchOnNull

      public void testColumnMatchOnNull()
    • testColumnMatchOnNotNull

      public void testColumnMatchOnNotNull()
    • testSyncOnColumnChange

      public void testSyncOnColumnChange()
    • testSyncIncomingBatchWhenUnrouted

      public void testSyncIncomingBatchWhenUnrouted() throws Exception
      Throws:
      Exception
    • testDefaultRouteToTargetNodeGroupOnly

      public void testDefaultRouteToTargetNodeGroupOnly() throws Exception
      Throws:
      Exception
    • testUnroutedDataCreatedBatch

      public void testUnroutedDataCreatedBatch()
    • testGapRouting

      public void testGapRouting() throws Exception
      Throws:
      Exception
    • testGapWithGapAtBegining

      public void testGapWithGapAtBegining()
    • testGapWithGapAtEnd

      public void testGapWithGapAtEnd()
    • testDataGapExpired

      public void testDataGapExpired() throws Exception
      Throws:
      Exception
    • testLotsOfGaps

      public void testLotsOfGaps()
    • testNoResend

      public void testNoResend()
    • testDontSelectOldDataDuringRouting

      public void testDontSelectOldDataDuringRouting() throws Exception
      Throws:
      Exception
    • testMaxNumberOfDataToRoute

      public void testMaxNumberOfDataToRoute()
    • setUpDefaultTriggerRouterForTable1

      protected void setUpDefaultTriggerRouterForTable1()
    • countUnroutedBatches

      protected int countUnroutedBatches()
    • getTestRoutingTableTrigger

      protected TriggerRouter getTestRoutingTableTrigger(String tableName)
    • filterForChannels

      protected void filterForChannels(OutgoingBatches batches, NodeChannel... channels)
    • countBatchesForChannel

      protected int countBatchesForChannel(OutgoingBatches batches, NodeChannel channel)
    • insertGaps

      protected void insertGaps(int insertedCount, int rollbackCount, int repeatCount)
    • deleteAll

      protected void deleteAll(String tableName)
    • insert

      protected void insert(String tableName, int count, boolean transactional)
    • insert

      protected void insert(String tableName, int count, boolean transactional, String node2disable)
    • insert

      protected void insert(String tableName, int count, boolean transactional, String node2disable, String routingVarcharFieldValue)
    • insert

      protected void insert(String tableName, int count, boolean transactional, String node2disable, String routingVarcharFieldValue, boolean rollback)
    • update

      protected void update(String tableName, String value)
    • execute

      protected void execute(String sql, String node2disable)