[xml] Fix unit tests
This commit is contained in:
@ -13,5 +13,6 @@ public class BasicRulesTest extends SimpleAggregatorTst {
|
||||
@Override
|
||||
public void setUp() {
|
||||
addRule(RULESET, "ProjectVersionAsDependencyVersion");
|
||||
addRule(RULESET, "InvalidDependencyTypes");
|
||||
}
|
||||
}
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
</project>
|
||||
]]></code>
|
||||
<source-type>xml</source-type>
|
||||
<source-type>pom</source-type>
|
||||
</test-code>
|
||||
<test-code>
|
||||
<description>Simple POM file with violation</description>
|
||||
@ -46,6 +46,6 @@
|
||||
|
||||
</project>
|
||||
]]></code>
|
||||
<source-type>xml</source-type>
|
||||
<source-type>pom</source-type>
|
||||
</test-code>
|
||||
</test-data>
|
@ -19,7 +19,7 @@
|
||||
</dependencies>
|
||||
</project>
|
||||
]]></code>
|
||||
<source-type>xml</source-type>
|
||||
<source-type>pom</source-type>
|
||||
</test-code>
|
||||
<test-code>
|
||||
<description>Simple POM file with violation</description>
|
||||
@ -40,6 +40,6 @@
|
||||
</dependencies>
|
||||
</project>
|
||||
]]></code>
|
||||
<source-type>xml</source-type>
|
||||
<source-type>pom</source-type>
|
||||
</test-code>
|
||||
</test-data>
|
||||
|
Reference in New Issue
Block a user