[jbosstools-issues] [JBoss JIRA] (JBIDE-10127) Resolve selector in open-on of style class in VPE
Daniel Azarov (JIRA)
jira-events at lists.jboss.org
Thu Feb 16 12:42:38 EST 2012
[ https://issues.jboss.org/browse/JBIDE-10127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12667180#comment-12667180 ]
Daniel Azarov commented on JBIDE-10127:
---------------------------------------
{code}
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.jboss.tools.jsf.text.ext.test.JsfTextExtAllTests
jsf_core.tld
jsf_core.tld
org.jboss.tools.jst.text.ext.hyperlink.jsp.JSPElementNameHyperlink
Tests run: 40, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 55.467 sec <<< FAILURE!
testStyleClassOpenOns(org.jboss.tools.jsf.text.ext.test.OpenOnsTest) Time elapsed: 0.437 sec <<< FAILURE!
junit.framework.AssertionFailedError: null
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertTrue(Assert.java:27)
at org.jboss.tools.jsf.text.ext.test.OpenOnsTest.testStyleClassOpenOns(OpenOnsTest.java:217)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:243)
at junit.framework.TestSuite.run(TestSuite.java:238)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at junit.framework.TestSuite.runTest(TestSuite.java:243)
at junit.framework.TestSuite.run(TestSuite.java:238)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:72)
at org.eclipse.tycho.surefire.osgibooter.AbstractUITestApplication$1.run(AbstractUITestApplication.java:35)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3563)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3212)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at org.eclipse.tycho.surefire.osgibooter.UITestApplication.runApplication(UITestApplication.java:31)
at org.eclipse.tycho.surefire.osgibooter.AbstractUITestApplication.run(AbstractUITestApplication.java:114)
at org.eclipse.tycho.surefire.osgibooter.UITestApplication.start(UITestApplication.java:37)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Results :
Failed tests:
testStyleClassOpenOns(org.jboss.tools.jsf.text.ext.test.OpenOnsTest)
Tests run: 40, Failures: 1, Errors: 0, Skipped: 0
{code}
> Resolve selector in open-on of style class in VPE
> -------------------------------------------------
>
> Key: JBIDE-10127
> URL: https://issues.jboss.org/browse/JBIDE-10127
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: jsp/jsf/xml source editing
> Affects Versions: 3.3.0.M3
> Reporter: Viacheslav Kabanovich
> Assignee: Victor Rubezhny
> Fix For: 3.3.0.Beta1
>
>
> EXECUTE: Create style sheet:
> {code}
> .styleA {color: #FF0000}
> .styleA .styleB {color: #FF8000}
> div.styleA {color: #FF0080}
> div[title="x"].styleA {color: #0000FF}
> p input.styleA {color: #CCAA00}
> div p input.styleA {color: #CC00FF}
> [title="y"] p input.styleA {color: #00CCFF}
> {code}
> EXECUTE: Create html:
> {code}
> <html>
> <head>
> <title>Hello!</title>
> <link href="stylesheet.css" rel="stylesheet" type="text/css"/>
> </head>
> <body>
> <p class="styleA">
> .styleA {color: #FF0000}
> </p>
> <p class="styleA">
> .styleA {color: #FF0000}
> <br/>
> <b class="styleB">.styleA .styleB {color: #FF8000}</b>
> </p>
> <div class="styleA">
> div.styleA {color: #FF0080}
> </div>
> <div title="x" class="styleA">
> div[title="x"].styleA {color: #0000FF}
> </div>
> <p>
> <input type="button" class="styleA" value="p input.styleA {color: #CCAA00}"/>
> </p>
> <div>
> <p>
> <input type="button" class="styleA" value="div p input.styleA {color: #CC00FF}"/>
> </p>
> </div>
> <div title="y">
> <div>
> <p>
> <input type="button" class="styleA" value="[title='y'] div p input.styleA {color: #00CCFF}"/>
> </p>
> </div>
> </div>
> </body>
> </html>
> {code}
> ASSERT: Style opened at each class="styleA" should be the same as text value in element.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list