[
http://jira.codehaus.org/browse/MRM-534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joakim Erdfelt closed MRM-534.
------------------------------
Assignee: Joakim Erdfelt
Resolution: Fixed
Made mock verification OS neutral.
Fixed in archiva/trunk.
> Test failure in RepositoryContentConsumerUtilTest
> -------------------------------------------------
>
> Key: MRM-534
> URL: http://jira.codehaus.org/browse/MRM-534
> Project: Archiva
> Issue Type: Bug
> Components: repository scanning
> Environment: JDK 1.5.0_11
> Windows XP
> Maven 2.0.7
> Reporter: ajbanck
> Assignee: Joakim Erdfelt
> Fix For: 1.0-beta-3
>
>
> Building from archiva/trunk, using 'mvn clean build' from the root, JDK
> 1.5.0_11
> 1 test is failing in RepositoryContentConsumerUtilTest:
> -------------------------------------------------------------------------------
> Test set:
> org.apache.maven.archiva.repository.scanner.RepositoryContentConsumerUtilTest
> -------------------------------------------------------------------------------
> Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.313 sec <<<
> FAILURE!
> testExecution(org.apache.maven.archiva.repository.scanner.RepositoryContentConsumerUtilTest)
> Time elapsed: 0.031 sec <<< FAILURE!
> junit.framework.AssertionFailedError:
> Expectation failure on verify:
> processFile("path/to/test-file.txt"): expected: 1, actual: 0
> at org.easymock.MockControl.verify(MockControl.java:205)
> at
> org.apache.maven.archiva.repository.scanner.RepositoryContentConsumerUtilTest.testExecution(RepositoryContentConsumerUtilTest.java:140)
--
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