You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Prasad Kashyap (JIRA)" <ji...@apache.org> on 2006/11/20 06:47:02 UTC

[jira] Updated: (GERONIMO-2579) TestNG testcases in testsuite broken. JUnit expected. Move to JUnit 4.0 ?

     [ http://issues.apache.org/jira/browse/GERONIMO-2579?page=all ]

Prasad Kashyap updated GERONIMO-2579:
-------------------------------------

    Summary: TestNG testcases in testsuite broken. JUnit expected. Move to JUnit 4.0 ?  (was: TestNG testcases in testsuite now broken due to 1.5 build)

> TestNG testcases in testsuite broken. JUnit expected. Move to JUnit 4.0 ?
> -------------------------------------------------------------------------
>
>                 Key: GERONIMO-2579
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2579
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: buildsystem
>    Affects Versions: 2.0
>            Reporter: Prasad Kashyap
>         Assigned To: Jason Dillon
>             Fix For: 2.0
>
>         Attachments: testng-jdk15.patch
>
>
> The testng testcases broke soon after we moved to building G with jdk1.5.
> > cd geronimo/testsuite
> > apply testng-jdk15.patch:
> Patch changes testng dependency to use jdk15 classifier.
> It configures the maven-compiler-plugin to use 1.5 for source and target.
> It updates the test methods to use jdk1.5 annotations instead of javadoc style comments.
> Problem:
> ------------
> [INFO] [INFO] Compilation failure
> [INFO] 
> [INFO] C:\Apache\geronimo\trunk\testsuite\console-testsuite\basic\src\test\java\org\apache\geronimo\testsuite\console\LinkCheckTest.java:[30,5] annotations are not supported in -source 1.4
> [INFO] (try -source 1.5 to enable annotations)
> [INFO]     @Test
> [INFO] 
> [INFO] C:\Apache\geronimo\trunk\testsuite\console-testsuite\basic\src\test\java\org\apache\geronimo\testsuite\console\SeleniumTestSupport.java:[53,5] annotations are not supported in -source 1.4
> [INFO] (try -source 1.5 to enable annotations)
> [INFO]     @BeforeSuite

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira