org.jboss.arquillian.container.test.impl.enricher.resource.URLResourceProvider Java Examples
The following examples show how to use
org.jboss.arquillian.container.test.impl.enricher.resource.URLResourceProvider.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: WildFlySwarmExtension.java From thorntail with Apache License 2.0 | 5 votes |
@Override public void register(ExtensionBuilder builder) { builder.service(Protocol.class, DaemonProtocol.class) .service(AuxiliaryArchiveAppender.class, WildFlySwarmDeploymentAppender.class) .service(DeployableContainer.class, WildFlySwarmContainer.class) .override(DeploymentScenarioGenerator.class, AnnotationDeploymentScenarioGenerator.class, DefaultDeploymentScenarioGenerator.class) .override(ResourceProvider.class, URLResourceProvider.class, SwarmURLResourceProvider.class) .override(ResourceProvider.class, URIResourceProvider.class, SwarmURIResourceProvider.class) .observer(WildFlySwarmObserver.class); }
Example #2
Source File: WildFlySwarmExtension.java From ARCHIVE-wildfly-swarm with Apache License 2.0 | 5 votes |
@Override public void register(ExtensionBuilder builder) { builder.service(Protocol.class, DaemonProtocol.class) .service(AuxiliaryArchiveAppender.class, WildFlySwarmDeploymentAppender.class) .service(DeployableContainer.class, WildFlySwarmContainer.class) .override(ResourceProvider.class, URLResourceProvider.class, SwarmURLResourceProvider.class) .override(ResourceProvider.class, URIResourceProvider.class, SwarmURIResourceProvider.class) .observer(WildFlySwarmObserver.class); }
Example #3
Source File: ArchiveAppenderExtension.java From hammock with Apache License 2.0 | 5 votes |
@Override public void register(ExtensionBuilder extensionBuilder) { extensionBuilder .service(ApplicationArchiveProcessor.class, HammockArchiveAppender.class) .service(ApplicationArchiveProcessor.class, ConfigArchiveAppender.class) .override(ResourceProvider.class, URIResourceProvider.class, HammockURIProvider.class) .override(ResourceProvider.class, URLResourceProvider.class, HammockURLProvider.class) ; }
Example #4
Source File: HammockArquillianExtension.java From hammock with Apache License 2.0 | 5 votes |
@Override public void register(ExtensionBuilder extensionBuilder) { extensionBuilder .service(ApplicationArchiveProcessor.class, HammockArchiveAppender.class) .override(ResourceProvider.class, URIResourceProvider.class, HammockURIProvider.class) .override(ResourceProvider.class, URLResourceProvider.class, HammockURLProvider.class); }
Example #5
Source File: KeycloakContainerTestExtension.java From keycloak with Apache License 2.0 | 5 votes |
private void registerOriginal(ExtensionBuilder builder) { // Start -> Copied from TestExtension builder.context(SuiteContextImpl.class) .context(ClassContextImpl.class) .context(TestContextImpl.class); builder.observer(TestContextHandler.class) .observer(ClientTestInstanceEnricher.class); // End -> Copied from TestExtension builder.service(AuxiliaryArchiveAppender.class, ArquillianDeploymentAppender.class) .service(TestEnricher.class, ArquillianResourceTestEnricher.class) .service(Protocol.class, LocalProtocol.class) .service(CommandService.class, LocalCommandService.class) .service(ResourceProvider.class, URLResourceProvider.class) .service(ResourceProvider.class, URIResourceProvider.class) .service(ResourceProvider.class, DeployerProvider.class) .service(ResourceProvider.class, InitialContextProvider.class) .service(ResourceProvider.class, ContainerControllerProvider.class); // ContainerEventController is overriden // builder.observer(ContainerEventController.class) builder.observer(ContainerRestarter.class) .observer(DeploymentGenerator.class) .observer(ArchiveDeploymentToolingExporter.class) .observer(ProtocolRegistryCreator.class) .observer(ClientContainerControllerCreator.class) .observer(ClientDeployerCreator.class) .observer(ClientBeforeAfterLifecycleEventExecuter.class) .observer(ClientTestExecuter.class) // .observer(LocalTestExecuter.class) .observer(ModelTestExecutor.class) .observer(RemoteTestExecuter.class) .observer(DeploymentCommandObserver.class) .observer(ContainerCommandObserver.class) .observer(RemoteResourceCommandObserver.class) .observer(KeycloakContainerFeaturesController.class); }
Example #6
Source File: KeycloakArquillianExtension.java From keycloak with Apache License 2.0 | 5 votes |
@Override public void register(ExtensionBuilder builder) { builder .service(ResourceProvider.class, SuiteContextProvider.class) .service(ResourceProvider.class, TestContextProvider.class) .service(ResourceProvider.class, AdminClientProvider.class) .service(ResourceProvider.class, OAuthClientProvider.class) .service(ResourceProvider.class, LoadBalancerControllerProvider.class); builder .service(DeploymentScenarioGenerator.class, DeploymentTargetModifier.class) .service(ApplicationArchiveProcessor.class, DeploymentArchiveProcessor.class) .service(TestEnricher.class, CacheStatisticsControllerEnricher.class) .observer(JmxConnectorRegistryCreator.class) .observer(AuthServerTestEnricher.class) .observer(AppServerTestEnricher.class) .observer(CrossDCTestEnricher.class) .observer(H2TestEnricher.class); builder .service(TestExecutionDecider.class, MigrationTestExecutionDecider.class) .service(TestExecutionDecider.class, AdapterTestExecutionDecider.class) .service(TestExecutionDecider.class, VaultTestExecutionDecider.class) .service(TestExecutionDecider.class, AuthServerExcludeExecutionDecider.class); builder .override(ResourceProvider.class, URLResourceProvider.class, URLProvider.class) .override(ResourceProvider.class, CustomizableURLResourceProvider.class, URLProvider.class) .override(ApplicationArchiveProcessor.class, OSGiApplicationArchiveProcessor.class, KeycloakOSGiApplicationArchiveProcessor.class) .override(ResourceProvider.class, ContainerCustomizableURLResourceProvider.class, URLProvider.class); builder .observer(KeycloakWebDriverConfigurator.class) .observer(HtmlUnitScreenshots.class) .observer(KeycloakDronePostSetup.class); }