]
Jiří Štefek resolved RFPL-3041.
-------------------------------
Resolution: Done
Should be compilable now. Tried with oracle jdk1.6.0_45 and jdk1.6.0_32.
Can't run Metamer tests with JDK 6
----------------------------------
Key: RFPL-3041
URL:
https://issues.jboss.org/browse/RFPL-3041
Project: RichFaces Planning
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: QE
Affects Versions: 4.3.4, 5.0.0.Alpha1
Environment: java version "1.6.0_32"
Java(TM) SE Runtime Environment (build 1.6.0_32-b05)
Java HotSpot(TM) 64-Bit Server VM (build 20.7-b02, mixed mode)
Reporter: Pavol Pitonak
Assignee: Jiří Štefek
Priority: Critical
Fix For: 5.0.0.Alpha2
Using JDK 6:
# clone richfaces-qa repository
# cd metamer/ftest
# mvn clean verify -P jbossas-managed-7-1
result:
{quote}
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile (default-testCompile) on
project metamer-ftest: Compilation failure: Compilation failure:
[ERROR]
/data/workspace/qa/metamer/ftest/src/test/java/org/richfaces/tests/metamer/ftest/abstractions/message/AbstractMessagesComponentTest.java:[82,71]
cannot find symbol
[ERROR] symbol: method getType()
[ERROR] assertEquals(getPage().getMessagesComponentWithFor().getItem(0).getType(),
MessageType.FATAL);
[ERROR]
/data/workspace/qa/metamer/ftest/src/test/java/org/richfaces/tests/metamer/ftest/abstractions/message/AbstractMessagesComponentTest.java:[83,71]
cannot find symbol
[ERROR] symbol: method getType()
[ERROR] assertEquals(getPage().getMessagesComponentWithFor().getItem(1).getType(),
MessageType.ERROR);
[ERROR]
/data/workspace/qa/metamer/ftest/src/test/java/org/richfaces/tests/metamer/ftest/abstractions/message/AbstractMessagesComponentTest.java:[84,71]
cannot find symbol
[ERROR] symbol: method getType()
[ERROR] assertEquals(getPage().getMessagesComponentWithFor().getItem(2).getType(),
MessageType.WARNING);
[ERROR]
/data/workspace/qa/metamer/ftest/src/test/java/org/richfaces/tests/metamer/ftest/abstractions/message/AbstractMessagesComponentTest.java:[85,71]
cannot find symbol
[ERROR] symbol: method getType()
[ERROR] assertEquals(getPage().getMessagesComponentWithFor().getItem(3).getType(),
MessageType.INFORMATION);
[ERROR]
/data/workspace/qa/metamer/ftest/src/test/java/org/richfaces/tests/metamer/ftest/abstractions/message/AbstractMessagesComponentTest.java:[119,75]
cannot find symbol
[ERROR] symbol: method advanced()
[ERROR]
assertVisible(getPage().getMessagesComponentWithGlobal().getItem(0).advanced().getDetailElement(),
"Detail should be visible");
[ERROR]
/data/workspace/qa/metamer/ftest/src/test/java/org/richfaces/tests/metamer/ftest/abstractions/message/AbstractMessagesComponentTest.java:[120,72]
cannot find symbol
[ERROR] symbol: method advanced()
[ERROR]
assertVisible(getPage().getMessagesComponentWithFor().getItem(0).advanced().getDetailElement(),
"Detail should be visible");
[ERROR]
/data/workspace/qa/metamer/ftest/src/test/java/org/richfaces/tests/metamer/ftest/abstractions/message/AbstractMessagesComponentTest.java:[125,78]
cannot find symbol
[ERROR] symbol: method advanced()
[ERROR]
assertNotVisible(getPage().getMessagesComponentWithGlobal().getItem(0).advanced().getDetailElement(),
"Detail should not be visible");
[ERROR]
/data/workspace/qa/metamer/ftest/src/test/java/org/richfaces/tests/metamer/ftest/abstractions/message/AbstractMessagesComponentTest.java:[126,75]
cannot find symbol
[ERROR] symbol: method advanced()
[ERROR]
assertNotVisible(getPage().getMessagesComponentWithFor().getItem(0).advanced().getDetailElement(),
"Detail should not be visible");
[ERROR]
/data/workspace/qa/metamer/ftest/src/test/java/org/richfaces/tests/metamer/ftest/abstractions/message/AbstractMessagesComponentTest.java:[134,75]
cannot find symbol
[ERROR] symbol: method advanced()
[ERROR]
assertVisible(getPage().getMessagesComponentWithGlobal().getItem(0).advanced().getSummaryElement(),
"Summary should be visible");
[ERROR]
/data/workspace/qa/metamer/ftest/src/test/java/org/richfaces/tests/metamer/ftest/abstractions/message/AbstractMessagesComponentTest.java:[135,72]
cannot find symbol
[ERROR] symbol: method advanced()
[ERROR]
assertVisible(getPage().getMessagesComponentWithFor().getItem(0).advanced().getSummaryElement(),
"Summary should be visible");
[ERROR]
/data/workspace/qa/metamer/ftest/src/test/java/org/richfaces/tests/metamer/ftest/abstractions/message/AbstractMessagesComponentTest.java:[140,78]
cannot find symbol
[ERROR] symbol: method advanced()
[ERROR]
assertNotVisible(getPage().getMessagesComponentWithGlobal().getItem(0).advanced().getSummaryElement(),
"Summary should not be visible");
[ERROR]
/data/workspace/qa/metamer/ftest/src/test/java/org/richfaces/tests/metamer/ftest/abstractions/message/AbstractMessagesComponentTest.java:[141,75]
cannot find symbol
[ERROR] symbol: method advanced()
[ERROR]
assertNotVisible(getPage().getMessagesComponentWithFor().getItem(0).advanced().getSummaryElement(),
"Summary should not be visible");
[ERROR]
/data/workspace/qa/metamer/ftest/src/test/java/org/richfaces/tests/metamer/ftest/abstractions/message/AbstractMessagesComponentTest.java:[156,100]
incompatible types
[ERROR] found :
org.richfaces.tests.page.fragments.impl.messages.Messages<capture#603 of ? extends
capture#386 of ? extends org.richfaces.tests.page.fragments.impl.message.Message>
[ERROR] required: org.richfaces.tests.page.fragments.impl.messages.Messages<? extends
org.richfaces.tests.page.fragments.impl.message.Message>
[ERROR]
/data/workspace/qa/metamer/ftest/src/test/java/org/richfaces/tests/metamer/ftest/abstractions/message/AbstractMessagesComponentTest.java:[180,76]
cannot find symbol
[ERROR] symbol: method getSummary()
[ERROR]
Assert.assertTrue(getPage().getMessagesComponentWithFor().getItem(0).getSummary().contains("'bad
value' must be a number consisting of one or more digits."));
[ERROR]
/data/workspace/qa/metamer/ftest/src/test/java/org/richfaces/tests/metamer/ftest/abstractions/message/AbstractMessagesComponentTest.java:[181,79]
cannot find symbol
[ERROR] symbol: method getSummary()
[ERROR]
Assert.assertTrue(getPage().getMessagesComponentWithGlobal().getItem(0).getSummary().contains("'bad
value' must be a number consisting of one or more digits."));
[ERROR]
/data/workspace/qa/metamer/ftest/src/test/java/org/richfaces/tests/metamer/ftest/abstractions/message/AbstractMessagesComponentTest.java:[191,79]
cannot find symbol
[ERROR] symbol: method getSummary()
[ERROR]
Assert.assertTrue(getPage().getMessagesComponentWithGlobal().getItem(0).getSummary().contains("'bad
value' must be a number consisting of one or more digits."));
{quote}
--
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: