[xml] Fix unit tests

This commit is contained in:
Andreas Dangel
2017-08-15 11:47:25 +02:00
parent f29dcd549f
commit b8cea8b7d4
3 changed files with 5 additions and 4 deletions

View File

@ -13,5 +13,6 @@ public class BasicRulesTest extends SimpleAggregatorTst {
@Override @Override
public void setUp() { public void setUp() {
addRule(RULESET, "ProjectVersionAsDependencyVersion"); addRule(RULESET, "ProjectVersionAsDependencyVersion");
addRule(RULESET, "InvalidDependencyTypes");
} }
} }

View File

@ -22,7 +22,7 @@
</project> </project>
]]></code> ]]></code>
<source-type>xml</source-type> <source-type>pom</source-type>
</test-code> </test-code>
<test-code> <test-code>
<description>Simple POM file with violation</description> <description>Simple POM file with violation</description>
@ -46,6 +46,6 @@
</project> </project>
]]></code> ]]></code>
<source-type>xml</source-type> <source-type>pom</source-type>
</test-code> </test-code>
</test-data> </test-data>

View File

@ -19,7 +19,7 @@
</dependencies> </dependencies>
</project> </project>
]]></code> ]]></code>
<source-type>xml</source-type> <source-type>pom</source-type>
</test-code> </test-code>
<test-code> <test-code>
<description>Simple POM file with violation</description> <description>Simple POM file with violation</description>
@ -40,6 +40,6 @@
</dependencies> </dependencies>
</project> </project>
]]></code> ]]></code>
<source-type>xml</source-type> <source-type>pom</source-type>
</test-code> </test-code>
</test-data> </test-data>