Author: scabanovich
Date: 2009-12-11 12:10:17 -0500 (Fri, 11 Dec 2009)
New Revision: 19223
Added:
trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/ca/CAForUnclosedELTest.java
Modified:
trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/JstJspAllTests.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5442
Modified:
trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/JstJspAllTests.java
===================================================================
---
trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/JstJspAllTests.java 2009-12-11
17:00:05 UTC (rev 19222)
+++
trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/JstJspAllTests.java 2009-12-11
17:10:17 UTC (rev 19223)
@@ -6,6 +6,7 @@
import org.jboss.tools.jst.jsp.test.ca.CAForCompositeComponentTest;
import org.jboss.tools.jst.jsp.test.ca.CAForELinStyleTest;
import org.jboss.tools.jst.jsp.test.ca.CAForIDTest;
+import org.jboss.tools.jst.jsp.test.ca.CAForUnclosedELTest;
import org.jboss.tools.jst.jsp.test.ca.Jbide1791Test;
import org.jboss.tools.jst.jsp.test.ca.JsfJspJbide1704Test;
import org.jboss.tools.jst.jsp.test.ca.JsfJspJbide1717Test;
@@ -23,6 +24,7 @@
public static Test suite() {
TestSuite suite = new TestSuite("Test for org.jboss.tools.jst.jsp.test");
+ suite.addTestSuite(CAForUnclosedELTest.class);
suite.addTestSuite(CAForCompositeComponentTest.class);
suite.addTestSuite(MissingKBBuilderTest.class);
suite.addTestSuite(JsfJspJbide1807Test.class);
Added:
trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/ca/CAForUnclosedELTest.java
===================================================================
---
trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/ca/CAForUnclosedELTest.java
(rev 0)
+++
trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/ca/CAForUnclosedELTest.java 2009-12-11
17:10:17 UTC (rev 19223)
@@ -0,0 +1,30 @@
+package org.jboss.tools.jst.jsp.test.ca;
+
+import org.jboss.tools.common.test.util.TestProjectProvider;
+
+public class CAForUnclosedELTest extends ContentAssistantTestCase{
+ TestProjectProvider provider = null;
+ boolean makeCopy = false;
+ private static final String PROJECT_NAME = "CAForELinStyleTest";
+ private static final String PAGE_NAME = "/WebContent/pages/greeting.xhtml";
+
+ public void setUp() throws Exception {
+ provider = new TestProjectProvider("org.jboss.tools.jst.jsp.test", null,
PROJECT_NAME, makeCopy);
+ project = provider.getProject();
+ }
+
+ protected void tearDown() throws Exception {
+ if(provider != null) {
+ provider.dispose();
+ }
+ }
+
+ public void testCAForUnclosedELTest(){
+ String[] proposals = {
+ "person",
+ };
+
+ checkProposals(PAGE_NAME, "<ui:define name=\"pageTitle#{ \"",
30, proposals, false);
+ checkProposals(PAGE_NAME, "<ui:define name=\"pageHeader\">Greeting
Page#{ </ui:define>", 46, proposals, false);
+ }
+}
\ No newline at end of file
Property changes on:
trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/ca/CAForUnclosedELTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain