Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for get_repo (0.06 sec)

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

            assertTrue(DefaultMirrorSelector.matchPattern(getRepo("a"), "a"));
            assertTrue(DefaultMirrorSelector.matchPattern(getRepo("a"), "a,"));
            assertTrue(DefaultMirrorSelector.matchPattern(getRepo("a"), ",a,"));
            assertTrue(DefaultMirrorSelector.matchPattern(getRepo("a"), "a,"));
    
            assertFalse(DefaultMirrorSelector.matchPattern(getRepo("b"), "a"));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

         */
        private ArtifactRepository getRepo(String id, String url) {
            return artifactRepositoryFactory.createArtifactRepository(id, url, new DefaultRepositoryLayout(), null, null);
        }
    
        /**
         * Build an ArtifactRepository object.
         *
         * @param id
         * @return
         */
        private ArtifactRepository getRepo(String id) {
            return getRepo(id, "http://something");
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top