JBoss Tools SVN: r34557 - in trunk/seam/plugins: org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2011-09-06 18:47:28 -0400 (Tue, 06 Sep 2011)
New Revision: 34557
Modified:
trunk/seam/plugins/org.jboss.tools.seam.base.test/src/org/jboss/tools/seam/core/test/project/facet/Seam2FacetInstallDelegateTest.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/ISeamFacetDataModelProperties.java
Log:
There should be an option to/not to copy the libraries when user create New Seam Project. https://issues.jboss.org/browse/JBIDE-2927
Modified: trunk/seam/plugins/org.jboss.tools.seam.base.test/src/org/jboss/tools/seam/core/test/project/facet/Seam2FacetInstallDelegateTest.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.base.test/src/org/jboss/tools/seam/core/test/project/facet/Seam2FacetInstallDelegateTest.java 2011-09-06 20:34:31 UTC (rev 34556)
+++ trunk/seam/plugins/org.jboss.tools.seam.base.test/src/org/jboss/tools/seam/core/test/project/facet/Seam2FacetInstallDelegateTest.java 2011-09-06 22:47:28 UTC (rev 34557)
@@ -164,21 +164,88 @@
assertOnlyContainsTheseFiles(seamgenlibs, warLibs);
}
+
+ /**
+ * if(SEAM_TEMPLATES_AND_LIBRARIES_COPYING){
+ *
+ * COPY_TEMPLATES();
+ *
+ * if(SEAM_RUNTIME_LIBRARIES_COPYING){
+ * COPY_LIBRARIES();
+ * }
+ * }
+ *
+ * Case 1. Add Seam Facet to new project + "Copy libraries From Seam Runtime to the project" option
+ *
+ * SEAM_TEMPLATES_AND_LIBRARIES_COPYING - true
+ * SEAM_RUNTIME_LIBRARIES_COPYING - true
+ *
+ * Case 2. Add Seam Facet to new project + "Configure Later" option
+ *
+ * SEAM_TEMPLATES_AND_LIBRARIES_COPYING - true
+ * SEAM_RUNTIME_LIBRARIES_COPYING - false
+ *
+ * Case 3. Add Seam Facet to existing project
+ *
+ * SEAM_TEMPLATES_AND_LIBRARIES_COPYING - false
+ * SEAM_RUNTIME_LIBRARIES_COPYING - false
+ *
+ */
+
+ private final static int CASE_1 = 1;
+ private final static int CASE_2 = 2;
+ private final static int CASE_3 = 3;
+
+ public void testWarTemplatesAndLibrariesCopying() throws CoreException{
+ checkWarLibrariesInSeamProject(CASE_1, "warTemplLibPrj");
+ }
+
+ public void testWarTemplatesAndLibrariesNotCopying() throws CoreException{
+ checkWarLibrariesInSeamProject(CASE_3, "warNoTemplLibPrj");
+ }
+
+ public void testEarTemplatesAndLibrariesCopying() throws CoreException{
+ checkEarLibrariesInSeamProject(CASE_1, "earTemplLibPrj");
+ }
+
public void testWarLibrariesCopying() throws CoreException{
- checkWarLibrariesInSeamProject("warLibPrj", true);
+ checkWarLibrariesInSeamProject(CASE_1, "warLibPrj");
}
public void testWarLibrariesNotCopying() throws CoreException{
- checkWarLibrariesInSeamProject("warNoLibPrj", false);
+ checkWarLibrariesInSeamProject(CASE_2, "warNoLibPrj");
}
public void testEarLibrariesCopying() throws CoreException{
- checkEarLibrariesInSeamProject("earLibPrj", true);
+ checkEarLibrariesInSeamProject(CASE_1, "earLibPrj");
}
- protected void checkWarLibrariesInSeamProject(String warName, Boolean copyLibraries) throws CoreException{
+ public void testEarLibrariesNotCopying() throws CoreException{
+ checkEarLibrariesInSeamProject(CASE_2, "earNoLibPrj");
+ }
+
+ protected void checkWarLibrariesInSeamProject(int caseNumber, String warName) throws CoreException{
IDataModel warModel = createSeamDataModel("war");
- warModel.setBooleanProperty(ISeamFacetDataModelProperties.SEAM_RUNTIME_LIBRARIES_COPYING, copyLibraries);
+
+ boolean copyTemplate = false;
+ boolean copyLibraries = false;
+ switch(caseNumber){
+ case CASE_1:
+ warModel.setBooleanProperty(ISeamFacetDataModelProperties.SEAM_TEMPLATES_AND_LIBRARIES_COPYING, true);
+ warModel.setBooleanProperty(ISeamFacetDataModelProperties.SEAM_RUNTIME_LIBRARIES_COPYING, true);
+ copyTemplate = true;
+ copyLibraries = true;
+ break;
+ case CASE_2:
+ warModel.setBooleanProperty(ISeamFacetDataModelProperties.SEAM_TEMPLATES_AND_LIBRARIES_COPYING, true);
+ warModel.setBooleanProperty(ISeamFacetDataModelProperties.SEAM_RUNTIME_LIBRARIES_COPYING, false);
+ copyTemplate = true;
+ break;
+ case CASE_3:
+ warModel.setBooleanProperty(ISeamFacetDataModelProperties.SEAM_TEMPLATES_AND_LIBRARIES_COPYING, false);
+ warModel.setBooleanProperty(ISeamFacetDataModelProperties.SEAM_RUNTIME_LIBRARIES_COPYING, false);
+ break;
+ }
IFacetedProject wProject = createSeamProject(warName, warModel);
IProject war = wProject.getProject();
@@ -194,10 +261,29 @@
}
}
- protected void checkEarLibrariesInSeamProject(String earName, Boolean copyLibraries) throws CoreException{
+ protected void checkEarLibrariesInSeamProject(int caseNumber, String earName) throws CoreException{
IDataModel earModel = createSeamDataModel("ear");
- earModel.setBooleanProperty(ISeamFacetDataModelProperties.SEAM_RUNTIME_LIBRARIES_COPYING, copyLibraries);
+ boolean copyTemplate = false;
+ boolean copyLibraries = false;
+ switch(caseNumber){
+ case CASE_1:
+ earModel.setBooleanProperty(ISeamFacetDataModelProperties.SEAM_TEMPLATES_AND_LIBRARIES_COPYING, true);
+ earModel.setBooleanProperty(ISeamFacetDataModelProperties.SEAM_RUNTIME_LIBRARIES_COPYING, true);
+ copyTemplate = true;
+ copyLibraries = true;
+ break;
+ case CASE_2:
+ earModel.setBooleanProperty(ISeamFacetDataModelProperties.SEAM_TEMPLATES_AND_LIBRARIES_COPYING, true);
+ earModel.setBooleanProperty(ISeamFacetDataModelProperties.SEAM_RUNTIME_LIBRARIES_COPYING, false);
+ copyTemplate = true;
+ break;
+ case CASE_3:
+ earModel.setBooleanProperty(ISeamFacetDataModelProperties.SEAM_TEMPLATES_AND_LIBRARIES_COPYING, false);
+ earModel.setBooleanProperty(ISeamFacetDataModelProperties.SEAM_RUNTIME_LIBRARIES_COPYING, false);
+ break;
+ }
+
IFacetedProject eProject = createSeamProject(earName, earModel);
IProject war = eProject.getProject();
@@ -219,14 +305,16 @@
Set<String> onlyInEjbSrc = new HashSet<String>();
Set<String> onlyInEarMeta = new HashSet<String>();
- onlyInEarMeta.add("jboss-app.xml");
- onlyInEarMeta.add("application.xml");
+ if(caseNumber == CASE_1 || caseNumber == CASE_3){
+ onlyInEarMeta.add("jboss-app.xml");
+ onlyInEarMeta.add("application.xml");
+
+ onlyInEjbSrc.add("security.drl");
+ onlyInEjbSrc.add("seam.properties");
+ onlyInEjbSrc.add("import.sql");
+ onlyInEjbSrc.add("components.properties");
+ }
- onlyInEjbSrc.add("security.drl");
- onlyInEjbSrc.add("seam.properties");
- onlyInEjbSrc.add("import.sql");
- onlyInEjbSrc.add("components.properties");
-
onlyInEarSeam.add("jboss-seam.jar");
if(copyLibraries){
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/ISeamFacetDataModelProperties.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/ISeamFacetDataModelProperties.java 2011-09-06 20:34:31 UTC (rev 34556)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/ISeamFacetDataModelProperties.java 2011-09-06 22:47:28 UTC (rev 34557)
@@ -307,6 +307,33 @@
String SEAM_SETTINGS_CHANGED_BY_USER = "seam.settings.changed.by.user"; //$NON-NLS-1$
/**
+ * if(SEAM_TEMPLATES_AND_LIBRARIES_COPYING){
+ *
+ * COPY_TEMPLATES();
+ *
+ * if(SEAM_RUNTIME_LIBRARIES_COPYING){
+ * COPY_LIBRARIES();
+ * }
+ * }
+ *
+ * Case 1. Add Seam Facet to new project + "Copy libraries From Seam Runtime to the project" option
+ *
+ * SEAM_TEMPLATES_AND_LIBRARIES_COPYING - true
+ * SEAM_RUNTIME_LIBRARIES_COPYING - true
+ *
+ * Case 2. Add Seam Facet to new project + "Configure Later" option
+ *
+ * SEAM_TEMPLATES_AND_LIBRARIES_COPYING - true
+ * SEAM_RUNTIME_LIBRARIES_COPYING - false
+ *
+ * Case 3. Add Seam Facet to existing project
+ *
+ * SEAM_TEMPLATES_AND_LIBRARIES_COPYING - false
+ * SEAM_RUNTIME_LIBRARIES_COPYING - false
+ *
+ */
+
+ /**
* This flag indicates that we should copy libraries from Seam Runtime to projects.
* Can be "true" or "false".
*/
14 years, 7 months
JBoss Tools SVN: r34556 - in trunk/documentation/whatsnew/cdi: images/3.3.0.M3 and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2011-09-06 16:34:31 -0400 (Tue, 06 Sep 2011)
New Revision: 34556
Added:
trunk/documentation/whatsnew/cdi/images/3.3.0.M3/ctrlShiftG.png
trunk/documentation/whatsnew/cdi/images/3.3.0.M3/generic1.png
trunk/documentation/whatsnew/cdi/images/3.3.0.M3/generic2.png
trunk/documentation/whatsnew/cdi/images/3.3.0.M3/intrlnOpenOn.png
trunk/documentation/whatsnew/cdi/images/3.3.0.M3/intrn.png
trunk/documentation/whatsnew/cdi/images/3.3.0.M3/validation.png
Modified:
trunk/documentation/whatsnew/cdi/cdi-news-3.3.0.M3.html
trunk/documentation/whatsnew/cdi/images/3.3.0.M3/persistence.png
Log:
https://issues.jboss.org/browse/JBIDE-9614 CDI N&N
Modified: trunk/documentation/whatsnew/cdi/cdi-news-3.3.0.M3.html
===================================================================
--- trunk/documentation/whatsnew/cdi/cdi-news-3.3.0.M3.html 2011-09-06 20:23:45 UTC (rev 34555)
+++ trunk/documentation/whatsnew/cdi/cdi-news-3.3.0.M3.html 2011-09-06 20:34:31 UTC (rev 34556)
@@ -31,7 +31,7 @@
<tr>
<td colspan="2">
<hr />
- <h3>CDI</h3>
+ <h3>CDI (JSR-299)</h3>
<hr />
</td>
</tr>
@@ -95,8 +95,8 @@
<p><b>Ctrl+Shift+G (Search for references)</b></p>
</td>
<td align="top">
- <p></p>
- <img src="images/3.3.0.M3/seam_config_open_on.png"/>
+ <p>Search for references (Ctrl+Shift+G) now works for bean classes and finds all the injection points and ELs that inject/use the bean.</p>
+ <img src="images/3.3.0.M3/ctrlShiftG.png"/>
<p>
<small>
<a href="https://jira.jboss.org/browse/JBIDE-9473">Related Jira JBIDE-9473</a>,
@@ -105,6 +105,135 @@
</p>
</td>
</tr>
+ <tr>
+ <td colspan="2">
+ <hr />
+ <h3>Seam 3</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Seam Solder Hyperlinks (OpenOns)</b></p>
+ </td>
+ <td align="top">
+ <p>@Resource injected into a java field/parameter can now be navigated to via OpenOn. Just press Ctrl and click on the declaration, e.g. @Inject @Resource("WEB-INF/beans.xml") to open the corresponding beans.xml.</p>
+ <p>
+ <small>
+ <a href="https://issues.jboss.org/browse/JBIDE-8202">Related Jira JBIDE-8202</a>
+ </small><br/>
+ </p>
+ <p>Also you can navigate to all the available generic bean for the injected configuration.</p>
+ <img src="images/3.3.0.M3/generic1.png"/><br/><br/>
+ <img src="images/3.3.0.M3/generic2.png"/>
+ <p>
+ <small>
+ <a href="https://issues.jboss.org/browse/JBIDE-8692">Related Jira JBIDE-8692</a>
+ </small><br/>
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Seam Solder Validation</b></p>
+ </td>
+ <td align="top">
+ <p>A few validation rules were added to CDI-Seam3 Tools to validate Seam Generic Beans.</p>
+ <img src="images/3.3.0.M3/validation.png"/>
+ <p>
+ <small>
+ <a href="https://issues.jboss.org/browse/JBIDE-8695">Related Jira JBIDE-8695</a>,
+ <a href="https://issues.jboss.org/browse/JBIDE-9185">Related Jira JBIDE-9185</a>
+ </small><br/>
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Seam Config</b></p>
+ </td>
+ <td align="top">
+ <p>Bean injected via <s:Inject> in beans.xml can now be navigated (Ctrl+Click) to via OpenOn.</p>
+ <img src="images/3.3.0.M3/seamConf.png"/>
+ <p>
+ <small>
+ <a href="https://issues.jboss.org/browse/JBIDE-9187">Related Jira JBIDE-9187</a>
+ </small><br/>
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Seam International</b></p>
+ </td>
+ <td align="top">
+ <p>Bundles bean from Seam International module is now available for EL code completion, OpenOns, validation, refactoring, etc.</p>
+ <img src="images/3.3.0.M3/intrn.png"/><br/><br/>
+ <img src="images/3.3.0.M3/intrlnOpenOn.png"/>
+ <p>
+ <small>
+ <a href="https://issues.jboss.org/browse/JBIDE-9087">Related Jira JBIDE-9087</a>
+ </small><br/>
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Seam Servlet</b></p>
+ </td>
+ <td align="top">
+ <p>Injection points annotated @RequestParam/@HeaderParam/@CookieParam are now ignored by CDI validator since it's imposible in design time to know what bean will be injected to this point.</p>
+ <p>
+ <small>
+ <a href="https://issues.jboss.org/browse/JBIDE-9389">Related Jira JBIDE-9389</a>
+ </small><br/>
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Seam Persistence</b></p>
+ </td>
+ <td align="top">
+ <p>CDI Tools now recognizes <i>@Inject EntityManager manager;</i> or <i>@Inject Session session;</i> if the corresponding producers defined it the project. CDI validation and OpenOns work with such an injections now.</p>
+ <img src="images/3.3.0.M3/persistence.png"/>
+ <p>
+ <small>
+ <a href="https://issues.jboss.org/browse/JBIDE-9400">Related Jira JBIDE-9400</a>
+ </small><br/>
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
</table>
Added: trunk/documentation/whatsnew/cdi/images/3.3.0.M3/ctrlShiftG.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/cdi/images/3.3.0.M3/ctrlShiftG.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/cdi/images/3.3.0.M3/generic1.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/cdi/images/3.3.0.M3/generic1.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/cdi/images/3.3.0.M3/generic2.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/cdi/images/3.3.0.M3/generic2.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/cdi/images/3.3.0.M3/intrlnOpenOn.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/cdi/images/3.3.0.M3/intrlnOpenOn.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/cdi/images/3.3.0.M3/intrn.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/cdi/images/3.3.0.M3/intrn.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: trunk/documentation/whatsnew/cdi/images/3.3.0.M3/persistence.png
===================================================================
(Binary files differ)
Added: trunk/documentation/whatsnew/cdi/images/3.3.0.M3/validation.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/cdi/images/3.3.0.M3/validation.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
14 years, 7 months
JBoss Tools SVN: r34555 - trunk/documentation/whatsnew/cdi/images/3.3.0.M3.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2011-09-06 16:23:45 -0400 (Tue, 06 Sep 2011)
New Revision: 34555
Added:
trunk/documentation/whatsnew/cdi/images/3.3.0.M3/persistence.png
Log:
N&N for CDI
Added: trunk/documentation/whatsnew/cdi/images/3.3.0.M3/persistence.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/cdi/images/3.3.0.M3/persistence.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
14 years, 7 months
JBoss Tools SVN: r34554 - trunk/documentation/whatsnew/cdi/images/3.3.0.M3.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2011-09-06 15:30:33 -0400 (Tue, 06 Sep 2011)
New Revision: 34554
Added:
trunk/documentation/whatsnew/cdi/images/3.3.0.M3/seamConf.png
Log:
Added: trunk/documentation/whatsnew/cdi/images/3.3.0.M3/seamConf.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/cdi/images/3.3.0.M3/seamConf.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
14 years, 7 months
JBoss Tools SVN: r34553 - in trunk/download.jboss.org/jbosstools/examples: nightly and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-09-06 12:51:39 -0400 (Tue, 06 Sep 2011)
New Revision: 34553
Added:
trunk/download.jboss.org/jbosstools/examples/readme.process.txt
Removed:
trunk/download.jboss.org/jbosstools/examples/nightly/jbosstools-project-e...
Modified:
trunk/download.jboss.org/jbosstools/examples/nightly/readme.process.txt
Log:
remove shell script and update readmes
Deleted: trunk/download.jboss.org/jbosstools/examples/nightly/jbosstools-project-e...
===================================================================
--- trunk/download.jboss.org/jbosstools/examples/nightly/jbosstools-project-e... 2011-09-06 16:51:25 UTC (rev 34552)
+++ trunk/download.jboss.org/jbosstools/examples/nightly/jbosstools-project-e... 2011-09-06 16:51:39 UTC (rev 34553)
@@ -1,17 +0,0 @@
-#!/bin/bash
-
-# This script is run here: http://hudson.qa.jboss.com/hudson/view/DevStudio/job/jbosstools-project-e...
-# And archived here: https://anonsvn.jboss.org/repos/jbosstools/trunk/download.jboss.org/jboss...
-# --------------------------------------------------------------------------------
-#starttime=`date +%s`
-#uname -a
-
-#if [[ $DESTINATION == "" ]]; then
- DESTINATION="tools@filemgmt.jboss.org:/downloads_htdocs/tools"
-#fi
-#echo "Destination to publish: $DESTINATION"
-
-rsync -aPr --delete $WORKSPACE/sources/* $DESTINATION/examples/nightly/
-
-#endtime=`date +%s`; elapsed=$(echo "scale=2; ($endtime - $starttime)/60" | bc -l); # calculate diff of seconds as minutes using bc
-#echo "Elapsed time: ${elapsed}mins."
Modified: trunk/download.jboss.org/jbosstools/examples/nightly/readme.process.txt
===================================================================
--- trunk/download.jboss.org/jbosstools/examples/nightly/readme.process.txt 2011-09-06 16:51:25 UTC (rev 34552)
+++ trunk/download.jboss.org/jbosstools/examples/nightly/readme.process.txt 2011-09-06 16:51:39 UTC (rev 34553)
@@ -1,22 +1,19 @@
Project Examples Readme
-Last Update: bfitzpat - June 9, 2010
-The "nightly" folder contains project example files we want to test or aren't
-quite ready to push to the root yet.
+Last Update: nboldt, 2011-0906
The process currently is as follows (from Nick Boldt):
-1) A developer updates one of the project examples files (in
-http://anonsvn.jboss.org/repos/jbosstools/workspace/examples or elsewhere).
+To push files into http://download.jboss.org/jbosstools/examples/:
-2) The developer requests that the changed file be updated on the published
-examples site (http://download.jboss.org/jbosstools/examples/).
+1) Commit changes to https://svn.jboss.org/repos/jbosstools/trunk/download.jboss.org/jbosstool...
-3) Nick or the developer copies the file (or files) to
-http://anonsvn.jboss.org/repos/jbosstools/trunk/download.jboss.org/jbosstools/examples/ or
-http://anonsvn.jboss.org/repos/jbosstools/trunk/download.jboss.org/jbosstools/examples/nightly.
+2) Wait up to 6 hrs, or manually kick this job:
-4) Nick then either manually moves the file(s) (currently) or the automated Hudson job
-(coming) takes the files from the area in step 3 to the final destination -
-http://download.jboss.org/jbosstools/examples/.
+3) http://hudson.qa.jboss.com/hudson/view/DevStudio/view/DevStudio_All/job/j...
+-----
+
+Note: the "nightly" folder contains project example files we want to test or aren't quite ready to push to the root yet.
+
+
Added: trunk/download.jboss.org/jbosstools/examples/readme.process.txt
===================================================================
--- trunk/download.jboss.org/jbosstools/examples/readme.process.txt (rev 0)
+++ trunk/download.jboss.org/jbosstools/examples/readme.process.txt 2011-09-06 16:51:39 UTC (rev 34553)
@@ -0,0 +1,19 @@
+Project Examples Readme
+
+Last Update: nboldt, 2011-0906
+
+The process currently is as follows (from Nick Boldt):
+
+To push files into http://download.jboss.org/jbosstools/examples/:
+
+1) Commit changes to https://svn.jboss.org/repos/jbosstools/trunk/download.jboss.org/jbosstool...
+
+2) Wait up to 6 hrs, or manually kick this job:
+
+3) http://hudson.qa.jboss.com/hudson/view/DevStudio/view/DevStudio_All/job/j...
+
+-----
+
+Note: the "nightly" folder contains project example files we want to test or aren't quite ready to push to the root yet.
+
+
14 years, 7 months
JBoss Tools SVN: r34551 - trunk/download.jboss.org/jbosstools/examples/nightly.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-09-06 12:45:38 -0400 (Tue, 06 Sep 2011)
New Revision: 34551
Added:
trunk/download.jboss.org/jbosstools/examples/nightly/readme.html
trunk/download.jboss.org/jbosstools/examples/nightly/readme.process.txt
Removed:
trunk/download.jboss.org/jbosstools/examples/nightly/index.html
trunk/download.jboss.org/jbosstools/examples/nightly/readme.txt
Log:
replace static index.html w/ dynamic index + readme.html
Deleted: trunk/download.jboss.org/jbosstools/examples/nightly/index.html
===================================================================
--- trunk/download.jboss.org/jbosstools/examples/nightly/index.html 2011-09-06 16:40:38 UTC (rev 34550)
+++ trunk/download.jboss.org/jbosstools/examples/nightly/index.html 2011-09-06 16:45:38 UTC (rev 34551)
@@ -1,69 +0,0 @@
-<html>
-<head>
-<title>JBoss Tools Examples - Nightly</title>
-<style>
-@import url("../../web/site.css");
-</style>
-</head>
-<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
-<table marginheight="0" marginwidth="0" leftmargin="0" topmargin="0"
- cellspacing="0" cellpadding="0">
- <tr>
- <td colspan="2"><img
- src="https://www.jboss.org/dms/tools/images/tools-banner.png" /></td>
- </tr>
- <tr>
- <td>  </td>
- </tr>
- <tr>
- <td>  </td>
- <td>
- <h2 class="title">JBoss Tools Examples - Nightly</h2>
- <p class="bodyText" style="color:red;font-weight:bold">The files here are untested. As our QA and development teams test them, they may change or be moved up one directory to replace other files. Use at your own risk.</p>
- <table width="100%">
-
- <!-- <tr class="light-row" style="height: 30px">
- <td class="bodyText">
- <p class="bodyText"></p>
- </td>
- </tr> -->
-
- <tr class="dark-row" style="height: 30px">
- <td class="bodyText">
- <!-- <p class="bodyText"></p> -->
-
-<!-- to convert raw fish listing to links do this in vi
-
-:%s#^sftp://jbossqa@filemgmt.jboss.org/htdocs/jbosstools/examples/\(.\+\)$#<li><a class=link href=\1>\1<\/a></li>#g
-
-Then sftp file into
-
-jbossqa(a)filemgmt.jboss.org/htdocs/jbosstools/examples/
-
-which becomes
-
-http://download.jboss.org/jbosstools/examples/
-
--->
- <br/>
- <ul>
- <li><a class="link" href=project-examples-3.1.xml>project-examples-3.1.xml</a></li>
- </ul>
- <br/>
- </td>
- </tr>
-
- <tr class="light-row" style="height: 30px">
- <td class="bodyText">
- <p class="bodyText">Looking to download JBoss Tools? See <a class="link"
- href="http://www.jboss.org/tools/download">JBoss Tools
- Downloads</a>. See also <a
- href="http://www.jboss.org/tools/download/installation">Installation
- methods</a>.</p>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-</table>
-</html>
Copied: trunk/download.jboss.org/jbosstools/examples/nightly/readme.html (from rev 34550, trunk/download.jboss.org/jbosstools/examples/nightly/index.html)
===================================================================
--- trunk/download.jboss.org/jbosstools/examples/nightly/readme.html (rev 0)
+++ trunk/download.jboss.org/jbosstools/examples/nightly/readme.html 2011-09-06 16:45:38 UTC (rev 34551)
@@ -0,0 +1,38 @@
+<html>
+<head>
+<title>JBoss Tools Examples - Nightly</title>
+<style>
+@import url("../../web/site.css");
+</style>
+</head>
+<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
+<table marginheight="0" marginwidth="0" leftmargin="0" topmargin="0"
+ cellspacing="0" cellpadding="0">
+ <tr>
+ <td colspan="2"><img
+ src="https://www.jboss.org/dms/tools/images/tools-banner.png" /></td>
+ </tr>
+ <tr>
+ <td>  </td>
+ </tr>
+ <tr>
+ <td>  </td>
+ <td>
+ <h2 class="title">JBoss Tools Examples - Nightly</h2>
+ <p class="bodyText" style="color:red;font-weight:bold">The files here are untested. As our QA and development teams test them, they may change or be moved up one directory to replace other files. Use at your own risk.</p>
+ <table width="100%">
+
+ <tr class="light-row" style="height: 30px">
+ <td class="bodyText">
+ <p class="bodyText">Looking to download JBoss Tools? See <a class="link"
+ href="http://www.jboss.org/tools/download">JBoss Tools
+ Downloads</a>. See also <a
+ href="http://www.jboss.org/tools/download/installation">Installation
+ methods</a>.</p>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+</html>
Copied: trunk/download.jboss.org/jbosstools/examples/nightly/readme.process.txt (from rev 34550, trunk/download.jboss.org/jbosstools/examples/nightly/readme.txt)
===================================================================
--- trunk/download.jboss.org/jbosstools/examples/nightly/readme.process.txt (rev 0)
+++ trunk/download.jboss.org/jbosstools/examples/nightly/readme.process.txt 2011-09-06 16:45:38 UTC (rev 34551)
@@ -0,0 +1,22 @@
+Project Examples Readme
+Last Update: bfitzpat - June 9, 2010
+
+The "nightly" folder contains project example files we want to test or aren't
+quite ready to push to the root yet.
+
+The process currently is as follows (from Nick Boldt):
+
+1) A developer updates one of the project examples files (in
+http://anonsvn.jboss.org/repos/jbosstools/workspace/examples or elsewhere).
+
+2) The developer requests that the changed file be updated on the published
+examples site (http://download.jboss.org/jbosstools/examples/).
+
+3) Nick or the developer copies the file (or files) to
+http://anonsvn.jboss.org/repos/jbosstools/trunk/download.jboss.org/jbosstools/examples/ or
+http://anonsvn.jboss.org/repos/jbosstools/trunk/download.jboss.org/jbosstools/examples/nightly.
+
+4) Nick then either manually moves the file(s) (currently) or the automated Hudson job
+(coming) takes the files from the area in step 3 to the final destination -
+http://download.jboss.org/jbosstools/examples/.
+
Deleted: trunk/download.jboss.org/jbosstools/examples/nightly/readme.txt
===================================================================
--- trunk/download.jboss.org/jbosstools/examples/nightly/readme.txt 2011-09-06 16:40:38 UTC (rev 34550)
+++ trunk/download.jboss.org/jbosstools/examples/nightly/readme.txt 2011-09-06 16:45:38 UTC (rev 34551)
@@ -1,22 +0,0 @@
-Project Examples Readme
-Last Update: bfitzpat - June 9, 2010
-
-The "nightly" folder contains project example files we want to test or aren't
-quite ready to push to the root yet.
-
-The process currently is as follows (from Nick Boldt):
-
-1) A developer updates one of the project examples files (in
-http://anonsvn.jboss.org/repos/jbosstools/workspace/examples or elsewhere).
-
-2) The developer requests that the changed file be updated on the published
-examples site (http://download.jboss.org/jbosstools/examples/).
-
-3) Nick or the developer copies the file (or files) to
-http://anonsvn.jboss.org/repos/jbosstools/trunk/download.jboss.org/jbosstools/examples/ or
-http://anonsvn.jboss.org/repos/jbosstools/trunk/download.jboss.org/jbosstools/examples/nightly.
-
-4) Nick then either manually moves the file(s) (currently) or the automated Hudson job
-(coming) takes the files from the area in step 3 to the final destination -
-http://download.jboss.org/jbosstools/examples/.
-
14 years, 7 months
JBoss Tools SVN: r34550 - trunk/download.jboss.org/jbosstools/examples.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-09-06 12:40:38 -0400 (Tue, 06 Sep 2011)
New Revision: 34550
Added:
trunk/download.jboss.org/jbosstools/examples/readme.html
Removed:
trunk/download.jboss.org/jbosstools/examples/index.html
Log:
replace static index.html w/ dynamic index + readme.html
Deleted: trunk/download.jboss.org/jbosstools/examples/index.html
===================================================================
--- trunk/download.jboss.org/jbosstools/examples/index.html 2011-09-06 16:35:40 UTC (rev 34549)
+++ trunk/download.jboss.org/jbosstools/examples/index.html 2011-09-06 16:40:38 UTC (rev 34550)
@@ -1,80 +0,0 @@
-<html>
-<head>
-<title>JBoss Tools Examples</title>
-<style>
-@import url("../web/site.css");
-</style>
-</head>
-<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
-<table marginheight="0" marginwidth="0" leftmargin="0" topmargin="0"
- cellspacing="0" cellpadding="0">
- <tr>
- <td colspan="2"><img
- src="https://www.jboss.org/dms/tools/images/tools-banner.png" /></td>
- </tr>
- <tr>
- <td>  </td>
- </tr>
- <tr>
- <td>  </td>
- <td>
- <h2 class="title">JBoss Tools Examples</h2>
- <table width="100%">
-
- <!-- <tr class="light-row" style="height: 30px">
- <td class="bodyText">
- <p class="bodyText"></p>
- </td>
- </tr> -->
-
- <tr class="dark-row" style="height: 30px">
- <td class="bodyText">
- <!-- <p class="bodyText"></p> -->
-
-<!-- to convert raw fish listing to links do this in vi
-
-:%s#^sftp://jbossqa@filemgmt.jboss.org/htdocs/jbosstools/examples/\(.\+\)$#<li><a class=link href=\1>\1<\/a></li>#g
-
-Then sftp file into
-
-jbossqa(a)filemgmt.jboss.org/htdocs/jbosstools/examples/
-
-which becomes
-
-http://download.jboss.org/jbosstools/examples/
-
--->
- <br/>
- <ul>
- <li><a class="link" href=project-examples-3.2.xml>project-examples-3.2.xml</a></li>
- <br/>
- <li><a class="link" href=project-examples-3.1.xml>project-examples-3.1.xml</a></li>
- <li><a class="link" href=project-examples-bpel-3.1.xml>project-examples-bpel-3.1.xml</a></li>
- <li><a class="link" href=project-examples-community-3.1.xml>project-examples-community-3.1.xml</a></li>
- <li><a class="link" href=project-examples-jbds30.xml>project-examples-jbds30.xml</a></li>
- <br/>
- <li><a class="link" href=project-examples-3.0.2.xml>project-examples-3.0.2.xml</a></li>
- <li><a class="link" href=project-examples-3.0.xml>project-examples-3.0.xml</a></li>
- <li><a class="link" href=ver1_project-examples-3.0.xml>ver1_project-examples-3.0.xml</a></li>
- <br/>
- <li><a class="link" href=HelloWorld.zip>HelloWorld.zip</a></li>
- <li><a class="link" href=Simple_Correlation.zip>Simple_Correlation.zip</a></li>
- </ul>
- <br/>
- </td>
- </tr>
-
- <tr class="light-row" style="height: 30px">
- <td class="bodyText">
- <p class="bodyText">Looking to download JBoss Tools? See <a class="link"
- href="http://www.jboss.org/tools/download">JBoss Tools
- Downloads</a>. See also <a
- href="http://www.jboss.org/tools/download/installation">Installation
- methods</a>.</p>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-</table>
-</html>
Added: trunk/download.jboss.org/jbosstools/examples/readme.html
===================================================================
--- trunk/download.jboss.org/jbosstools/examples/readme.html (rev 0)
+++ trunk/download.jboss.org/jbosstools/examples/readme.html 2011-09-06 16:40:38 UTC (rev 34550)
@@ -0,0 +1,37 @@
+<html>
+<head>
+<title>JBoss Tools Examples</title>
+<style>
+@import url("../web/site.css");
+</style>
+</head>
+<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
+<table marginheight="0" marginwidth="0" leftmargin="0" topmargin="0"
+ cellspacing="0" cellpadding="0">
+ <tr>
+ <td colspan="2"><img
+ src="https://www.jboss.org/dms/tools/images/tools-banner.png" /></td>
+ </tr>
+ <tr>
+ <td>  </td>
+ </tr>
+ <tr>
+ <td>  </td>
+ <td>
+ <h2 class="title">JBoss Tools Examples</h2>
+ <table width="100%">
+
+ <tr class="light-row" style="height: 30px">
+ <td class="bodyText">
+ <p class="bodyText">Looking to download JBoss Tools? See <a class="link"
+ href="http://www.jboss.org/tools/download">JBoss Tools
+ Downloads</a>. See also <a
+ href="http://www.jboss.org/tools/download/installation">Installation
+ methods</a>.</p>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+</html>
14 years, 7 months
JBoss Tools SVN: r34549 - in trunk/jsf/tests/org.jboss.tools.jsf.ui.test: src/org/jboss/tools/jsf/jsp/ca/test and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2011-09-06 12:35:40 -0400 (Tue, 06 Sep 2011)
New Revision: 34549
Added:
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/jsp/ca/test/CADefaultELStartingCharTest.java
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/projects/JsfJbide1704Test/WebContent/pages/greeting.jsp
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/projects/JsfJbide1704Test/WebContent/pages/greeting.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java
Log:
JBIDE-9634
Replace EL prefixed used in content assist to be #{...} instead of ${...} by default
JUnit Test Case is added
Modified: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/projects/JsfJbide1704Test/WebContent/pages/greeting.jsp
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/projects/JsfJbide1704Test/WebContent/pages/greeting.jsp 2011-09-06 16:35:29 UTC (rev 34548)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/projects/JsfJbide1704Test/WebContent/pages/greeting.jsp 2011-09-06 16:35:40 UTC (rev 34549)
@@ -10,7 +10,7 @@
<f:loadBundle basename="resources" var="msg" />
<strong>
- <h:outputText value="#{msg.greeting}" />
+ <h:outputText value="#{msg.greeting}" id="pe" />
<h:outputText value="#{person.name}" />
<h:outputText value="!" />
Modified: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/projects/JsfJbide1704Test/WebContent/pages/greeting.xhtml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/projects/JsfJbide1704Test/WebContent/pages/greeting.xhtml 2011-09-06 16:35:29 UTC (rev 34548)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/projects/JsfJbide1704Test/WebContent/pages/greeting.xhtml 2011-09-06 16:35:40 UTC (rev 34549)
@@ -9,7 +9,7 @@
<ui:define name="pageTitle">Greeting to User</ui:define>
<ui:define name="pageHeader">Facelets Greeting Page</ui:define>
<ui:define name="body">
- <h:outputText value="#{msg.greeting}" />
+ <h:outputText value="#{msg.greeting}" id="pe" />
#{msg.greeting} #{person.name}!
</ui:define>
</ui:composition>
Added: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/jsp/ca/test/CADefaultELStartingCharTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/jsp/ca/test/CADefaultELStartingCharTest.java (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/jsp/ca/test/CADefaultELStartingCharTest.java 2011-09-06 16:35:40 UTC (rev 34549)
@@ -0,0 +1,117 @@
+/*******************************************************************************
+ * Copyright (c) 2011 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.jsf.jsp.ca.test;
+
+import java.util.List;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+import org.eclipse.core.resources.IncrementalProjectBuilder;
+import org.eclipse.core.runtime.NullProgressMonitor;
+import org.eclipse.jface.text.contentassist.ICompletionProposal;
+import org.jboss.tools.common.base.test.contentassist.CATestUtil;
+import org.jboss.tools.jst.jsp.contentassist.AutoContentAssistantProposal;
+import org.jboss.tools.jst.jsp.test.ca.ContentAssistantTestCase;
+import org.jboss.tools.test.util.JobUtils;
+import org.jboss.tools.test.util.ProjectImportTestSetup;
+
+/**
+ * The JUnit test cases for https://issues.jboss.org/browse/JBIDE-9634 issue
+ *
+ * @author Victor V. Rubezhny
+ *
+ */
+public class CADefaultELStartingCharTest extends ContentAssistantTestCase {
+ private static final String PROJECT_NAME = "JsfJbide1704Test";
+ private static final String JSP_PAGE_NAME = "WebContent/pages/greeting.jsp";
+ private static final String XHTML_PAGE_NAME = "WebContent/pages/greeting.xhtml";
+
+ private static final String TAG_ATTRIBUTE = "id=\"";
+ private static final String TEXT_PREFIX_STRING = "pe";
+
+ private static final String PROPOSAL_TO_APPLY_STRING = "person : Person";
+ private static final String COMPARE_STRING = "#{person}";
+
+ public void setUp() throws Exception {
+ project = ProjectImportTestSetup.loadProject(PROJECT_NAME);
+ project.build(IncrementalProjectBuilder.FULL_BUILD, new NullProgressMonitor());
+ }
+
+ public static Test suite() {
+ return new TestSuite(CADefaultELStartingCharTest.class);
+ }
+
+ private void doTestCADefaultELStartingCharTest(String pageName, String attr, String prefix, String proposalToApply, String compareString) {
+ String documentContent = document.get();
+ int start = (documentContent == null ? -1 : documentContent.indexOf(attr));
+ assertFalse("Required node '" + attr + "' not found in document", (start == -1));
+ int offsetToTest = start + attr.length() + prefix.length();
+
+ String documentContentToCompare = documentContent.substring(0, start + attr.length()) +
+ compareString + documentContent.substring(start + attr.length() + prefix.length());
+
+ JobUtils.waitForIdle();
+
+ List<ICompletionProposal> res = CATestUtil.collectProposals(contentAssistant, viewer, offsetToTest);
+
+ assertTrue("Content Assistant returned no proposals", (res != null && res.size() > 0));
+
+ boolean bPropoosalToApplyFound = false;
+ for (ICompletionProposal p : res) {
+ if (!(p instanceof AutoContentAssistantProposal))
+ continue;
+ AutoContentAssistantProposal proposal = (AutoContentAssistantProposal)p;
+ String proposalString = proposal.getDisplayString();
+
+ if (proposalToApply.equals(proposalString)) {
+ bPropoosalToApplyFound = true;
+ proposal.apply(document);
+ break;
+ }
+ }
+ assertTrue("The proposal to apply not found.", bPropoosalToApplyFound);
+
+ try {
+ JobUtils.waitForIdle();
+ } catch (Exception e) {
+ e.printStackTrace();
+ assertTrue("Waiting for the jobs to complete has failed.", false);
+ }
+
+ String documentUpdatedContent = document.get();
+ assertTrue("The proposal replacement is failed.", documentContentToCompare.equals(documentUpdatedContent));
+
+ }
+
+ public void testCADefaultELStartingCharInJSP() {
+ assertNotNull("Test project '" + PROJECT_NAME + "' is not prepared", project);
+
+ openEditor(JSP_PAGE_NAME);
+ try {
+ doTestCADefaultELStartingCharTest(JSP_PAGE_NAME, TAG_ATTRIBUTE, TEXT_PREFIX_STRING, PROPOSAL_TO_APPLY_STRING, COMPARE_STRING);
+ } finally {
+ closeEditor();
+ }
+ }
+
+ public void testCADefaultELStartingCharTestInXHTML() {
+ assertNotNull("Test project '" + PROJECT_NAME + "' is not prepared", project);
+
+ openEditor(XHTML_PAGE_NAME);
+ try {
+ doTestCADefaultELStartingCharTest(XHTML_PAGE_NAME, TAG_ATTRIBUTE, TEXT_PREFIX_STRING, PROPOSAL_TO_APPLY_STRING, COMPARE_STRING);
+ } finally {
+ closeEditor();
+ }
+ }
+
+}
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/jsp/ca/test/CADefaultELStartingCharTest.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Modified: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java 2011-09-06 16:35:29 UTC (rev 34548)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java 2011-09-06 16:35:40 UTC (rev 34549)
@@ -16,6 +16,7 @@
import org.eclipse.wst.validation.ValidationFramework;
import org.jboss.tools.common.base.test.validation.ValidationProjectTestSetup;
+import org.jboss.tools.jsf.jsp.ca.test.CADefaultELStartingCharTest;
import org.jboss.tools.jsf.jsp.ca.test.CAForCompositeComponentTest;
import org.jboss.tools.jsf.jsp.ca.test.CAForELinStyleTest;
import org.jboss.tools.jsf.jsp.ca.test.CAForIDTest;
@@ -114,6 +115,11 @@
new String[] { "projects/testJSFProject", }, //$NON-NLS-1$
new String[] { "testJSFProject" })); //$NON-NLS-1$
+ suite.addTest(new ProjectImportTestSetup(new TestSuite(
+ CADefaultELStartingCharTest.class), "org.jboss.tools.jsf.ui.test", //$NON-NLS-1$
+ new String[] { "projects/JsfJbide1704Test", }, //$NON-NLS-1$
+ new String[] { "CAForCompositeComponentTest" })); //$NON-NLS-1$
+
// return new TestWizardsProject(suite);
return suite;
}
14 years, 7 months
JBoss Tools SVN: r34548 - in trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test: resources/preferences and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: vpakan(a)redhat.com
Date: 2011-09-06 12:35:29 -0400 (Tue, 06 Sep 2011)
New Revision: 34548
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/pagedesign/AddSubstitutedELExpressionHelloPage.xml
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/pagedesign/AddSubstitutedELExpressionTestPage.xml
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/pagedesign/RemoveSubstitutedELExpressionHelloPage.xml
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/pagedesign/RemoveSubstitutedELExpressionTestPage.xml
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/preferences/DumpedTestPage.xml
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/preferences/HideBorderForUnknownTag.xml
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/preferences/HideResourceBundlesUsageasELExpressions.xml
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/preferences/ShowBorderForUnknownTag.xml
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/preferences/ShowNonVisualTags.xml
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/preferences/ShowResourceBundlesUsageasELExpressions.xml
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/JspFileEditingTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/tags/PickListTagTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/CodeCompletionTest.java
Log:
Fixes for JBDS 5.0.0.M3
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/pagedesign/AddSubstitutedELExpressionHelloPage.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/pagedesign/AddSubstitutedELExpressionHelloPage.xml 2011-09-06 16:20:53 UTC (rev 34547)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/pagedesign/AddSubstitutedELExpressionHelloPage.xml 2011-09-06 16:35:29 UTC (rev 34548)
@@ -1,9 +1,9 @@
<BODY id="__content__area__" >
-<DIV style="-moz-user-modify: read-write;" >
+<DIV >
<DIV style="display: none; -moz-user-modify: read-only;" title="head" >
</DIV>
<DIV title="body" >
-<TABLE style="border: 1px dotted rgb(255, 102, 0); padding: 5px; width: 100%;" title="f:view" >
+<TABLE style="width: 100%; border: 1px dotted rgb(255, 102, 0); padding: 5px;" title="f:view" >
<TR title="f:view" >
<TD title="f:view" >
<DIV title="f:view" >
@@ -13,14 +13,12 @@
</SPAN>
<SPAN class="vpe-text" >
,
-
</SPAN>
<SPAN class="vpe-text" title="h:outputText value: #{user.name}" >
Any Name
</SPAN>
<SPAN class="vpe-text" >
!
-
</SPAN>
</H3>
</DIV>
@@ -29,6 +27,6 @@
</TABLE>
</DIV>
</DIV>
-<IMG vpetemporarydndelement="true" id="dragIcon" src="file:////opt/jbdevstudio4.0.0.M2/studio/eclipse/plugins/org.jboss.tools.vpe_3.2.0.v201008232021N-H413-M2/ve/dragIcon.gif" style="display: none ! important; position: absolute; cursor: move;" >
+<IMG vpetemporarydndelement="true" id="dragIcon" src="file:////opt/jbdevstudio5.0.0.M3/studio/plugins/org.jboss.tools.vpe_3.3.0.v20110901-0136-H11-M3/ve/dragIcon.gif" style="display: none ! important; position: absolute; cursor: move;" >
</IMG>
</BODY>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/pagedesign/AddSubstitutedELExpressionTestPage.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/pagedesign/AddSubstitutedELExpressionTestPage.xml 2011-09-06 16:20:53 UTC (rev 34547)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/pagedesign/AddSubstitutedELExpressionTestPage.xml 2011-09-06 16:35:29 UTC (rev 34548)
@@ -1,9 +1,9 @@
<BODY id="__content__area__" >
-<DIV style="-moz-user-modify: read-write;" >
+<DIV >
<DIV style="display: none; -moz-user-modify: read-only;" title="head" >
</DIV>
<DIV title="body" >
-<TABLE style="border: 1px dotted rgb(255, 102, 0); padding: 5px; width: 100%;" title="f:view" >
+<TABLE style="width: 100%; border: 1px dotted rgb(255, 102, 0); padding: 5px;" title="f:view" >
<TR title="f:view" >
<TD title="f:view" >
<DIV title="f:view" >
@@ -36,6 +36,6 @@
</TABLE>
</DIV>
</DIV>
-<IMG vpetemporarydndelement="true" id="dragIcon" src="file:////opt/jbdevstudio4.0.0.M2/studio/eclipse/plugins/org.jboss.tools.vpe_3.2.0.v201008232021N-H413-M2/ve/dragIcon.gif" style="display: none ! important; position: absolute; cursor: move;" >
+<IMG vpetemporarydndelement="true" id="dragIcon" src="file:////opt/jbdevstudio5.0.0.M3/studio/plugins/org.jboss.tools.vpe_3.3.0.v20110901-0136-H11-M3/ve/dragIcon.gif" style="display: none ! important; position: absolute; cursor: move;" >
</IMG>
</BODY>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/pagedesign/RemoveSubstitutedELExpressionHelloPage.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/pagedesign/RemoveSubstitutedELExpressionHelloPage.xml 2011-09-06 16:20:53 UTC (rev 34547)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/pagedesign/RemoveSubstitutedELExpressionHelloPage.xml 2011-09-06 16:35:29 UTC (rev 34548)
@@ -1,9 +1,9 @@
<BODY id="__content__area__" >
-<DIV style="-moz-user-modify: read-write;" >
+<DIV >
<DIV style="display: none; -moz-user-modify: read-only;" title="head" >
</DIV>
<DIV title="body" >
-<TABLE style="border: 1px dotted rgb(255, 102, 0); padding: 5px; width: 100%;" title="f:view" >
+<TABLE style="width: 100%; border: 1px dotted rgb(255, 102, 0); padding: 5px;" title="f:view" >
<TR title="f:view" >
<TD title="f:view" >
<DIV title="f:view" >
@@ -13,15 +13,12 @@
</SPAN>
<SPAN class="vpe-text" >
,
-
</SPAN>
<SPAN class="vpe-text" title="h:outputText value: #{user.name}" >
#{user.name}
</SPAN>
<SPAN class="vpe-text" >
-
!
-
</SPAN>
</H3>
</DIV>
@@ -30,6 +27,6 @@
</TABLE>
</DIV>
</DIV>
-<IMG vpetemporarydndelement="true" id="dragIcon" src="file:////opt/jbdevstudio4.0.0.M2/studio/eclipse/plugins/org.jboss.tools.vpe_3.2.0.v201008232021N-H413-M2/ve/dragIcon.gif" style="display: none ! important; position: absolute; cursor: move;" >
+<IMG vpetemporarydndelement="true" id="dragIcon" src="file:////opt/jbdevstudio5.0.0.M3/studio/plugins/org.jboss.tools.vpe_3.3.0.v20110901-0136-H11-M3/ve/dragIcon.gif" style="display: none ! important; position: absolute; cursor: move;" >
</IMG>
</BODY>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/pagedesign/RemoveSubstitutedELExpressionTestPage.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/pagedesign/RemoveSubstitutedELExpressionTestPage.xml 2011-09-06 16:20:53 UTC (rev 34547)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/pagedesign/RemoveSubstitutedELExpressionTestPage.xml 2011-09-06 16:35:29 UTC (rev 34548)
@@ -1,14 +1,14 @@
<BODY id="__content__area__" >
-<DIV style="-moz-user-modify: read-write;" >
+<DIV >
<DIV style="display: none; -moz-user-modify: read-only;" title="head" >
</DIV>
<DIV title="body" >
-<TABLE style="border: 1px dotted rgb(255, 102, 0); padding: 5px; width: 100%;" title="f:view" >
+<TABLE style="width: 100%; border: 1px dotted rgb(255, 102, 0); padding: 5px;" title="f:view" >
<TR title="f:view" >
<TD title="f:view" >
<DIV title="f:view" >
<H1 style="-moz-user-modify: read-write;" title="h1" >
- <SPAN class="vpe-text" title="h:outputText value: #{Message.header}" >
+<SPAN class="vpe-text" title="h:outputText value: #{Message.header}" >
Hello Demo Application
</SPAN>
</H1>
@@ -36,6 +36,6 @@
</TABLE>
</DIV>
</DIV>
-<IMG vpetemporarydndelement="true" id="dragIcon" src="file:////opt/jbdevstudio4.0.0.M2/studio/eclipse/plugins/org.jboss.tools.vpe_3.2.0.v201008232021N-H413-M2/ve/dragIcon.gif" style="display: none ! important; position: absolute; cursor: move;" >
+<IMG vpetemporarydndelement="true" id="dragIcon" src="file:////opt/jbdevstudio5.0.0.M3/studio/plugins/org.jboss.tools.vpe_3.3.0.v20110901-0136-H11-M3/ve/dragIcon.gif" style="display: none ! important; position: absolute; cursor: move;" >
</IMG>
</BODY>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/preferences/DumpedTestPage.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/preferences/DumpedTestPage.xml 2011-09-06 16:20:53 UTC (rev 34547)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/preferences/DumpedTestPage.xml 2011-09-06 16:35:29 UTC (rev 34548)
@@ -1,9 +1,9 @@
<BODY id="__content__area__" >
-<DIV style="-moz-user-modify: read-write;" >
+<DIV >
<DIV style="display: none; -moz-user-modify: read-only;" title="head" >
</DIV>
<DIV title="body" >
-<TABLE style="border: 1px dotted rgb(255, 102, 0); padding: 5px; width: 100%;" title="f:view" >
+<TABLE style="width: 100%; border: 1px dotted rgb(255, 102, 0); padding: 5px;" title="f:view" >
<TR title="f:view" >
<TD title="f:view" >
<DIV title="f:view" >
@@ -36,4 +36,6 @@
</TABLE>
</DIV>
</DIV>
+<IMG vpetemporarydndelement="true" id="dragIcon" src="file:////opt/jbdevstudio5.0.0.M3/studio/plugins/org.jboss.tools.vpe_3.3.0.v20110901-0136-H11-M3/ve/dragIcon.gif" style="display: none ! important; position: absolute; cursor: move;" >
+</IMG>
</BODY>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/preferences/HideBorderForUnknownTag.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/preferences/HideBorderForUnknownTag.xml 2011-09-06 16:20:53 UTC (rev 34547)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/preferences/HideBorderForUnknownTag.xml 2011-09-06 16:35:29 UTC (rev 34548)
@@ -1,13 +1,13 @@
<BODY id="__content__area__" >
-<DIV style="-moz-user-modify: read-write;" >
+<DIV >
<DIV style="display: none; -moz-user-modify: read-only;" title="head" >
</DIV>
<DIV title="body" >
-<TABLE style="border: 1px dotted rgb(255, 102, 0); padding: 5px; width: 100%;" title="f:view" >
+<TABLE style="width: 100%; border: 1px dotted rgb(255, 102, 0); padding: 5px;" title="f:view" >
<TR title="f:view" >
<TD title="f:view" >
<DIV title="f:view" >
-<H1 style="border: 2px solid rgb(0, 0, 255) ! important; -moz-user-modify: read-write;" title="h1" oldstyle="-moz-user-modify: read-write;" >
+<H1 style="-moz-user-modify: read-write;" title="h1" >
<SPAN class="vpe-text" title="h:outputText value: #{Message.header}" >
Hello Demo Application
</SPAN>
@@ -16,7 +16,7 @@
<DIV class="__any__tag__caption" style="" title="tagunknown" >
tagunknown
</DIV>
-<BR vpe:pseudo-element="yes" style="font-style: italic; color: green; -moz-user-modify: read-only;" >
+<BR style="font-style: italic; color: green; -moz-user-modify: read-only;" >
</BR>
</DIV>
<UL style="color: red; -moz-user-modify: read-only;" title="h:messages style: color: red" >
@@ -43,6 +43,6 @@
</TABLE>
</DIV>
</DIV>
-<IMG vpetemporarydndelement="true" id="dragIcon" src="file:////opt/jbdevstudio4.0.0.Beta2/studio/eclipse/plugins/org.jboss.tools.vpe_3.2.0.v201012070137R-H33-Beta2/ve/dragIcon.gif" style="position: absolute; cursor: move; left: 16px ! important; top: 17px ! important;" >
+<IMG vpetemporarydndelement="true" id="dragIcon" src="file:////opt/jbdevstudio5.0.0.M3/studio/plugins/org.jboss.tools.vpe_3.3.0.v20110901-0136-H11-M3/ve/dragIcon.gif" style="position: absolute; cursor: move; left: 16px ! important; top: 17px ! important;" >
</IMG>
</BODY>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/preferences/HideResourceBundlesUsageasELExpressions.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/preferences/HideResourceBundlesUsageasELExpressions.xml 2011-09-06 16:20:53 UTC (rev 34547)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/preferences/HideResourceBundlesUsageasELExpressions.xml 2011-09-06 16:35:29 UTC (rev 34548)
@@ -1,9 +1,9 @@
<BODY id="__content__area__" >
-<DIV style="-moz-user-modify: read-write;" >
+<DIV >
<DIV style="display: none; -moz-user-modify: read-only;" title="head" >
</DIV>
<DIV title="body" >
-<TABLE style="border: 1px dotted rgb(255, 102, 0); padding: 5px; width: 100%;" title="f:view" >
+<TABLE style="width: 100%; border: 1px dotted rgb(255, 102, 0); padding: 5px;" title="f:view" >
<TR title="f:view" >
<TD title="f:view" >
<DIV title="f:view" >
@@ -36,4 +36,6 @@
</TABLE>
</DIV>
</DIV>
+<IMG vpetemporarydndelement="true" id="dragIcon" src="file:////opt/jbdevstudio5.0.0.M3/studio/plugins/org.jboss.tools.vpe_3.3.0.v20110901-0136-H11-M3/ve/dragIcon.gif" style="display: none ! important; position: absolute; cursor: move;" >
+</IMG>
</BODY>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/preferences/ShowBorderForUnknownTag.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/preferences/ShowBorderForUnknownTag.xml 2011-09-06 16:20:53 UTC (rev 34547)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/preferences/ShowBorderForUnknownTag.xml 2011-09-06 16:35:29 UTC (rev 34548)
@@ -1,22 +1,22 @@
<BODY id="__content__area__" >
-<DIV style="-moz-user-modify: read-write;" >
+<DIV >
<DIV style="display: none; -moz-user-modify: read-only;" title="head" >
</DIV>
<DIV title="body" >
-<TABLE style="border: 1px dotted rgb(255, 102, 0); padding: 5px; width: 100%;" title="f:view" >
+<TABLE style="width: 100%; border: 1px dotted rgb(255, 102, 0); padding: 5px;" title="f:view" >
<TR title="f:view" >
<TD title="f:view" >
<DIV title="f:view" >
-<H1 style="border: 2px solid rgb(0, 0, 255) ! important; -moz-user-modify: read-write;" title="h1" oldstyle="-moz-user-modify: read-write;" >
+<H1 style="-moz-user-modify: read-write;" title="h1" >
<SPAN class="vpe-text" title="h:outputText value: #{Message.header}" >
Hello Demo Application
</SPAN>
</H1>
-<DIV style="border: 1px solid green; -moz-user-modify: read-only;" title="tagunknown" >
+<DIV style="-moz-user-modify: read-only; border: 1px solid green;" title="tagunknown" >
<DIV class="__any__tag__caption" style="" title="tagunknown" >
tagunknown
</DIV>
-<BR vpe:pseudo-element="yes" style="font-style: italic; color: green; -moz-user-modify: read-only;" >
+<BR style="font-style: italic; color: green; -moz-user-modify: read-only;" >
</BR>
</DIV>
<UL style="color: red; -moz-user-modify: read-only;" title="h:messages style: color: red" >
@@ -43,6 +43,6 @@
</TABLE>
</DIV>
</DIV>
-<IMG vpetemporarydndelement="true" id="dragIcon" src="file:////opt/jbdevstudio4.0.0.Beta2/studio/eclipse/plugins/org.jboss.tools.vpe_3.2.0.v201012070137R-H33-Beta2/ve/dragIcon.gif" style="position: absolute; cursor: move; left: 16px ! important; top: 17px ! important;" >
+<IMG vpetemporarydndelement="true" id="dragIcon" src="file:////opt/jbdevstudio5.0.0.M3/studio/plugins/org.jboss.tools.vpe_3.3.0.v20110901-0136-H11-M3/ve/dragIcon.gif" style="position: absolute; cursor: move; left: 16px ! important; top: 17px ! important;" >
</IMG>
</BODY>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/preferences/ShowNonVisualTags.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/preferences/ShowNonVisualTags.xml 2011-09-06 16:20:53 UTC (rev 34547)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/preferences/ShowNonVisualTags.xml 2011-09-06 16:35:29 UTC (rev 34548)
@@ -1,26 +1,26 @@
<BODY id="__content__area__" >
<SPAN >
-<SPAN style="border: 2px solid rgb(0, 0, 255) ! important; color: GREY; font-size: 12px;" oldstyle="border: 1px dashed GREY; color: GREY; font-size: 12px;" >
+<SPAN style="border: 1px dashed GREY; color: GREY; font-size: 12px;" >
jsp:directive.taglib
</SPAN>
-<BR vpe:pseudo-element="yes" style="font-style: italic; color: green; -moz-user-modify: read-only;" >
+<BR style="font-style: italic; color: green; -moz-user-modify: read-only;" >
</BR>
</SPAN>
<SPAN >
<SPAN style="border: 1px dashed GREY; color: GREY; font-size: 12px;" >
jsp:directive.taglib
</SPAN>
-<BR vpe:pseudo-element="yes" style="font-style: italic; color: green; -moz-user-modify: read-only;" >
+<BR style="font-style: italic; color: green; -moz-user-modify: read-only;" >
</BR>
</SPAN>
<SPAN >
<SPAN style="border: 1px dashed GREY; color: GREY; font-size: 12px;" title="f:loadBundle var: Message basename: demo.Messages" >
f:loadBundle
</SPAN>
-<BR vpe:pseudo-element="yes" style="font-style: italic; color: green; -moz-user-modify: read-only;" >
+<BR style="font-style: italic; color: green; -moz-user-modify: read-only;" >
</BR>
</SPAN>
-<DIV style="-moz-user-modify: read-write;" >
+<DIV >
<DIV style="display: none; -moz-user-modify: read-only;" title="head" >
<SPAN >
<SPAN style="border: 1px dashed GREY; color: GREY; font-size: 12px;" title="title" >
@@ -32,7 +32,7 @@
</SPAN>
</DIV>
<DIV title="body" >
-<TABLE style="border: 1px dotted rgb(255, 102, 0); padding: 5px; width: 100%;" title="f:view" >
+<TABLE style="width: 100%; border: 1px dotted rgb(255, 102, 0); padding: 5px;" title="f:view" >
<TR title="f:view" >
<TD title="f:view" >
<DIV title="f:view" >
@@ -47,7 +47,7 @@
Error Messages
</LI>
</UL>
-<BR vpe:pseudo-element="yes" style="font-style: italic; color: green; -moz-user-modify: read-only;" >
+<BR style="font-style: italic; color: green; -moz-user-modify: read-only;" >
</BR>
</SPAN>
<FORM style="border: 1px dotted rgb(255, 102, 0); padding: 5px;" title="h:form id: greetingForm" >
@@ -65,14 +65,14 @@
<SPAN style="border: 1px dashed GREY; color: GREY; font-size: 12px;" title="f:validateLength maximum: 30 minimum: 3" >
f:validateLength
</SPAN>
-<BR vpe:pseudo-element="yes" style="font-style: italic; color: green; -moz-user-modify: read-only;" >
+<BR style="font-style: italic; color: green; -moz-user-modify: read-only;" >
</BR>
</SPAN>
</SPAN>
<SPAN >
<INPUT type="button" title="h:commandButton action: hello value: Say Hello!" value="Say Hello!" style="-moz-user-modify: read-only;" >
</INPUT>
-<BR vpe:pseudo-element="yes" style="font-style: italic; color: green; -moz-user-modify: read-only;" >
+<BR style="font-style: italic; color: green; -moz-user-modify: read-only;" >
</BR>
</SPAN>
</FORM>
@@ -82,6 +82,6 @@
</TABLE>
</DIV>
</DIV>
-<IMG vpetemporarydndelement="true" id="dragIcon" src="file:////opt/jbdevstudio4.0.0.M2/studio/eclipse/plugins/org.jboss.tools.vpe_3.2.0.v201008232021N-H413-M2/ve/dragIcon.gif" style="position: absolute; cursor: move; left: 7px ! important; top: -14px ! important;" >
+<IMG vpetemporarydndelement="true" id="dragIcon" src="file:////opt/jbdevstudio5.0.0.M3/studio/plugins/org.jboss.tools.vpe_3.3.0.v20110901-0136-H11-M3/ve/dragIcon.gif" style="position: absolute; cursor: move; left: 7px ! important; top: -14px ! important;" >
</IMG>
</BODY>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/preferences/ShowResourceBundlesUsageasELExpressions.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/preferences/ShowResourceBundlesUsageasELExpressions.xml 2011-09-06 16:20:53 UTC (rev 34547)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/preferences/ShowResourceBundlesUsageasELExpressions.xml 2011-09-06 16:35:29 UTC (rev 34548)
@@ -1,9 +1,9 @@
<BODY id="__content__area__" >
-<DIV style="-moz-user-modify: read-write;" >
+<DIV >
<DIV style="display: none; -moz-user-modify: read-only;" title="head" >
</DIV>
<DIV title="body" >
-<TABLE style="border: 1px dotted rgb(255, 102, 0); padding: 5px; width: 100%;" title="f:view" >
+<TABLE style="width: 100%; border: 1px dotted rgb(255, 102, 0); padding: 5px;" title="f:view" >
<TR title="f:view" >
<TD title="f:view" >
<DIV title="f:view" >
@@ -36,4 +36,6 @@
</TABLE>
</DIV>
</DIV>
+<IMG vpetemporarydndelement="true" id="dragIcon" src="file:////opt/jbdevstudio5.0.0.M3/studio/plugins/org.jboss.tools.vpe_3.3.0.v20110901-0136-H11-M3/ve/dragIcon.gif" style="display: none ! important; position: absolute; cursor: move;" >
+</IMG>
</BODY>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/JspFileEditingTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/JspFileEditingTest.java 2011-09-06 16:20:53 UTC (rev 34547)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/JspFileEditingTest.java 2011-09-06 16:35:29 UTC (rev 34548)
@@ -66,8 +66,8 @@
// Check if tag h:outputText was properly added
String editorText = jspTextEditor.getText();
assertTrue("File " + TEST_PAGE
- + " has to contain string '<h:outputText/>' but it doesn't",
- editorText.contains("<h:outputText/>"));
+ + " has to contain string '<h:outputText>' but it doesn't",
+ editorText.contains("<h:outputText>"));
}
/**
@@ -96,7 +96,7 @@
botExt.toolbarButtonWithTooltip(IDELabel.Button.REFRESH).click();
botExt.sleep(Timing.time1S());
String editorText = jspTextEditor.getText();
- String testText = "<h:outputText value=\"" + outputTextValue + "\"/>";
+ String testText = "<h:outputText value=\"" + outputTextValue + "\">";
assertTrue("File " + TEST_PAGE + " has to contain string '" + testText
+ "' but it doesn't", editorText.contains(testText));
// Insert text via Visual Editor to inserted h:outputText tag
@@ -111,7 +111,7 @@
editorText = jspTextEditor.getText();
outputTextValue = outputTextValue.substring(0, 5) + insertString
+ outputTextValue.substring(5);
- testText = "<h:outputText value=\"" + outputTextValue + "\"/>";
+ testText = "<h:outputText value=\"" + outputTextValue + "\">";
assertTrue("File " + TEST_PAGE + " has to contain string '" + testText
+ "' but it doesn't", editorText.contains(testText));
jspTextEditor.close();
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/tags/PickListTagTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/tags/PickListTagTest.java 2011-09-06 16:20:53 UTC (rev 34547)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/tags/PickListTagTest.java 2011-09-06 16:35:29 UTC (rev 34548)
@@ -142,8 +142,8 @@
sbOptionTitle.append(" itemValue: 1 id: id1");
assertVisualEditorContains(getVisualEditor(),
"OPTION",
- new String[]{"title","style"},
- new String[]{sbOptionTitle.toString(),"border: 2px solid rgb(0, 0, 255) ! important;"},
+ new String[]{"title"},
+ new String[]{sbOptionTitle.toString()},
getTestPageFileName());
}
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/CodeCompletionTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/CodeCompletionTest.java 2011-09-06 16:20:53 UTC (rev 34547)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/CodeCompletionTest.java 2011-09-06 16:35:29 UTC (rev 34548)
@@ -89,6 +89,7 @@
private static List<String> getJspPageProposalList(){
LinkedList<String> result = new LinkedList<String>();
+ result.add("New JSF EL Expression - Create a new attribute value with ${}");
result.add("f:actionListener");
result.add("f:attribute");
result.add("f:convertDateTime");
14 years, 7 months