- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for getContainer (0.12 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java
import static org.junit.jupiter.api.Assertions.assertNotNull; @PlexusTest @Deprecated class DefaultProfileManagerTest { @Inject PlexusContainer container; protected PlexusContainer getContainer() { return container; } @Test void testShouldActivateDefaultProfile() throws Exception { Profile notActivated = new Profile(); notActivated.setId("notActivated");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.3K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
@Inject protected PlexusContainer container; public PlexusContainer getContainer() { return container; } @BeforeEach public void setUp() throws Exception { if (getContainer().hasComponent(ProjectBuilder.class, "test")) { projectBuilder = getContainer().lookup(ProjectBuilder.class, "test"); } else { // default over to the main project builder...
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.9K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
getContainer().lookup(RepositorySystem.class), getContainer().lookup(MavenRepositorySystem.class), new DefaultLookup(getContainer()), getContainer().lookup(RuntimeInformation.class)) .newSession(session)); legacySupport.setSession(session); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java
@Override @BeforeEach public void setUp() throws Exception { super.setUp(); ArtifactResolver resolver = getContainer().lookup(ArtifactResolver.class, "classpath"); DefaultArtifactDescriptorReader pomReader = (DefaultArtifactDescriptorReader) getContainer().lookup(ArtifactDescriptorReader.class); Field field = DefaultArtifactDescriptorReader.class.getDeclaredField("artifactResolver");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.4K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultModelResolverTest.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.6K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReaderTest.java
@Test void testMng5459() throws Exception { // prepare DefaultArtifactDescriptorReader reader = (DefaultArtifactDescriptorReader) getContainer().lookup(ArtifactDescriptorReader.class); RepositoryEventDispatcher eventDispatcher = mock(RepositoryEventDispatcher.class);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java
SingletonLaContainerFactory.getContainer().register(CrawlingInfoHelper.class, "crawlingInfoHelper"); SingletonLaContainerFactory.getContainer().register(PathMappingHelper.class, "pathMappingHelper"); SingletonLaContainerFactory.getContainer().register(CrawlingConfigHelper.class, "crawlingConfigHelper"); SingletonLaContainerFactory.getContainer().register(SystemHelper.class, "systemHelper");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 24 13:01:38 UTC 2024 - 41.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java
public Object evaluate(final String template, final Map<String, Object> paramMap) { final Map<String, Object> bindingMap = new HashMap<>(paramMap); bindingMap.put("container", SingletonLaContainerFactory.getContainer()); final GroovyShell groovyShell = new GroovyShell(new Binding(bindingMap)); try { return groovyShell.evaluate(template); } catch (final JobProcessingException e) { throw e;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 17 12:10:08 UTC 2024 - 2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
@Inject protected org.apache.maven.project.ProjectBuilder projectBuilder; protected abstract String getProjectsDirectory(); protected PlexusContainer getContainer() { return container; } protected File getProject(String name) throws Exception { File source = new File(new File(getBasedir(), getProjectsDirectory()), name);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/DefaultArtifactResolverTest.java
assertTrue(seen, "Could not find ThreadGroup: " + DefaultArtifactResolver.DaemonThreadCreator.THREADGROUP_NAME); } @Test void testLookup() throws Exception { ArtifactResolver resolver = getContainer().lookup(ArtifactResolver.class, "default"); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0)