@Test public void synchronizeSteps_use_case_sensitive_name() throws Exception { TransMeta transformarion1 = createTransMeta(); StepMeta step1 = createStepMeta( "STEP", true ); transformarion1.addStep( step1 ); spoonDelegates.trans.addTransformation( transformarion1 ); TransMeta transformarion2 = createTransMeta(); StepMeta step2 = createStepMeta( "Step", true ); transformarion2.addStep( step2 ); spoonDelegates.trans.addTransformation( transformarion2 ); step2.setDescription( AFTER_SYNC_VALUE ); sharedUtil.synchronizeSteps( step2 ); assertThat( step1.getDescription(), equalTo( BEFORE_SYNC_VALUE ) ); }
public synchronized void synchronizeSteps( StepMeta step ) { synchronizeSteps( step, step.getName() ); }
SharedObjectSyncUtil { public synchronized void synchronizeSteps( StepMeta step ) { synchronizeSteps( step, step.getName() ); } }
SharedObjectSyncUtil { public synchronized void synchronizeSteps( StepMeta step ) { synchronizeSteps( step, step.getName() ); } SharedObjectSyncUtil( Spoon spoon ); }
SharedObjectSyncUtil { public synchronized void synchronizeSteps( StepMeta step ) { synchronizeSteps( step, step.getName() ); } SharedObjectSyncUtil( Spoon spoon ); synchronized void synchronizeConnections( DatabaseMeta database ); synchronized void synchronizeConnections( DatabaseMeta database, String originalName ); synchronized void synchronizeSlaveServers( SlaveServer slaveServer ); synchronized void synchronizeSlaveServers( SlaveServer slaveServer, String originalName ); synchronized void deleteSlaveServer( SlaveServer removed ); synchronized void deleteClusterSchema( ClusterSchema removed ); synchronized void deletePartitionSchema( PartitionSchema removed ); synchronized void reloadTransformationRepositoryObjects( boolean includeActive ); synchronized void reloadJobRepositoryObjects( boolean includeActive ); synchronized void reloadSharedObjects(); synchronized void synchronizeClusterSchemas( ClusterSchema clusterSchema ); synchronized void synchronizeClusterSchemas( ClusterSchema clusterSchema, String originalName ); synchronized void synchronizePartitionSchemas( PartitionSchema partitionSchema ); synchronized void synchronizePartitionSchemas( PartitionSchema partitionSchema, String originalName ); synchronized void synchronizeSteps( StepMeta step ); synchronized void synchronizeSteps( StepMeta step, String originalName ); }
SharedObjectSyncUtil { public synchronized void synchronizeSteps( StepMeta step ) { synchronizeSteps( step, step.getName() ); } SharedObjectSyncUtil( Spoon spoon ); synchronized void synchronizeConnections( DatabaseMeta database ); synchronized void synchronizeConnections( DatabaseMeta database, String originalName ); synchronized void synchronizeSlaveServers( SlaveServer slaveServer ); synchronized void synchronizeSlaveServers( SlaveServer slaveServer, String originalName ); synchronized void deleteSlaveServer( SlaveServer removed ); synchronized void deleteClusterSchema( ClusterSchema removed ); synchronized void deletePartitionSchema( PartitionSchema removed ); synchronized void reloadTransformationRepositoryObjects( boolean includeActive ); synchronized void reloadJobRepositoryObjects( boolean includeActive ); synchronized void reloadSharedObjects(); synchronized void synchronizeClusterSchemas( ClusterSchema clusterSchema ); synchronized void synchronizeClusterSchemas( ClusterSchema clusterSchema, String originalName ); synchronized void synchronizePartitionSchemas( PartitionSchema partitionSchema ); synchronized void synchronizePartitionSchemas( PartitionSchema partitionSchema, String originalName ); synchronized void synchronizeSteps( StepMeta step ); synchronized void synchronizeSteps( StepMeta step, String originalName );  }