changes for jacoco code coverage
This commit is contained in:
Родитель
56c53b5e90
Коммит
1344b22e6b
4
pom.xml
4
pom.xml
|
@ -36,7 +36,8 @@
|
|||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>generate-unit-test-report</id>
|
||||
<id>generate-unit-test-report</id>
|
||||
<phase>test</phase>
|
||||
<goals>
|
||||
<goal>report</goal>
|
||||
</goals>
|
||||
|
@ -49,5 +50,4 @@
|
|||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
<includes><include>**</include></includes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<version>1.0</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
<artifactId>TestTools</artifactId>
|
||||
<artifactId>Tools.Test</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
@ -31,6 +31,14 @@
|
|||
<testSourceDirectory>./vmware</testSourceDirectory>
|
||||
<outputDirectory>../../_build/tests/tools/vmware</outputDirectory>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>2.3.2</version>
|
||||
<configuration>
|
||||
<includes><include>**</include></includes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
|
|
|
@ -8,7 +8,7 @@ public class App1Test {
|
|||
public void TestAddApp() {
|
||||
app1.App1 app = new app1.App1();
|
||||
String addedStr = app.addStrings("a","bc");
|
||||
assertEquals("abc1", addedStr);
|
||||
assertEquals("abc", addedStr);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Загрузка…
Ссылка в новой задаче