Alexey Kazakov created JBIDE-16120:
--------------------------------------
Summary: jsf.ui test failure
Key: JBIDE-16120
URL:
https://issues.jboss.org/browse/JBIDE-16120
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsf
Affects Versions: 4.2.0.Alpha1
Reporter: Alexey Kazakov
Assignee: Victor Rubezhny
Fix For: 4.2.0.Alpha1
{code}
testCAForELJavaAndJSTCompare(org.jboss.tools.jsf.jsp.ca.test.CAForELJavaAndJSTCompareTest)
Time elapsed: 3.391 sec <<< FAILURE!
junit.framework.ComparisonFailure: Additional Info Strings must be equal
expected:<<html><[head><style CHARSET="ISO-8859-1"
TYPE="text/css">/* Font definitions */ html { font-family:
'Ubuntu',sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; }
body, h1, h2, h3, h4, h5, h6, p, table, td, caption, th, ul, ol, dl, li, dd, dt {
font-size: 1em; } pre { font-family: monospace; } /* Margins */ body { overflow: auto;
margin-top: 0px; margin-bottom: 0.5em; margin-left: 0.3em; margin-right: 0px; } h1 {
margin-top: 0.3em; margin-bottom: 0.04em; } h2 { margin-top: 2em; margin-bottom: 0.25em; }
h3 { margin-top: 1.7em; margin-bottom: 0.25em; } h4 { margin-top: 2em; margin-bottom:
0.3em; } h5 { margin-top: 0px; margin-bottom: 0px; } p { margin-top: 1em; margin-bottom:
1em; } pre { margin-left: 0.6em; } ul { margin-top: 0px; margin-bottom: 1em; margin-left:
1em; padding-left: 1em;} li { margin-top: 0px; margin-bottom: 0px; } li p { margin-top:
0px; margin-bottom: 0px; } ol { margin-top: 0px; margin-bottom: 1em; margin-left: 1em;
padding-left: 1em; } dl { margin-top: 0px; margin-bottom: 1em; } dt { margin-top: 0px;
margin-bottom: 0px; font-weight: bold; } dd { margin-top: 0px; margin-bottom: 0px; } /*
Styles and colors */ a:link { color: #0000FF; } a:hover { color: #000080; } a:visited {
text-decoration: underline; } a.header:link { text-decoration: none; color: #ffffff }
a.header:visited { text-decoration: none; color: #ffffff } a.header:hover {
text-decoration: underline; color: #000080; } h4 { font-style: italic; } strong {
font-weight: bold; } em { font-style: italic; } var { font-style: italic; } th {
font-weight: bold; } </style></head><body text="#ffffff"
bgcolor="#000000"><h5><div style='word-wrap: break-word;
position: relative; margin-left: 20px; padding-top: 2px; '><a
href='eclipse-open:%E2%98%82=JSF2KickStartWithoutLibs/JavaSource%3Cdemo%7BUser.java%E2%98%83User'><!--[if
lte IE 6]><![if gte IE 5.5]> <span alt='Open Declaration'
style="border:none; position: absolute; width: 16px; height: 16px; left: -21px;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='file:/home/igels/Projects/jbt-4.0/requests/jbosstools-javaee/jsf/tests/org.jboss.tools.jsf.ui.test/target/work/data/.metadata/.plugins/org.eclipse.jdt.ui/jdt-images/1.png')"></span>
<![endif]><![endif]--> <!--[if !IE]>--> <img alt='Open
Declaration' style='border:none; position: absolute; width: 16px; height: 16px;
left: -21px; '
src='file:/home/igels/Projects/jbt-4.0/requests/jbosstools-javaee/jsf/tests/org.jboss.tools.jsf.ui.test/target/work/data/.metadata/.plugins/org.eclipse.jdt.ui/jdt-images/1.png'/>
<!--<![endif]--> <!--[if gte IE 7]> <img alt='Open Declaration'
style='border:none; position: absolute; width: 16px; height: 16px; left: -21px; '
src='file:/home/igels/Projects/jbt-4.0/requests/jbosstools-javaee/jsf/tests/org.jboss.tools.jsf.ui.test/target/work/data/.metadata/.plugins/org.eclipse.jdt.ui/jdt-images/1.png'/>
<![endif]--> </a><a class='header'
href='eclipse-javadoc:%E2%98%82=JSF2KickStartWithoutLibs/JavaSource%3Cdemo'>demo</a>.<a
class='header'
href='eclipse-javadoc:%E2%98%82=JSF2KickStartWithoutLibs/JavaSource%3Cdemo%7BUser.java%E2%98%83User'>User</a></div>]</h5><br/>Created
by...> but was:<<html><[body text="#ffffff"
bgcolor="#000000"><h5><a class='header'
href='eclipse-javadoc:%E2%98%82=JSF2KickStartWithoutLibs/JavaSource%3Cdemo'>demo</a>.User]</h5><br/>Created
by...>
at junit.framework.Assert.assertEquals(Assert.java:100)
at junit.framework.TestCase.assertEquals(TestCase.java:261)
at
org.jboss.tools.jsf.jsp.ca.test.CAForELJavaAndJSTCompareTest.compareJavaAndJSTProposals(CAForELJavaAndJSTCompareTest.java:179)
at
org.jboss.tools.jsf.jsp.ca.test.CAForELJavaAndJSTCompareTest.testCAForELJavaAndJSTCompare(CAForELJavaAndJSTCompareTest.java:74)
{code}
{code}
testELApplyMethodProposal(org.jboss.tools.jsf.jsp.ca.test.CAELApplyMethodProposalTest)
Time elapsed: 3.772
sectestCAJsfAddInfoInELMessages(org.jboss.tools.jsf.jsp.ca.test.CAJsfAddInfoInELMessagesTest)
Time elapsed: 1.989 sec <<< FAILURE!
junit.framework.AssertionFailedError: Additional Info exists but its value is not
expected:
Add. Info: [/* Font definitions */ html { font-family: 'Ubuntu',sans-serif;
font-size: 11pt; font-style: normal; font-weight: normal; } body, h1, h2, h3, h4, h5, h6,
p, table, td, caption, th, ul, ol, dl, li, dd, dt { font-size: 1em; } pre { font-family:
monospace; } /* Margins */ body { overflow: auto; margin-top: 0px; margin-bottom: 0.5em;
margin-left: 0.3em; margin-right: 0px; } h1 { margin-top: 0.3em; margin-bottom: 0.04em; }
h2 { margin-top: 2em; margin-bottom: 0.25em; } h3 { margin-top: 1.7em; margin-bottom:
0.25em; } h4 { margin-top: 2em; margin-bottom: 0.3em; } h5 { margin-top: 0px;
margin-bottom: 0px; } p { margin-top: 1em; margin-bottom: 1em; } pre { margin-left: 0.6em;
} ul { margin-top: 0px; margin-bottom: 1em; margin-left: 1em; padding-left: 1em;} li {
margin-top: 0px; margin-bottom: 0px; } li p { margin-top: 0px; margin-bottom: 0px; } ol {
margin-top: 0px; margin-bottom: 1em; margin-left: 1em; padding-left: 1em; } dl {
margin-top: 0px; margin-bottom: 1em; } dt { margin-top: 0px; margin-bottom: 0px;
font-weight: bold; } dd { margin-top: 0px; margin-bottom: 0px; } /* Styles and colors */
a:link { color: #0000FF; } a:hover { color: #000080; } a:visited { text-decoration:
underline; } a.header:link { text-decoration: none; color: #ffffff } a.header:visited {
text-decoration: none; color: #ffffff } a.header:hover { text-decoration: underline;
color: #000080; } h4 { font-style: italic; } strong { font-weight: bold; } em {
font-style: italic; } var { font-style: italic; } th { font-weight: bold; } Base Name:
resourcesResource Bundle: /JSF2KickStartWithoutLibs/JavaSource/resources.properties]
Expected Value: [Base Name: resourcesResource Bundle:
/JSF2KickStartWithoutLibs/JavaSource/resources.properties]
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at
org.jboss.tools.jsf.jsp.ca.test.CAJsfAddInfoInELMessagesTest.testCAJsfAddInfoInELMessages(CAJsfAddInfoInELMessagesTest.java:62)
{code}
--
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