public static ProviderTypeFilter newInstance() { return new ProviderTypeFilter(); }
@Test public void testDeregisterProvider() { runtimeRegistry.registerProvider(provider); verifyProviderIsRegistered(provider); runtimeRegistry.deregisterProvider(provider); verifyProviderIsNotRegistered(provider); }
@Test public void testDeregisterProviderType() { runtimeRegistry.registerProviderType(providerType); verifyProviderTypeIsRegistered(providerType); runtimeRegistry.deregisterProviderType(providerType); verifyProviderTypeIsNotRegistered(providerType); }
@Test public void testRegisterProvider() { runtimeRegistry.registerProvider(provider); verifyProviderIsRegistered(provider); }
@Test public void testRegisterRuntime() { runtimeRegistry.registerRuntime(runtime); verifyRuntimeIsRegistered(runtime); }
@Test public void testRegisterPipelineForProviderType() { verifyPipelineIsNotRegistered(pipeline); pipelineRegistry.registerPipeline(pipeline, providerType); verifyPipelineIsRegisteredForProviderType(pipeline, providerType); }
@Test public void testRegisterPipeline() { verifyPipelineIsNotRegistered(pipeline); pipelineRegistry.registerPipeline(pipeline); verifyPipelineIsRegistered(pipeline); }
@Test public void testGetPipelineByName() { verifyPipelineIsNotRegistered(pipeline); pipelineRegistry.registerPipeline(pipeline); Pipeline result = pipelineRegistry.getPipelineByName(PIPELINE_ID); assertEquals(pipeline, result); }
@Test public void testRegisterProviderType() { runtimeRegistry.registerProviderType(providerType); verifyProviderTypeIsRegistered(providerType); }
@Test public void testDeregisterProvider() { runtimeRegistry.registerProvider(provider); verifyProviderIsRegistered(provider); runtimeRegistry.deregisterProvider(provider); verifyProviderIsNotRegistered(provider); }
@Test public void testDeregisterProviderType() { runtimeRegistry.registerProviderType(providerType); verifyProviderTypeIsRegistered(providerType); runtimeRegistry.deregisterProviderType(providerType); verifyProviderTypeIsNotRegistered(providerType); }
@Test public void testRegisterProvider() { runtimeRegistry.registerProvider(provider); verifyProviderIsRegistered(provider); }
@Test public void testRegisterRuntime() { runtimeRegistry.registerRuntime(runtime); verifyRuntimeIsRegistered(runtime); }
@Test public void testRegisterPipelineForProviderType() { verifyPipelineIsNotRegistered(pipeline); pipelineRegistry.registerPipeline(pipeline, providerType); verifyPipelineIsRegisteredForProviderType(pipeline, providerType); }
@Test public void testRegisterPipeline() { verifyPipelineIsNotRegistered(pipeline); pipelineRegistry.registerPipeline(pipeline); verifyPipelineIsRegistered(pipeline); }
@Test public void testGetPipelineByName() { verifyPipelineIsNotRegistered(pipeline); pipelineRegistry.registerPipeline(pipeline); Pipeline result = pipelineRegistry.getPipelineByName(PIPELINE_ID); assertEquals(pipeline, result); }
@Test public void testRegisterProviderType() { runtimeRegistry.registerProviderType(providerType); verifyProviderTypeIsRegistered(providerType); }
public static ProviderTypeFilter newInstance() { return new ProviderTypeFilter(); }
@Test public void testDeregisterProviderById() { runtimeRegistry.registerProvider(provider); verifyProviderIsRegistered(provider); runtimeRegistry.deregisterProvider(provider.getId()); verifyProviderIsNotRegistered(provider); }
@Test public void testDeregisterProviderById() { runtimeRegistry.registerProvider(provider); verifyProviderIsRegistered(provider); runtimeRegistry.deregisterProvider(provider.getId()); verifyProviderIsNotRegistered(provider); }