[
http://jira.codehaus.org/browse/MCOBERTURA-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_114783
]
Dennis Lundberg commented on MCOBERTURA-77:
-------------------------------------------
I had a look at the cobertura report that is generated when running the tests.
It says
"Unable to locate Circle.java. Have you specified the source directory?"
Does Cobertura 1.9 require the source (java) file of everything it instruments?
As it is now we only have the compiled class file and the check.ser file.
> Test failures on Windows
> ------------------------
>
> Key: MCOBERTURA-77
> URL: http://jira.codehaus.org/browse/MCOBERTURA-77
> Project: Maven 2.x Cobertura Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Environment: Windows XP, Sun Java 1.4.2_16, Maven
> 2.0.4/2.0.5/2.0.6/2.0.7, Surefire plugin 2.2/2.3
> Reporter: Dennis Lundberg
> Priority: Blocker
> Fix For: 2.2
>
> Attachments: org.codehaus.mojo.cobertura.CoberturaCheckMojoTest.txt
>
>
> Running 'mvn test' (after specifying which version of the surefire-plugin to
> use) with the current trunk fails with the following console output:
> Running org.codehaus.mojo.cobertura.CoberturaCheckMojoTest
> [INFO] Cobertura 1.9 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
> Cobertura: Loaded information on 1 classes.
> [ERROR] Circle failed check. Line coverage rate of 0.0% is below 80.0%
> Package failed check. Package line coverage rate of 0.0% is below 80.0%
> Project failed check. Total line coverage rate of 0.0% is below 80.0%
> [INFO] Cobertura 1.9 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
> Cobertura: Loaded information on 1 classes.
> [ERROR] Circle failed check. Line coverage rate of 0.0% is below 80.0%
> Package failed check. Package line coverage rate of 0.0% is below 50.0%
> Project failed check. Total line coverage rate of 0.0% is below 50.0%
> [INFO] Cobertura 1.9 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
> Cobertura: Loaded information on 1 classes.
> [ERROR] Circle failed check. Line coverage rate of 0.0% is below 100.0%
> Package failed check. Package line coverage rate of 0.0% is below 50.0%
> Project failed check. Total line coverage rate of 0.0% is below 50.0%
> [INFO] Cobertura 1.9 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
> Cobertura: Loaded information on 1 classes.
> [ERROR] Circle failed check. Line coverage rate of 0.0% is below 100.0%
> Package failed check. Package line coverage rate of 0.0% is below 100.0%
> Project failed check. Total line coverage rate of 0.0% is below 100.0%
> [INFO] Cobertura 1.9 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
> Cobertura: Loaded information on 1 classes.
> [ERROR] Circle failed check. Line coverage rate of 0.0% is below 100.0%
> Package failed check. Package line coverage rate of 0.0% is below 100.0%
> Project failed check. Total line coverage rate of 0.0% is below 100.0%
> [ERROR] Coverage check failed. See messages above.
> [INFO] Cannot perform check, instrumentation not performed - skipping.
> Tests run: 7, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.61 sec <<<
> FAILURE!
> Attached is the surefire report.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email