From jbosstools-commits at lists.jboss.org Thu Feb 28 06:15:20 2008 Content-Type: multipart/mixed; boundary="===============7802363303814296939==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r6632 - in trunk/jst/tests/org.jboss.tools.jst.jsp.test: projects/JsfJspJbide1807Test/WebContent/pages and 5 other directories. Date: Thu, 28 Feb 2008 06:11:20 -0500 Message-ID: --===============7802363303814296939== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dazarov Date: 2008-02-28 06:11:19 -0500 (Thu, 28 Feb 2008) New Revision: 6632 Added: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJspJbide1813Tes= t/ trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJspJbide1813Tes= t/.classpath trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJspJbide1813Tes= t/.project trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJspJbide1813Tes= t/WebContent/ trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJspJbide1813Tes= t/WebContent/pages/ trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJspJbide1813Tes= t/WebContent/pages/greeting.xhtml trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp= /test/ca/JsfJspJbide1813Test.java Removed: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJspJbide1807Tes= t/WebContent/pages/greeting.html trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJspJbide1807Tes= t/WebContent/pages/greeting.jsp Modified: trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp= /test/JstJspAllTests.java Log: http://jira.jboss.com/jira/browse/JBIDE-1813 Deleted: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJspJbide1= 807Test/WebContent/pages/greeting.html =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJspJbide1807Te= st/WebContent/pages/greeting.html 2008-02-28 10:21:42 UTC (rev 6631) +++ trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJspJbide1807Te= st/WebContent/pages/greeting.html 2008-02-28 11:11:19 UTC (rev 6632) @@ -1,8 +0,0 @@ - - - Facelets Greeting Page - - - - - \ No newline at end of file Deleted: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJspJbide1= 807Test/WebContent/pages/greeting.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJspJbide1807Te= st/WebContent/pages/greeting.jsp 2008-02-28 10:21:42 UTC (rev 6631) +++ trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJspJbide1807Te= st/WebContent/pages/greeting.jsp 2008-02-28 11:11:19 UTC (rev 6632) @@ -1,11 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> - - - - Facelets Greeting Page - - - - - \ No newline at end of file Added: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJspJbide181= 3Test/.classpath =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJspJbide1813Te= st/.classpath (rev 0) +++ trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJspJbide1813Te= st/.classpath 2008-02-28 11:11:19 UTC (rev 6632) @@ -0,0 +1,8 @@ + + + + + + + + Added: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJspJbide181= 3Test/.project =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJspJbide1813Te= st/.project (rev 0) +++ trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJspJbide1813Te= st/.project 2008-02-28 11:11:19 UTC (rev 6632) @@ -0,0 +1,25 @@ + + + JsfJspJbide1813Test + + + + + + org.eclipse.wst.common.project.facet.core.builder + + + + + org.eclipse.jdt.core.javabuilder + + + + + + org.eclipse.jem.workbench.JavaEMFNature + org.eclipse.jdt.core.javanature + org.eclipse.wst.common.modulecore.ModuleCoreNature + org.eclipse.wst.common.project.facet.core.nature + + Added: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJspJbide181= 3Test/WebContent/pages/greeting.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJspJbide1813Te= st/WebContent/pages/greeting.xhtml (rev 0) +++ trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJspJbide1813Te= st/WebContent/pages/greeting.xhtml 2008-02-28 11:11:19 UTC (rev 6632) @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file Modified: trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/= jst/jsp/test/JstJspAllTests.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/js= p/test/JstJspAllTests.java 2008-02-28 10:21:42 UTC (rev 6631) +++ trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/js= p/test/JstJspAllTests.java 2008-02-28 11:11:19 UTC (rev 6632) @@ -3,6 +3,7 @@ import org.jboss.tools.jst.jsp.test.ca.JsfJspJbide1704Test; import org.jboss.tools.jst.jsp.test.ca.JsfJspJbide1717Test; import org.jboss.tools.jst.jsp.test.ca.JsfJspJbide1807Test; +import org.jboss.tools.jst.jsp.test.ca.JsfJspJbide1813Test; import org.jboss.tools.jst.jsp.test.ca.JstJspJbide1585Test; import org.jboss.tools.jst.jsp.test.ca.JstJspJbide1641Test; import org.jboss.tools.jst.jsp.test.ca.JstJspJbide1759Test; @@ -16,6 +17,7 @@ public static Test suite() { TestSuite suite =3D new TestSuite("Test for org.jboss.tools.jst.jsp.test= "); = + suite.addTestSuite(JsfJspJbide1813Test.class); suite.addTestSuite(JsfJspJbide1807Test.class); suite.addTestSuite(JstJspJbide1585Test.class); suite.addTestSuite(StrutsJspJbide1648Test.class); Added: trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst= /jsp/test/ca/JsfJspJbide1813Test.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/js= p/test/ca/JsfJspJbide1813Test.java (rev 0) +++ trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/js= p/test/ca/JsfJspJbide1813Test.java 2008-02-28 11:11:19 UTC (rev 6632) @@ -0,0 +1,50 @@ +package org.jboss.tools.jst.jsp.test.ca; + +import org.eclipse.core.resources.IResource; +import org.jboss.tools.common.test.util.TestProjectProvider; + +public class JsfJspJbide1813Test extends ContentAssistantTestCase{ + TestProjectProvider provider =3D null; + boolean makeCopy =3D false; + private static final String PROJECT_NAME =3D "JsfJspJbide1813Test"; + private static final String PAGE_NAME =3D "/WebContent/pages/greeting.xht= ml"; + = + public void setUp() throws Exception { + provider =3D new TestProjectProvider("org.jboss.tools.jst.jsp.test", nul= l, PROJECT_NAME, makeCopy); = + project =3D provider.getProject(); + Throwable exception =3D null; + try { + project.refreshLocal(IResource.DEPTH_INFINITE, null); + } catch (Exception x) { + exception =3D x; + x.printStackTrace(); + } + assertNull("An exception caught: " + (exception !=3D null? exception.get= Message() : ""), exception); + } + + protected void tearDown() throws Exception { + if(provider !=3D null) { + provider.dispose(); + } + } + = + public void testJsfJspJbide1813Test(){ + String[] proposals=3D{ + "ltr", + "rtl", + "#{applicationScope}", + "#{cookie}", + "#{facesContext}", + "#{header}", + "#{headerValues}", + "#{initParam}", + "#{param}", + "#{paramValues}", + "#{requestScope}", + "#{sessionScope}", + "#{view}" + }; + + checkProposals(PAGE_NAME, "dir=3D\"\"", 5, proposals, true); + } +} \ No newline at end of file --===============7802363303814296939==--