You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Dhiraj Bokde (JIRA)" <ji...@apache.org> on 2014/11/10 18:53:34 UTC
[jira] [Resolved] (CAMEL-8022) camel-api-component-maven-plugin -
Test fails about java6 method
[ https://issues.apache.org/jira/browse/CAMEL-8022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dhiraj Bokde resolved CAMEL-8022.
---------------------------------
Resolution: Fixed
Test URLs for Java 6, 7 and 8 Javadocs on Oracle's website had been moved to https based URLs. The test urls were updated and tests pass now.
> camel-api-component-maven-plugin - Test fails about java6 method
> ----------------------------------------------------------------
>
> Key: CAMEL-8022
> URL: https://issues.apache.org/jira/browse/CAMEL-8022
> Project: Camel
> Issue Type: Task
> Components: tooling
> Reporter: Claus Ibsen
> Assignee: Dhiraj Bokde
> Fix For: 2.14.1, 2.15.0
>
>
> I get this error on master doing a mvn clean install in the tooliing dir
> {code}
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.apache.camel.maven.ApiComponentGeneratorMojoTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.543 sec - in org.apache.camel.maven.ApiComponentGeneratorMojoTest
> Running org.apache.camel.maven.DocumentGeneratorMojoTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec - in org.apache.camel.maven.DocumentGeneratorMojoTest
> Running org.apache.camel.maven.FileApiMethodGeneratorMojoTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec - in org.apache.camel.maven.FileApiMethodGeneratorMojoTest
> Running org.apache.camel.maven.JavadocApiMethodGeneratorMojoTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.1 sec - in org.apache.camel.maven.JavadocApiMethodGeneratorMojoTest
> Running org.apache.camel.maven.JavadocParserTest
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.488 sec <<< FAILURE! - in org.apache.camel.maven.JavadocParserTest
> testGetMethods(org.apache.camel.maven.JavadocParserTest) Time elapsed: 0.475 sec <<< FAILURE!
> java.lang.AssertionError: Java6 getMethods
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at org.junit.Assert.assertFalse(Assert.java:64)
> at org.apache.camel.maven.JavadocParserTest.testGetMethods(JavadocParserTest.java:43)
> Results :
> Failed tests:
> JavadocParserTest.testGetMethods:43->Assert.assertFalse:64->Assert.assertTrue:41->Assert.fail:88 Java6 getMethods
> Tests run: 5, Failures: 1, Errors: 0, Skipped: 1
> {code}
> I am using
> {code}
> davsclaus:~/workspace/camel/tooling (master)/$ mvn -version
> Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 17:22:22+0200)
> Maven home: /opt/apache-maven-3.1.1
> Java version: 1.7.0_45, vendor: Oracle Corporation
> Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "10.9.5", arch: "x86_64", family: "mac"
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)