cobertura-test-prep/ 0000755 0001750 0001750 00000000000 11330102014 013772 5 ustar user03 user03 cobertura-test-prep/src/ 0000755 0001750 0001750 00000000000 11330102014 014561 5 ustar user03 user03 cobertura-test-prep/src/test/ 0000755 0001750 0001750 00000000000 11330102014 015540 5 ustar user03 user03 cobertura-test-prep/src/test/java/ 0000755 0001750 0001750 00000000000 11337605045 016504 5 ustar user03 user03 cobertura-test-prep/src/test/java/CircleTest.java 0000644 0001750 0001750 00000001275 11330102014 021372 0 ustar user03 user03 import junit.framework.TestCase;
public class CircleTest
extends TestCase
{
private Circle circle;
// Intentionally create bug here.
public void setUp()
{
circle = new Circle( 2, 3, 2.5 );
}
public void testX()
{
assertEquals( "Test X", 2, circle.getX() );
}
public void testY()
{
assertEquals( "Test Y", 3, circle.getY() );
}
public void testRadius()
{
assertEquals( "Test radius", 2.5, circle.getRadius(), 0.1 );
}
public void testDiameter()
{
assertEquals( "Test Diameter", 5, circle.getDiameter(), 0.1 );
}
public void tearDown()
{
circle = null;
}
} cobertura-test-prep/src/main/ 0000755 0001750 0001750 00000000000 11330102014 015505 5 ustar user03 user03 cobertura-test-prep/src/main/java/ 0000755 0001750 0001750 00000000000 11337605017 016450 5 ustar user03 user03 cobertura-test-prep/src/main/java/Circle.java 0000644 0001750 0001750 00000001206 11330102014 020471 0 ustar user03 user03 public class Circle
{
private double radius;
private int x, y;
public Circle( int x, int y, double radius )
{
this.x = x;
this.y = y;
this.radius = radius;
}
public int getX()
{
return x;
}
public int getY()
{
return y;
}
public double getRadius()
{
return radius;
}
public double getDiameter()
{
return radius * 2;
}
public double getArea()
{
return ( Math.PI * ( radius * radius ) );
}
public double getCircumference()
{
return ( Math.PI * getDiameter() );
}
} cobertura-test-prep/pom.xml 0000644 0001750 0001750 00000003467 11330102014 015321 0 ustar user03 user03
4.0.0
2.0.4
org.codehaus.mojo.test
cobertura-test-prep
jar
1.0
Test Prep Project for Maven Cobertura Plugin
2005
carlos
Carlos Sanchez
carlos@apache.org
Java Developer
joakime
Joakim Erdfelt
joakim@erdfelt.net
Java Developer
-5
junit
junit
3.8.1
test
org.apache.maven.plugins
maven-surefire-plugin
2.3
true
org.codehaus.mojo
cobertura-maven-plugin
pom.xml 0000644 0001750 0001750 00000013401 11337604255 011424 0 ustar user03 user03
mojo
org.codehaus.mojo
16
4.0.0
2.0.3
cobertura-maven-plugin
maven-plugin
2.3
Cobertura Maven Plugin
2005
Cobertura plugin for maven 2. Cobertura is a free Java tool that calculates the percentage of code accessed by
tests. It can be used to identify which parts of your Java program are lacking test coverage.
The Apache Software License, Version 2.0
http://www.apache.org/licenses/LICENSE-2.0.txt
repo
JIRA
http://jira.codehaus.org/browse/MCOBERTURA
joakime
Joakim Erdfelt
joakim@erdfelt.net
Java Developer
-5
wgwaltney
Will Gwaltney
will.gwaltney@sas.com
Java Developer
fgiust
Fabrizio Giustina
fgiust@apache.org
Developer
aheritier
Arnaud Heritier
aheritier@apache.org
Developer
Despot
+1
org.apache.maven.plugins
maven-compiler-plugin
2.0.2
org.apache.maven.plugins
maven-dependency-plugin
2.1
org.apache.maven.plugins
maven-surefire-plugin
2.3
org.apache.maven.plugins
maven-changes-plugin
2.0-beta-3
net.sourceforge.cobertura
cobertura
1.9.2
net.sourceforge.cobertura
cobertura-runtime
1.9.2
pom
urbanophile
java-getopt
1.0.9
org.apache.maven
maven-artifact
2.0
org.apache.maven
maven-plugin-api
2.0
org.apache.maven.reporting
maven-reporting-api
2.0
org.apache.maven
maven-project
2.0
org.apache.maven.reporting
maven-reporting-impl
2.0
org.codehaus.plexus
plexus-container-default
1.0-alpha-9
org.codehaus.plexus
plexus-utils
1.1
httpunit
httpunit
1.6
test
junit
junit
3.8.1
test
org.apache.maven.shared
maven-plugin-testing-harness
1.0-beta-1
test
scm:svn:http://svn.codehaus.org/mojo/tags/cobertura-maven-plugin-2.3
scm:svn:https://svn.codehaus.org/mojo/tags/cobertura-maven-plugin-2.3
http://svn.codehaus.org/mojo/tags/cobertura-maven-plugin-2.3
src/ 0000755 0001750 0001750 00000000000 11330102016 010654 5 ustar user03 user03 src/test/ 0000755 0001750 0001750 00000000000 11337605701 011653 5 ustar user03 user03 src/test/plugin-configs/ 0000755 0001750 0001750 00000000000 11330102015 014556 5 ustar user03 user03 src/test/plugin-configs/report-empty-src-plugin-config.xml 0000644 0001750 0001750 00000002230 11330102015 023270 0 ustar user03 user03
cobertura-maven-plugin
${basedir}/target/test-harness/report-empty-src/cobertura.ser
${basedir}/target/test-harness/report-empty-src/site/cobertura
html