Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for expected (0.3 sec)

  1. maven-core/src/test/java/org/apache/maven/project/ProjectModelResolverTest.java

            UnresolvableModelException e = assertThrows(
                    UnresolvableModelException.class,
                    () -> newModelResolver().resolveModel(parent.getDelegate(), new AtomicReference<>()),
                    "Expected 'UnresolvableModelException' not thrown.");
            assertNotNull(e.getMessage());
            assertThat(e.getMessage(), containsString("Could not find artifact org.apache:apache:pom:0 in central"));
        }
    
        @Test
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Apr 03 17:49:40 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java

            Path tempFile = Files.createTempFile("", ".pom");
            Files.delete(tempFile);
            try (InputStream expected = Files.newInputStream(beforePomFile)) {
                Model model = new Model(new MavenStaxReader().read(expected));
                MavenProject project = new MavenProject(model);
                project.setOriginalModel(model);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 09:23:26 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/lifecycle/MavenExecutionPlanTest.java

            ExecutionPlanItem expected = plan.findLastInPhase("package");
            ExecutionPlanItem beerPhase = plan.findLastInPhase("BEER"); // Beer comes straight after package in stub
            assertEquals(expected, beerPhase);
            assertNotNull(expected);
        }
    
        @Test
        void testThreadSafeMojos() throws Exception {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  4. maven-api-impl/src/test/java/org/apache/maven/internal/impl/resolver/DefaultModelResolverTest.java

            ModelResolverException e = assertThrows(
                    ModelResolverException.class,
                    () -> newModelResolver().resolveModel(session, parent, new AtomicReference<>()),
                    "Expected 'ModelResolverException' not thrown.");
            assertNotNull(e.getMessage());
            assertThat(e.getMessage(), containsString("Could not find artifact org.apache:apache:pom:0 in central"));
        }
    
        @Test
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

         * @param oldValue the expected data currently associated with the key, may be {@code null}
         * @param newValue the data to associate with the key, may be {@code null} to remove the mapping
         * @return {@code true} if the key mapping was successfully updated from the old value to the new value,
         *         {@code false} if the current key mapping didn't match the expected value and was not updated.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/AboutTheStubs.html

    These stubs form an internally consistent data-set that is not expected to change. They are
    used to test the individual components in the lifecycle with data that has expected characteristics
    and can be asserted as desired.
    
    You can change/extend these stubs, and tests should not be breaking too much, since most tests
    assert using expected values from the stubs. Normally, when you try to use data from the stubs that
    HTML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Jul 02 16:47:10 GMT 2021
    - 2.3K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequestPopulator.java

        /**
         * Copies the values from the given toolchains into the specified execution request. This method will replace any
         * existing values in the execution request that are controlled by the toolchains. Hence, it is expected that this
         * method is called on a new/empty execution request before the caller mutates it to fit its needs.
         *
         * @param request The execution request to populate, must not be {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java

            ResolutionNode resolvedNode = getConflictResolver().resolveConflict(actualNode1, actualNode2);
    
            assertNotNull(resolvedNode, "Expected resolvable");
            assertEquals(expectedNode, resolvedNode, "Resolution node");
        }
    
        protected Artifact createArtifact(String id, String version) throws InvalidVersionSpecificationException {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileInjector.java

    /**
     * Handles profile injection into the model.
     *
     */
    public interface ProfileInjector {
    
        /**
         * Merges values from the specified profile into the given model. Implementations are expected to keep the profile
         * and model completely decoupled by injecting deep copies rather than the original objects from the profile.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/internal/Maven2DependenciesValidator.java

                    .map(Dependency::getArtifact)
                    .filter(d -> "org.apache.maven".equals(d.getGroupId()))
                    .filter(d -> !DefaultPluginValidationManager.EXPECTED_PROVIDED_SCOPE_EXCLUSIONS_GA.contains(
                            d.getGroupId() + ":" + d.getArtifactId()))
                    .map(Artifact::getVersion)
                    .filter(v -> v.startsWith("2."))
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 26 16:22:12 GMT 2023
    - 2.6K bytes
    - Viewed (0)
Back to top