Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for expected (0.16 sec)

  1. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            assertEquals(c1.hashCode(), c2.hashCode(), "expected same hashcode for " + v1 + " and " + v2);
            assertEquals(c1, c2, "expected " + v1 + ".equals( " + v2 + " )");
            assertEquals(c2, c1, "expected " + v2 + ".equals( " + v1 + " )");
        }
    
        private void checkVersionsHaveSameOrder(String v1, String v2) {
            ComparableVersion c1 = new ComparableVersion(v1);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 09 06:39:47 GMT 2024
    - 14K bytes
    - Viewed (0)
  2. 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)
  3. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            List<String> expected = new ArrayList<>();
            expected.add("maven-it-plugin-error");
            expected.add("maven-it-plugin-configuration");
            expected.add("maven-it-plugin-dependency-resolution");
            expected.add("maven-it-plugin-packaging");
            expected.add("maven-it-plugin-log-file");
            expected.add("maven-it-plugin-expression");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  4. 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)
  5. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

        }
    
        @Test
        public void testValueExtractionWithAPomValueContainingAPath() throws Exception {
            String expected = getTestFile("target/test-classes/target/classes").getCanonicalPath();
    
            Build build = new Build();
            build.setDirectory(expected.substring(0, expected.length() - "/classes".length()));
    
            Model model = new Model();
            model.setBuild(build);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/relocation/UserPropertiesArtifactRelocationSource.java

                    break;
                default:
                    throw new IllegalArgumentException("Bad artifact coordinates " + coord
                            + ", expected format is <groupId>:<artifactId>[:<extension>[:<classifier>]]:<version>");
            }
            return s;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.1K 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/MavenScopeDependenciesValidator.java

                    .map(org.eclipse.aether.graph.Dependency::getArtifact)
                    .filter(a -> "org.apache.maven".equals(a.getGroupId()))
                    .filter(a -> !DefaultPluginValidationManager.EXPECTED_PROVIDED_SCOPE_EXCLUSIONS_GA.contains(
                            a.getGroupId() + ":" + a.getArtifactId()))
                    .filter(a -> a.getVersion().startsWith("3."))
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 07 09:51:56 GMT 2024
    - 2.9K bytes
    - Viewed (0)
Back to top