[ 
https://jira.codehaus.org/browse/MSHARED-285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=324679#comment-324679
 ] 

Olivier Lamy commented on MSHARED-285:
--------------------------------------

applying the patch cause compilation failure:

[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] 
/Users/olamy/dev/sources/maven/maven-shared/maven-shared-utils/src/test/java/org/apache/maven/shared/utils/PathToolTest.java:[146,31]
 cannot find symbol
symbol  : method <java.lang.Object>nullValue()
location: class org.hamcrest.CoreMatchers
[ERROR] 
/Users/olamy/dev/sources/maven/maven-shared/maven-shared-utils/src/test/java/org/apache/maven/shared/utils/io/FileUtilsTest.java:[185,59]
 cannot find symbol
symbol  : method <java.io.File>nullValue()
location: class org.hamcrest.CoreMatchers
[ERROR] 
/Users/olamy/dev/sources/maven/maven-shared/maven-shared-utils/src/test/java/org/apache/maven/shared/utils/io/FileUtilsTest.java:[186,93]
 cannot find symbol
symbol  : method <java.io.File>nullValue()
location: class org.hamcrest.CoreMatchers
                
> Port tests to JUnit 4.11
> ------------------------
>
>                 Key: MSHARED-285
>                 URL: https://jira.codehaus.org/browse/MSHARED-285
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: maven-shared-utils
>    Affects Versions: maven-shared-utils-0.4
>         Environment: junit-4.11
>            Reporter: tradej
>            Priority: Minor
>         Attachments: maven-shared-utils-tests.patch, the-correct-patch.patch
>
>
> Hi. The new version of JUnit has slightly different method signatures that in 
> some cases (such as yours) limit usage of existing tests - they are too 
> broad, type-wise. To accomodate for the change, please, be so kind so as to 
> include this patch that rectifies the problem. Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to