コード例 #1
0
 @Test(expected = IllegalArgumentException.class)
 public void testMavenGavBadVersionRange() throws Exception {
   Assert.assertNotNull(
       ChildFirstClassLoader.createMavenGavURL("org.sonatype.aether:aether-api:[0,)"));
 }
コード例 #2
0
 @Test
 public void testMavenGav() throws Exception {
   Assert.assertNotNull(
       ChildFirstClassLoader.createMavenGavURL("org.sonatype.aether:aether-api:1.13.1"));
 }