rediscovered a couple of tests :-)

This commit is contained in:
Gintas Grigelionis 2017-12-05 16:57:17 +01:00
parent 47061a88ce
commit e43138b0b5
2 changed files with 3 additions and 0 deletions

1
.gitignore vendored
View File

@ -12,6 +12,7 @@ doc/xooki/.svn
doc/samples/target-platform/bundles
doc/samples/target-platform/cache
lib
tagsdoc.properties
test/jar-repos
test/repositories/checkmodified/ivy-1.0.xml
test/repositories/checkmodified/mod1.1-1.0.jar

View File

@ -384,6 +384,7 @@ public class ChainResolverTest extends AbstractDependencyResolverTest {
assertEquals(Collections.emptyList(), resolvers[0].askedDeps);
}
@Test
public void testReturnFirst() throws Exception {
ChainResolver chain = new ChainResolver();
chain.setName("chain");
@ -450,6 +451,7 @@ public class ChainResolverTest extends AbstractDependencyResolverTest {
* @throws Exception if something goes wrong
* @see <a href="https://issues.apache.org/jira/browse/IVY-207">IVY-207</a>
*/
@Test
public void testReturnFirstWithCheckModifiedAndDefaultAndCacheAndRealResolver()
throws Exception {
DefaultDependencyDescriptor dd = new DefaultDependencyDescriptor(