[MPECLIPSE-119] Updated test cases
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@432963 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
af66f640a5
commit
fe8dcc8fa8
@ -41,7 +41,8 @@
|
||||
<x:parse var="classpathDoc" xml="${classpathFile.toURL()}" />
|
||||
<x:set var="countJUnit" select="count($classpathDoc/classpath/classpathentry[contains(@path,'MAVEN_REPO/junit/jars/junit-3.8.1.jar')])"/>
|
||||
<assert:assertEquals expected="1" value="${countJUnit.intValue().toString()}" msg="JUnit dependency not found"/>
|
||||
<x:set var="countCactus" select="count($classpathDoc/classpath/classpathentry[contains(@path,'MAVEN_REPO/cactus/jars/cactus-13-1.6.1.jar')])"/>
|
||||
<echo>Warning, expecting cactus version 13.1-7 from current cactus plugin</echo>
|
||||
<x:set var="countCactus" select="count($classpathDoc/classpath/classpathentry[contains(@path,'MAVEN_REPO/cactus/jars/cactus-13-1.7.jar')])"/>
|
||||
<assert:assertEquals expected="1" value="${countCactus.intValue().toString()}" msg="Only one Cactus dependency should be found"/>
|
||||
|
||||
</goal>
|
||||
|
||||
@ -47,7 +47,7 @@
|
||||
<dependency>
|
||||
<groupId>cactus</groupId>
|
||||
<artifactId>cactus</artifactId>
|
||||
<version>13-1.6.1</version>
|
||||
<version>13-1.7</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user