Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 64 for expected (0.34 sec)

  1. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            wagon.addExpectedContent(repos.get(0).getLayout().pathOf(artifact), "expected");
            wagon.addExpectedContent(
                    repos.get(0).getLayout().pathOf(artifact) + ".md5", "cd26d9e10ce691cc69aa2b90dcebbdac");
            wagon.addExpectedContent(repos.get(1).getLayout().pathOf(artifact), "expected");
            wagon.addExpectedContent(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/artifact/transform/TransformationManagerTest.java

                    "We expected the release transformation and got " + tms.get(0));
    
            assertTrue(
                    tms.get(1) instanceof LatestArtifactTransformation,
                    "We expected the latest transformation and got " + tms.get(1));
    
            assertTrue(
                    tms.get(2) instanceof SnapshotTransformation,
                    "We expected the snapshot transformation and got " + tms.get(2));
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolutionExceptionTest.java

            String type = "jar";
            String classifier = "aClassifier";
            String downloadUrl = "http://somewhere.com/download";
            List<String> path = Arrays.asList("dependency1", "dependency2");
            String expected = "Missing artifact" + LS + LS + "  Try downloading the file manually from: " + LS
                    + "      http://somewhere.com/download" + LS + LS + "  Then, install it using the command: " + LS
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  4. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar

    @Override public void describeTo(Description description) { description.appendValue(expectedValue); } private static boolean areEqual(Object actual, Object expected) { if (actual == null) { return expected == null; } if (expected != null && isArray(actual)) { return isArray(expected) && areArraysEqual(actual, expected); } return actual.equals(expected); } private static boolean areArraysEqual(Object actualArray, Object expectedArray) { return areArrayLengthsEqual(actualArray, expectedArray) && areArr...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 31.9K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/artifact/handler/ArtifactHandlerTest.java

            List<String> lines = Files.readAllLines(apt.toPath());
    
            for (String line : lines) {
                if (line.startsWith("||")) {
                    String[] cols = line.split("\\|\\|");
                    String[] expected = new String[] {
                        "",
                        "type",
                        "classifier",
                        "extension",
                        "packaging",
                        "language",
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Dec 14 10:51:16 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                    extensionRecord = setupExtensionsRealm(project, plugin, repositorySession);
                } catch (PluginManagerException e) {
                    // extensions realm is expected to be fully setup at this point
                    // any exception means a problem in maven code, not a user error
                    throw new IllegalStateException(e);
                }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

            File f1 = getTestFile("src/test/resources/projects/future-model-version-pom.xml");
    
            ProjectBuildingException e = assertThrows(
                    ProjectBuildingException.class, () -> getProject(f1), "Expected to fail for future versions");
            assertThat(e.getMessage(), containsString("Building this project requires a newer version of Maven"));
        }
    
        @Test
        void testPastModelVersion() throws Exception {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Jun 19 15:04:04 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            ArtifactResolutionResult res = collect(a);
    
            assertTrue(res.hasVersionRangeViolations());
    
            /*
             * try { ArtifactResolutionResult res = collect( a ); fail( "Expected b not to resolve: " + res ); } catch (
             * OverConstrainedVersionException e ) { assertTrue( e.getMessage().indexOf( "[1.0-SNAPSHOT]" ) <
             * e.getMessage().indexOf( "[1.0,)" ) ); }
             */
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            // topological order of the projects, and therefore can potentially change the build order.
            //
            // Note that participants may affect the topological order of the projects but it is
            // not expected that a participant will add or remove projects from the session.
            //
    
            graphResult = buildGraph(session);
    
            if (graphResult.hasErrors()) {
                return addExceptionToResult(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/project/GraphTest.java

            addEdge(graph3, "f", "g");
            List<String> expected3 = new ArrayList<>();
            expected3.add("d");
            expected3.add("g");
            expected3.add("f");
            expected3.add("e");
            expected3.add("c");
            expected3.add("b");
            expected3.add("a");
            List<String> actual3 = graph3.visitAll();
            assertEquals(expected3, actual3);
    
            Graph graph4 = new Graph();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 8.3K bytes
    - Viewed (0)
Back to top