Author: vpakan(a)redhat.com
Date: 2010-08-30 04:11:13 -0400 (Mon, 30 Aug 2010)
New Revision: 24543
Added:
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/test.properties
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/editor/BlockCommentTestLinesToggle.xml
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/editor/BlockCommentTestToggle.xml
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/editor/CommentTestUntoggle.xml
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/editor/ToggleCommentTestToggle.xml
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/resources/projectProperties.properties
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/TestDomUtil.java
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/XhtmlFilePerformanceTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/AlwaysHideSelectionBarWithoutPromptTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/ShowSelectionTagBarTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/XHTMLPageCreationTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/tools/SWTBotWebBrowser.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/wizard/ImportUnknownTagsWizardTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/wizard/VPESourceCodeTemplatesPreferencePageTest.java
Log:
Fixes for JBT 3.2.0.M2
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/editor/BlockCommentTestLinesToggle.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/editor/BlockCommentTestLinesToggle.xml 2010-08-29
12:49:11 UTC (rev 24542)
+++
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/editor/BlockCommentTestLinesToggle.xml 2010-08-30
08:11:13 UTC (rev 24543)
@@ -1,34 +1,33 @@
-<BODY ID="__content__area__">
-<DIV STYLE="-moz-user-modify: read-write;">
-<DIV STYLE="display: none; -moz-user-modify: read-only;">
-<H1 STYLE="-moz-user-modify: read-write;">
-Input User Name Page
-</H1>
+<BODY id="__content__area__" >
+<DIV style="-moz-user-modify: read-write;" >
+<DIV style="display: none; -moz-user-modify: read-only;"
title="head" >
</DIV>
-<DIV>
-<TABLE STYLE="border: 1px dotted rgb(255, 102, 0); padding: 5px; width:
100%;">
-<TR>
-<TD>
-<DIV>
-<H1 STYLE="-moz-user-modify: read-write;">
-<SPAN CLASS="vpe-text">
+<DIV title="body" >
+<TABLE style="border: 1px dotted rgb(255, 102, 0); padding: 5px; width:
100%;" 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}" >
Hello Demo Application
</SPAN>
</H1>
-<UL STYLE="color: red; -moz-user-modify: read-only;">
-<LI>
+<UL style="color: red; -moz-user-modify: read-only;" title="h:messages
style: color: red" >
+<LI title="h:messages style: color: red" >
Error Messages
</LI>
</UL>
-<FORM STYLE="border: 1px dotted rgb(255, 102, 0); padding: 5px;">
-<SPAN CLASS="vpe-text">
+<FORM style="border: 1px dotted rgb(255, 102, 0); padding: 5px;"
title="h:form id: greetingForm" >
+<SPAN class="vpe-text" title="h:outputText value:
#{Message.prompt_message}" >
Name:
</SPAN>
-<!--<h:inputText value="#{user.name}" required="true">
- <f:validateLength maximum="30" minimum="3"/>
- </h:inputText>-->
-<INPUT TYPE="button" VALUE="Say Hello!"
STYLE="-moz-user-modify: read-only;"/>
-
+<!--
+<h:inputText value="#{user.name}" required="true">
+ <f:validateLength maximum="30" minimum="3"/>
+ </h:inputText>
+ -->
+<INPUT type="button" title="h:commandButton action: hello value: Say
Hello!" value="Say Hello!" style="-moz-user-modify: read-only;"
>
+</INPUT>
</FORM>
</DIV>
</TD>
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/editor/BlockCommentTestToggle.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/editor/BlockCommentTestToggle.xml 2010-08-29
12:49:11 UTC (rev 24542)
+++
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/editor/BlockCommentTestToggle.xml 2010-08-30
08:11:13 UTC (rev 24543)
@@ -1,36 +1,33 @@
-<BODY ID="__content__area__">
-<DIV STYLE="-moz-user-modify: read-write;">
-<DIV STYLE="display: none; -moz-user-modify: read-only;">
-<H1 STYLE="-moz-user-modify: read-write;">
-Input User Name Page
-</H1>
+<BODY id="__content__area__" >
+<DIV style="-moz-user-modify: read-write;" >
+<DIV style="display: none; -moz-user-modify: read-only;"
title="head" >
</DIV>
-<DIV>
-<TABLE STYLE="border: 1px dotted rgb(255, 102, 0); padding: 5px; width:
100%;">
-<TR>
-<TD>
-<DIV>
-<H1 STYLE="-moz-user-modify: read-write;">
-<SPAN CLASS="vpe-text">
+<DIV title="body" >
+<TABLE style="border: 1px dotted rgb(255, 102, 0); padding: 5px; width:
100%;" 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}" >
Hello Demo Application
</SPAN>
</H1>
-<UL STYLE="color: red; -moz-user-modify: read-only;">
-<LI>
+<UL style="color: red; -moz-user-modify: read-only;" title="h:messages
style: color: red" >
+<LI title="h:messages style: color: red" >
Error Messages
</LI>
</UL>
-<FORM STYLE="border: 1px dotted rgb(255, 102, 0); padding: 5px;">
-<SPAN CLASS="vpe-text">
+<FORM style="border: 1px dotted rgb(255, 102, 0); padding: 5px;"
title="h:form id: greetingForm" >
+<SPAN class="vpe-text" title="h:outputText value:
#{Message.prompt_message}" >
Name:
</SPAN>
-<SPAN CLASS="vpe-text">
-<SPAN CLASS="vpe-text">
+<SPAN class="vpe-text" title="h:inputText value: #{user.name} required:
true" >
+<SPAN class="vpe-text" title="h:inputText value: #{user.name} required:
true" >
</SPAN>
-<INPUT VALUE="#{user.name}"/>
-
+<INPUT value="#{user.name}" title="h:inputText value: #{user.name}
required: true" >
+</INPUT>
</SPAN>
-<!--<h:commandButton action="hello" value="Say Hello!"
/>-->
+<!-- <h:commandButton action="hello" value="Say Hello!" />
-->
</FORM>
</DIV>
</TD>
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/editor/CommentTestUntoggle.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/editor/CommentTestUntoggle.xml 2010-08-29
12:49:11 UTC (rev 24542)
+++
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/editor/CommentTestUntoggle.xml 2010-08-30
08:11:13 UTC (rev 24543)
@@ -1,37 +1,34 @@
-<BODY ID="__content__area__">
-<DIV STYLE="-moz-user-modify: read-write;">
-<DIV STYLE="display: none; -moz-user-modify: read-only;">
-<H1 STYLE="-moz-user-modify: read-write;">
-Input User Name Page
-</H1>
+<BODY id="__content__area__" >
+<DIV style="-moz-user-modify: read-write;" >
+<DIV style="display: none; -moz-user-modify: read-only;"
title="head" >
</DIV>
-<DIV>
-<TABLE STYLE="border: 1px dotted rgb(255, 102, 0); padding: 5px; width:
100%;">
-<TR>
-<TD>
-<DIV>
-<H1 STYLE="-moz-user-modify: read-write;">
-<SPAN CLASS="vpe-text">
+<DIV title="body" >
+<TABLE style="border: 1px dotted rgb(255, 102, 0); padding: 5px; width:
100%;" 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}" >
Hello Demo Application
</SPAN>
</H1>
-<UL STYLE="color: red; -moz-user-modify: read-only;">
-<LI>
+<UL style="color: red; -moz-user-modify: read-only;" title="h:messages
style: color: red" >
+<LI title="h:messages style: color: red" >
Error Messages
</LI>
</UL>
-<FORM STYLE="border: 1px dotted rgb(255, 102, 0); padding: 5px;">
-<SPAN CLASS="vpe-text">
+<FORM style="border: 1px dotted rgb(255, 102, 0); padding: 5px;"
title="h:form id: greetingForm" >
+<SPAN class="vpe-text" title="h:outputText value:
#{Message.prompt_message}" >
Name:
</SPAN>
-<SPAN CLASS="vpe-text">
-<SPAN CLASS="vpe-text">
+<SPAN class="vpe-text" title="h:inputText value: #{user.name} required:
true" >
+<SPAN class="vpe-text" title="h:inputText value: #{user.name} required:
true" >
</SPAN>
-<INPUT VALUE="#{user.name}"/>
-
+<INPUT value="#{user.name}" title="h:inputText value: #{user.name}
required: true" >
+</INPUT>
</SPAN>
-<INPUT TYPE="button" VALUE="Say Hello!"
STYLE="-moz-user-modify: read-only;"/>
-
+<INPUT type="button" title="h:commandButton action: hello value: Say
Hello!" value="Say Hello!" style="-moz-user-modify: read-only;"
>
+</INPUT>
</FORM>
</DIV>
</TD>
@@ -39,4 +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="position: absolute; cursor: move; left: 260px ! important; top: 119px !
important;" >
+</IMG>
</BODY>
\ No newline at end of file
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/editor/ToggleCommentTestToggle.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/editor/ToggleCommentTestToggle.xml 2010-08-29
12:49:11 UTC (rev 24542)
+++
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/editor/ToggleCommentTestToggle.xml 2010-08-30
08:11:13 UTC (rev 24543)
@@ -1,36 +1,33 @@
-<BODY ID="__content__area__">
-<DIV STYLE="-moz-user-modify: read-write;">
-<DIV STYLE="display: none; -moz-user-modify: read-only;">
-<H1 STYLE="-moz-user-modify: read-write;">
-Input User Name Page
-</H1>
+<BODY id="__content__area__" >
+<DIV style="-moz-user-modify: read-write;" >
+<DIV style="display: none; -moz-user-modify: read-only;"
title="head" >
</DIV>
-<DIV>
-<TABLE STYLE="border: 1px dotted rgb(255, 102, 0); padding: 5px; width:
100%;">
-<TR>
-<TD>
-<DIV>
-<H1 STYLE="-moz-user-modify: read-write;">
-<SPAN CLASS="vpe-text">
+<DIV title="body" >
+<TABLE style="border: 1px dotted rgb(255, 102, 0); padding: 5px; width:
100%;" 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}" >
Hello Demo Application
</SPAN>
</H1>
-<UL STYLE="color: red; -moz-user-modify: read-only;">
-<LI>
+<UL style="color: red; -moz-user-modify: read-only;" title="h:messages
style: color: red" >
+<LI title="h:messages style: color: red" >
Error Messages
</LI>
</UL>
-<FORM STYLE="border: 1px dotted rgb(255, 102, 0); padding: 5px;">
-<SPAN CLASS="vpe-text">
+<FORM style="border: 1px dotted rgb(255, 102, 0); padding: 5px;"
title="h:form id: greetingForm" >
+<SPAN class="vpe-text" title="h:outputText value:
#{Message.prompt_message}" >
Name:
</SPAN>
-<SPAN CLASS="vpe-text">
-<SPAN CLASS="vpe-text">
+<SPAN class="vpe-text" title="h:inputText value: #{user.name} required:
true" >
+<SPAN class="vpe-text" title="h:inputText value: #{user.name} required:
true" >
</SPAN>
-<INPUT VALUE="#{user.name}"/>
-
+<INPUT value="#{user.name}" title="h:inputText value: #{user.name}
required: true" >
+</INPUT>
</SPAN>
-<!-- <h:commandButton action="hello" value="Say Hello!"
/>-->
+<!-- <h:commandButton action="hello" value="Say Hello!"
/> -->
</FORM>
</DIV>
</TD>
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 2010-08-29
12:49:11 UTC (rev 24542)
+++
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/pagedesign/AddSubstitutedELExpressionHelloPage.xml 2010-08-30
08:11:13 UTC (rev 24543)
@@ -1,27 +1,26 @@
-<BODY ID="__content__area__">
-<DIV STYLE="-moz-user-modify: read-write;">
-<DIV STYLE="display: none; -moz-user-modify: read-only;">
-<H1 STYLE="-moz-user-modify: read-write;">
-Hello!
-</H1>
+<BODY id="__content__area__" >
+<DIV style="-moz-user-modify: read-write;" >
+<DIV style="display: none; -moz-user-modify: read-only;"
title="head" >
</DIV>
-<DIV>
-<TABLE STYLE="border: 1px dotted rgb(255, 102, 0); padding: 5px; width:
100%;">
-<TR>
-<TD>
-<DIV>
-<H3 STYLE="-moz-user-modify: read-write;">
-<SPAN CLASS="vpe-text">
+<DIV title="body" >
+<TABLE style="border: 1px dotted rgb(255, 102, 0); padding: 5px; width:
100%;" title="f:view" >
+<TR title="f:view" >
+<TD title="f:view" >
+<DIV title="f:view" >
+<H3 style="-moz-user-modify: read-write;" title="h3" >
+<SPAN class="vpe-text" title="h:outputText value:
#{Message.hello_message}" >
Hello
</SPAN>
-<SPAN CLASS="vpe-text">
+<SPAN class="vpe-text" >
,
+
</SPAN>
-<SPAN CLASS="vpe-text">
+<SPAN class="vpe-text" title="h:outputText value: #{user.name}"
>
Any Name
</SPAN>
-<SPAN CLASS="vpe-text">
+<SPAN class="vpe-text" >
!
+
</SPAN>
</H3>
</DIV>
@@ -30,4 +29,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>
</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 2010-08-29
12:49:11 UTC (rev 24542)
+++
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/pagedesign/AddSubstitutedELExpressionTestPage.xml 2010-08-30
08:11:13 UTC (rev 24543)
@@ -1,37 +1,34 @@
-<BODY ID="__content__area__">
-<DIV STYLE="-moz-user-modify: read-write;">
-<DIV STYLE="display: none; -moz-user-modify: read-only;">
-<H1 STYLE="-moz-user-modify: read-write;">
-Input User Name Page
-</H1>
+<BODY id="__content__area__" >
+<DIV style="-moz-user-modify: read-write;" >
+<DIV style="display: none; -moz-user-modify: read-only;"
title="head" >
</DIV>
-<DIV>
-<TABLE STYLE="border: 1px dotted rgb(255, 102, 0); padding: 5px; width:
100%;">
-<TR>
-<TD>
-<DIV>
-<H1 STYLE="-moz-user-modify: read-write;">
-<SPAN CLASS="vpe-text">
+<DIV title="body" >
+<TABLE style="border: 1px dotted rgb(255, 102, 0); padding: 5px; width:
100%;" 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}" >
Hello Demo Application
</SPAN>
</H1>
-<UL STYLE="color: red; -moz-user-modify: read-only;">
-<LI>
+<UL style="color: red; -moz-user-modify: read-only;" title="h:messages
style: color: red" >
+<LI title="h:messages style: color: red" >
Error Messages
</LI>
</UL>
-<FORM STYLE="border: 1px dotted rgb(255, 102, 0); padding: 5px;">
-<SPAN CLASS="vpe-text">
+<FORM style="border: 1px dotted rgb(255, 102, 0); padding: 5px;"
title="h:form id: greetingForm" >
+<SPAN class="vpe-text" title="h:outputText value:
#{Message.prompt_message}" >
Name:
</SPAN>
-<SPAN CLASS="vpe-text">
-<SPAN CLASS="vpe-text">
+<SPAN class="vpe-text" title="h:inputText value: #{user.name} required:
true" >
+<SPAN class="vpe-text" title="h:inputText value: #{user.name} required:
true" >
</SPAN>
-<INPUT VALUE="Any Name"/>
-
+<INPUT value="Any Name" title="h:inputText value: #{user.name}
required: true" >
+</INPUT>
</SPAN>
-<INPUT TYPE="button" VALUE="Say Hello!"
STYLE="-moz-user-modify: read-only;"/>
-
+<INPUT type="button" title="h:commandButton action: hello value: Say
Hello!" value="Say Hello!" style="-moz-user-modify: read-only;"
>
+</INPUT>
</FORM>
</DIV>
</TD>
@@ -39,4 +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>
</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 2010-08-29
12:49:11 UTC (rev 24542)
+++
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/pagedesign/RemoveSubstitutedELExpressionHelloPage.xml 2010-08-30
08:11:13 UTC (rev 24543)
@@ -1,27 +1,27 @@
-<BODY ID="__content__area__">
-<DIV STYLE="-moz-user-modify: read-write;">
-<DIV STYLE="display: none; -moz-user-modify: read-only;">
-<H1 STYLE="-moz-user-modify: read-write;">
-Hello!
-</H1>
+<BODY id="__content__area__" >
+<DIV style="-moz-user-modify: read-write;" >
+<DIV style="display: none; -moz-user-modify: read-only;"
title="head" >
</DIV>
-<DIV>
-<TABLE STYLE="border: 1px dotted rgb(255, 102, 0); padding: 5px; width:
100%;">
-<TR>
-<TD>
-<DIV>
-<H3 STYLE="-moz-user-modify: read-write;">
-<SPAN CLASS="vpe-text">
+<DIV title="body" >
+<TABLE style="border: 1px dotted rgb(255, 102, 0); padding: 5px; width:
100%;" title="f:view" >
+<TR title="f:view" >
+<TD title="f:view" >
+<DIV title="f:view" >
+<H3 style="-moz-user-modify: read-write;" title="h3" >
+<SPAN class="vpe-text" title="h:outputText value:
#{Message.hello_message}" >
Hello
</SPAN>
-<SPAN CLASS="vpe-text">
+<SPAN class="vpe-text" >
,
+
</SPAN>
-<SPAN CLASS="vpe-text">
+<SPAN class="vpe-text" title="h:outputText value: #{user.name}"
>
#{user.name}
</SPAN>
-<SPAN CLASS="vpe-text">
+<SPAN class="vpe-text" >
+
!
+
</SPAN>
</H3>
</DIV>
@@ -30,4 +30,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>
</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 2010-08-29
12:49:11 UTC (rev 24542)
+++
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/pagedesign/RemoveSubstitutedELExpressionTestPage.xml 2010-08-30
08:11:13 UTC (rev 24543)
@@ -1,37 +1,34 @@
-<BODY ID="__content__area__">
-<DIV STYLE="-moz-user-modify: read-write;">
-<DIV STYLE="display: none; -moz-user-modify: read-only;">
-<H1 STYLE="-moz-user-modify: read-write;">
-Input User Name Page
-</H1>
+<BODY id="__content__area__" >
+<DIV style="-moz-user-modify: read-write;" >
+<DIV style="display: none; -moz-user-modify: read-only;"
title="head" >
</DIV>
-<DIV>
-<TABLE STYLE="border: 1px dotted rgb(255, 102, 0); padding: 5px; width:
100%;">
-<TR>
-<TD>
-<DIV>
-<H1 STYLE="-moz-user-modify: read-write;">
-<SPAN CLASS="vpe-text">
+<DIV title="body" >
+<TABLE style="border: 1px dotted rgb(255, 102, 0); padding: 5px; width:
100%;" 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}" >
Hello Demo Application
</SPAN>
</H1>
-<UL STYLE="color: red; -moz-user-modify: read-only;">
-<LI>
+<UL style="color: red; -moz-user-modify: read-only;" title="h:messages
style: color: red" >
+<LI title="h:messages style: color: red" >
Error Messages
</LI>
</UL>
-<FORM STYLE="border: 1px dotted rgb(255, 102, 0); padding: 5px;">
-<SPAN CLASS="vpe-text">
+<FORM style="border: 1px dotted rgb(255, 102, 0); padding: 5px;"
title="h:form id: greetingForm" >
+<SPAN class="vpe-text" title="h:outputText value:
#{Message.prompt_message}" >
Name:
</SPAN>
-<SPAN CLASS="vpe-text">
-<SPAN CLASS="vpe-text">
+<SPAN class="vpe-text" title="h:inputText value: #{user.name} required:
true" >
+<SPAN class="vpe-text" title="h:inputText value: #{user.name} required:
true" >
</SPAN>
-<INPUT VALUE="#{user.name}"/>
-
+<INPUT value="#{user.name}" title="h:inputText value: #{user.name}
required: true" >
+</INPUT>
</SPAN>
-<INPUT TYPE="button" VALUE="Say Hello!"
STYLE="-moz-user-modify: read-only;"/>
-
+<INPUT type="button" title="h:commandButton action: hello value: Say
Hello!" value="Say Hello!" style="-moz-user-modify: read-only;"
>
+</INPUT>
</FORM>
</DIV>
</TD>
@@ -39,4 +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>
</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 2010-08-29
12:49:11 UTC (rev 24542)
+++
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/preferences/DumpedTestPage.xml 2010-08-30
08:11:13 UTC (rev 24543)
@@ -1,37 +1,34 @@
-<BODY ID="__content__area__">
-<DIV STYLE="-moz-user-modify: read-write;">
-<DIV STYLE="display: none; -moz-user-modify: read-only;">
-<H1 STYLE="-moz-user-modify: read-write;">
-Input User Name Page
-</H1>
+<BODY id="__content__area__" >
+<DIV style="-moz-user-modify: read-write;" >
+<DIV style="display: none; -moz-user-modify: read-only;"
title="head" >
</DIV>
-<DIV>
-<TABLE STYLE="border: 1px dotted rgb(255, 102, 0); padding: 5px; width:
100%;">
-<TR>
-<TD>
-<DIV>
-<H1 STYLE="-moz-user-modify: read-write;" >
-<SPAN CLASS="vpe-text">
+<DIV title="body" >
+<TABLE style="border: 1px dotted rgb(255, 102, 0); padding: 5px; width:
100%;" 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}" >
Hello Demo Application
</SPAN>
</H1>
-<UL STYLE="color: red; -moz-user-modify: read-only;">
-<LI>
+<UL style="color: red; -moz-user-modify: read-only;" title="h:messages
style: color: red" >
+<LI title="h:messages style: color: red" >
Error Messages
</LI>
</UL>
-<FORM STYLE="border: 1px dotted rgb(255, 102, 0); padding: 5px;">
-<SPAN CLASS="vpe-text">
+<FORM style="border: 1px dotted rgb(255, 102, 0); padding: 5px;"
title="h:form id: greetingForm" >
+<SPAN class="vpe-text" title="h:outputText value:
#{Message.prompt_message}" >
Name:
</SPAN>
-<SPAN CLASS="vpe-text">
-<SPAN CLASS="vpe-text">
+<SPAN class="vpe-text" title="h:inputText value: #{user.name} required:
true" >
+<SPAN class="vpe-text" title="h:inputText value: #{user.name} required:
true" >
</SPAN>
-<INPUT VALUE="#{user.name}"/>
-
+<INPUT value="#{user.name}" title="h:inputText value: #{user.name}
required: true" >
+</INPUT>
</SPAN>
-<INPUT TYPE="button" VALUE="Say Hello!"
STYLE="-moz-user-modify: read-only;"/>
-
+<INPUT type="button" title="h:commandButton action: hello value: Say
Hello!" value="Say Hello!" style="-moz-user-modify: read-only;"
>
+</INPUT>
</FORM>
</DIV>
</TD>
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 2010-08-29
12:49:11 UTC (rev 24542)
+++
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/preferences/HideBorderForUnknownTag.xml 2010-08-30
08:11:13 UTC (rev 24543)
@@ -1,41 +1,39 @@
-<BODY ID="__content__area__">
-<DIV STYLE="-moz-user-modify: read-write;">
-<DIV STYLE="display: none; -moz-user-modify: read-only;">
-<H1 STYLE="-moz-user-modify: read-write;">
-Input User Name Page
-</H1>
+<BODY id="__content__area__" >
+<DIV style="-moz-user-modify: read-write;" >
+<DIV style="display: none; -moz-user-modify: read-only;"
title="head" >
</DIV>
-<DIV>
-<TABLE STYLE="border: 1px dotted rgb(255, 102, 0); padding: 5px; width:
100%;">
-<TR>
-<TD>
-<DIV>
-<H1 STYLE="-moz-user-modify: read-write;">
-<SPAN CLASS="vpe-text">
+<DIV title="body" >
+<TABLE style="border: 1px dotted rgb(255, 102, 0); padding: 5px; width:
100%;" 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}" >
Hello Demo Application
</SPAN>
</H1>
-<DIV CLASS="__any__tag__caption" STYLE="-moz-user-modify:
read-only;">
-tagunknown<BR VPE:PSEUDO-ELEMENT="yes" STYLE="font-style: italic;
color: green; -moz-user-modify: read-only;"/>
-
+<DIV class="__any__tag__caption" style="-moz-user-modify:
read-only;" title="tagunknown" >
+tagunknown
+<BR style="font-style: italic; color: green; -moz-user-modify: read-only;"
>
+</BR>
</DIV>
-<UL STYLE="color: red; -moz-user-modify: read-only;">
-<LI>
+<UL style="color: red; -moz-user-modify: read-only;" title="h:messages
style: color: red" >
+<LI title="h:messages style: color: red" >
Error Messages
</LI>
</UL>
-<FORM STYLE="border: 1px dotted rgb(255, 102, 0); padding: 5px;">
-<SPAN CLASS="vpe-text">
+<FORM style="border: 1px dotted rgb(255, 102, 0); padding: 5px;"
title="h:form id: greetingForm" >
+<SPAN class="vpe-text" title="h:outputText value:
#{Message.prompt_message}" >
Name:
</SPAN>
-<SPAN CLASS="vpe-text">
-<SPAN CLASS="vpe-text">
+<SPAN class="vpe-text" title="h:inputText value: #{user.name} required:
true" >
+<SPAN class="vpe-text" title="h:inputText value: #{user.name} required:
true" >
</SPAN>
-<INPUT VALUE="#{user.name}"/>
-
+<INPUT value="#{user.name}" title="h:inputText value: #{user.name}
required: true" >
+</INPUT>
</SPAN>
-<INPUT TYPE="button" VALUE="Say Hello!"
STYLE="-moz-user-modify: read-only;"/>
-
+<INPUT type="button" title="h:commandButton action: hello value: Say
Hello!" value="Say Hello!" style="-moz-user-modify: read-only;"
>
+</INPUT>
</FORM>
</DIV>
</TD>
@@ -43,4 +41,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: 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 2010-08-29
12:49:11 UTC (rev 24542)
+++
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/preferences/HideResourceBundlesUsageasELExpressions.xml 2010-08-30
08:11:13 UTC (rev 24543)
@@ -1,37 +1,34 @@
-<BODY ID="__content__area__">
-<DIV STYLE="-moz-user-modify: read-write;">
-<DIV STYLE="display: none; -moz-user-modify: read-only;">
-<H1 STYLE="-moz-user-modify: read-write;">
-Input User Name Page
-</H1>
+<BODY id="__content__area__" >
+<DIV style="-moz-user-modify: read-write;" >
+<DIV style="display: none; -moz-user-modify: read-only;"
title="head" >
</DIV>
-<DIV>
-<TABLE STYLE="border: 1px dotted rgb(255, 102, 0); padding: 5px; width:
100%;">
-<TR>
-<TD>
-<DIV>
-<H1 STYLE="-moz-user-modify: read-write;">
-<SPAN CLASS="vpe-text">
+<DIV title="body" >
+<TABLE style="border: 1px dotted rgb(255, 102, 0); padding: 5px; width:
100%;" 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}" >
Hello Demo Application
</SPAN>
</H1>
-<UL STYLE="color: red; -moz-user-modify: read-only;">
-<LI>
+<UL style="color: red; -moz-user-modify: read-only;" title="h:messages
style: color: red" >
+<LI title="h:messages style: color: red" >
Error Messages
</LI>
</UL>
-<FORM STYLE="border: 1px dotted rgb(255, 102, 0); padding: 5px;">
-<SPAN CLASS="vpe-text">
+<FORM style="border: 1px dotted rgb(255, 102, 0); padding: 5px;"
title="h:form id: greetingForm" >
+<SPAN class="vpe-text" title="h:outputText value:
#{Message.prompt_message}" >
Name:
</SPAN>
-<SPAN CLASS="vpe-text">
-<SPAN CLASS="vpe-text">
+<SPAN class="vpe-text" title="h:inputText value: #{user.name} required:
true" >
+<SPAN class="vpe-text" title="h:inputText value: #{user.name} required:
true" >
</SPAN>
-<INPUT VALUE="#{user.name}"/>
-
+<INPUT value="#{user.name}" title="h:inputText value: #{user.name}
required: true" >
+</INPUT>
</SPAN>
-<INPUT TYPE="button" VALUE="Say Hello!"
STYLE="-moz-user-modify: read-only;"/>
-
+<INPUT type="button" title="h:commandButton action: hello value: Say
Hello!" value="Say Hello!" style="-moz-user-modify: read-only;"
>
+</INPUT>
</FORM>
</DIV>
</TD>
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 2010-08-29
12:49:11 UTC (rev 24542)
+++
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/preferences/ShowBorderForUnknownTag.xml 2010-08-30
08:11:13 UTC (rev 24543)
@@ -1,41 +1,39 @@
-<BODY ID="__content__area__">
-<DIV STYLE="-moz-user-modify: read-write;">
-<DIV STYLE="display: none; -moz-user-modify: read-only;">
-<H1 STYLE="-moz-user-modify: read-write;">
-Input User Name Page
-</H1>
+<BODY id="__content__area__" >
+<DIV style="-moz-user-modify: read-write;" >
+<DIV style="display: none; -moz-user-modify: read-only;"
title="head" >
</DIV>
-<DIV>
-<TABLE STYLE="border: 1px dotted rgb(255, 102, 0); padding: 5px; width:
100%;">
-<TR>
-<TD>
-<DIV>
-<H1 STYLE="-moz-user-modify: read-write;">
-<SPAN CLASS="vpe-text">
+<DIV title="body" >
+<TABLE style="border: 1px dotted rgb(255, 102, 0); padding: 5px; width:
100%;" 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}" >
Hello Demo Application
</SPAN>
</H1>
-<DIV CLASS="__any__tag__caption" STYLE="border: 1px solid green;
-moz-user-modify: read-only;">
-tagunknown<BR VPE:PSEUDO-ELEMENT="yes" STYLE="font-style: italic;
color: green; -moz-user-modify: read-only;"/>
-
+<DIV class="__any__tag__caption" style="border: 1px solid green;
-moz-user-modify: read-only;" title="tagunknown" >
+tagunknown
+<BR style="font-style: italic; color: green; -moz-user-modify: read-only;"
>
+</BR>
</DIV>
-<UL STYLE="color: red; -moz-user-modify: read-only;">
-<LI>
+<UL style="color: red; -moz-user-modify: read-only;" title="h:messages
style: color: red" >
+<LI title="h:messages style: color: red" >
Error Messages
</LI>
</UL>
-<FORM STYLE="border: 1px dotted rgb(255, 102, 0); padding: 5px;">
-<SPAN CLASS="vpe-text">
+<FORM style="border: 1px dotted rgb(255, 102, 0); padding: 5px;"
title="h:form id: greetingForm" >
+<SPAN class="vpe-text" title="h:outputText value:
#{Message.prompt_message}" >
Name:
</SPAN>
-<SPAN CLASS="vpe-text">
-<SPAN CLASS="vpe-text">
+<SPAN class="vpe-text" title="h:inputText value: #{user.name} required:
true" >
+<SPAN class="vpe-text" title="h:inputText value: #{user.name} required:
true" >
</SPAN>
-<INPUT VALUE="#{user.name}"/>
-
+<INPUT value="#{user.name}" title="h:inputText value: #{user.name}
required: true" >
+</INPUT>
</SPAN>
-<INPUT TYPE="button" VALUE="Say Hello!"
STYLE="-moz-user-modify: read-only;"/>
-
+<INPUT type="button" title="h:commandButton action: hello value: Say
Hello!" value="Say Hello!" style="-moz-user-modify: read-only;"
>
+</INPUT>
</FORM>
</DIV>
</TD>
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 2010-08-29
12:49:11 UTC (rev 24542)
+++
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/preferences/ShowNonVisualTags.xml 2010-08-30
08:11:13 UTC (rev 24543)
@@ -1,74 +1,80 @@
-<BODY ID="__content__area__">
-<SPAN>
-<SPAN STYLE="border: 1px dashed GREY; color: GREY; font-size: 12px;">
+<BODY id="__content__area__" >
+<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;"/>
-
</SPAN>
-<SPAN>
-<SPAN STYLE="border: 1px dashed GREY; color: GREY; font-size: 12px;">
+<BR vpe:pseudo-element="yes" 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;"/>
-
</SPAN>
-<SPAN>
-<SPAN STYLE="border: 1px dashed GREY; color: GREY; font-size: 12px;">
+<BR vpe:pseudo-element="yes" 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;"/>
-
</SPAN>
-<DIV STYLE="-moz-user-modify: read-write;">
-<DIV STYLE="display: none; -moz-user-modify: read-only;">
-<SPAN>
-<H1 STYLE="-moz-user-modify: read-write;">
+<BR vpe:pseudo-element="yes" style="font-style: italic; color: green;
-moz-user-modify: read-only;" >
+</BR>
+</SPAN>
+<DIV style="-moz-user-modify: read-write;" >
+<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" >
+title
+</SPAN>
+<SPAN class="vpe-text" >
Input User Name Page
-</H1>
-<SPAN CLASS="vpe-text">
-Input User Name Page
</SPAN>
</SPAN>
</DIV>
-<DIV>
-<TABLE STYLE="border: 1px dotted rgb(255, 102, 0); padding: 5px; width:
100%;">
-<TR>
-<TD>
-<DIV>
-<H1 STYLE="-moz-user-modify: read-write;">
-<SPAN CLASS="vpe-text">
+<DIV title="body" >
+<TABLE style="border: 1px dotted rgb(255, 102, 0); padding: 5px; width:
100%;" 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}" >
Hello Demo Application
</SPAN>
</H1>
-<SPAN>
-<UL STYLE="color: red; -moz-user-modify: read-only;">
-<LI>
+<SPAN >
+<UL style="color: red; -moz-user-modify: read-only;" title="h:messages
style: color: red" >
+<LI title="h:messages style: color: red" >
Error Messages
</LI>
-</UL><BR VPE:PSEUDO-ELEMENT="yes" STYLE="font-style: italic;
color: green; -moz-user-modify: read-only;"/>
-
+</UL>
+<BR vpe:pseudo-element="yes" style="font-style: italic; color: green;
-moz-user-modify: read-only;" >
+</BR>
</SPAN>
-<FORM STYLE="border: 1px dotted rgb(255, 102, 0); padding: 5px;">
-<SPAN CLASS="vpe-text">
+<FORM style="border: 1px dotted rgb(255, 102, 0); padding: 5px;"
title="h:form id: greetingForm" >
+<SPAN class="vpe-text" title="h:outputText value:
#{Message.prompt_message}" >
Name:
</SPAN>
-<SPAN>
-<SPAN CLASS="vpe-text">
-<SPAN CLASS="vpe-text">
+<SPAN >
+<SPAN class="vpe-text" title="h:inputText value: #{user.name} required:
true" >
+<SPAN class="vpe-text" title="h:inputText value: #{user.name} required:
true" >
</SPAN>
-<INPUT VALUE="#{user.name}"/>
-
+<INPUT value="#{user.name}" title="h:inputText value: #{user.name}
required: true" >
+</INPUT>
</SPAN>
-<SPAN>
-<SPAN STYLE="border: 1px dashed GREY; color: GREY; font-size: 12px;">
+<SPAN >
+<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;"/>
-
</SPAN>
+<BR vpe:pseudo-element="yes" style="font-style: italic; color: green;
-moz-user-modify: read-only;" >
+</BR>
</SPAN>
-<SPAN>
-<INPUT TYPE="button" VALUE="Say Hello!"
STYLE="-moz-user-modify: read-only;"/>
-<BR VPE:PSEUDO-ELEMENT="yes" STYLE="font-style: italic; color: green;
-moz-user-modify: read-only;"/>
-
</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>
+</SPAN>
</FORM>
</DIV>
</TD>
@@ -76,4 +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>
</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 2010-08-29
12:49:11 UTC (rev 24542)
+++
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/preferences/ShowResourceBundlesUsageasELExpressions.xml 2010-08-30
08:11:13 UTC (rev 24543)
@@ -1,37 +1,34 @@
-<BODY ID="__content__area__">
-<DIV STYLE="-moz-user-modify: read-write;">
-<DIV STYLE="display: none; -moz-user-modify: read-only;">
-<H1 STYLE="-moz-user-modify: read-write;">
-Input User Name Page
-</H1>
+<BODY id="__content__area__" >
+<DIV style="-moz-user-modify: read-write;" >
+<DIV style="display: none; -moz-user-modify: read-only;"
title="head" >
</DIV>
-<DIV>
-<TABLE STYLE="border: 1px dotted rgb(255, 102, 0); padding: 5px; width:
100%;">
-<TR>
-<TD>
-<DIV>
-<H1 STYLE="-moz-user-modify: read-write;">
-<SPAN CLASS="vpe-text">
+<DIV title="body" >
+<TABLE style="border: 1px dotted rgb(255, 102, 0); padding: 5px; width:
100%;" 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}" >
#{Message.header}
</SPAN>
</H1>
-<UL STYLE="color: red; -moz-user-modify: read-only;">
-<LI>
+<UL style="color: red; -moz-user-modify: read-only;" title="h:messages
style: color: red" >
+<LI title="h:messages style: color: red" >
Error Messages
</LI>
</UL>
-<FORM STYLE="border: 1px dotted rgb(255, 102, 0); padding: 5px;">
-<SPAN CLASS="vpe-text">
+<FORM style="border: 1px dotted rgb(255, 102, 0); padding: 5px;"
title="h:form id: greetingForm" >
+<SPAN class="vpe-text" title="h:outputText value:
#{Message.prompt_message}" >
#{Message.prompt_message}
</SPAN>
-<SPAN CLASS="vpe-text">
-<SPAN CLASS="vpe-text">
+<SPAN class="vpe-text" title="h:inputText value: #{user.name} required:
true" >
+<SPAN class="vpe-text" title="h:inputText value: #{user.name} required:
true" >
</SPAN>
-<INPUT VALUE="#{user.name}"/>
-
+<INPUT value="#{user.name}" title="h:inputText value: #{user.name}
required: true" >
+</INPUT>
</SPAN>
-<INPUT TYPE="button" VALUE="Say Hello!"
STYLE="-moz-user-modify: read-only;"/>
-
+<INPUT type="button" title="h:commandButton action: hello value: Say
Hello!" value="Say Hello!" style="-moz-user-modify: read-only;"
>
+</INPUT>
</FORM>
</DIV>
</TD>
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/projectProperties.properties
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/projectProperties.properties 2010-08-29
12:49:11 UTC (rev 24542)
+++
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/projectProperties.properties 2010-08-30
08:11:13 UTC (rev 24543)
@@ -1,4 +1,4 @@
JSFProjectName=JBIDETestProject
FaceletsProjectName=FaceletsTestProject
Apachev6.0=D\:/Java/apache-tomcat-6.0.18
-JBossEap4.3=${jbosstools.test.jboss.home}
\ No newline at end of file
+JBossEap5.0=/opt/jbdevstudio4.0.0.M2/jboss-eap/jboss-as
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/test.properties
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/test.properties
(rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/test.properties 2010-08-30
08:11:13 UTC (rev 24543)
@@ -0,0 +1,2 @@
+
+Input=Input
Property changes on:
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/resources/test.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/TestDomUtil.java
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/TestDomUtil.java 2010-08-29
12:49:11 UTC (rev 24542)
+++
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/TestDomUtil.java 2010-08-30
08:11:13 UTC (rev 24543)
@@ -138,18 +138,23 @@
}
if ("#comment".equals(vpeNode.getNodeName())){ //$NON-NLS-1$
- String vpeNodeValue = vpeNode.getNodeValue();
+ String vpeNodeValue = vpeNode.getNodeValue().trim();
try {
- vpeNodeValue = clearStringFromRSymbols(vpeNodeValue);
+ vpeNodeValue =
clearStringFromSpecSymbol("\t",clearStringFromSpecSymbol("\r",vpeNodeValue));
} catch (Exception e) {
}
- if ((modelNode.getNodeValue() != null)
- && (!modelNode.getNodeValue().trim().equalsIgnoreCase(
- vpeNodeValue.trim()))) {
- throw new ComparisonException("value of " + vpeNode.getNodeName()
//$NON-NLS-1$
- + " is \"" + vpeNodeValue.trim() //$NON-NLS-1$
- + "\" but must be \"" + modelNode.getNodeValue().trim()
//$NON-NLS-1$
- + "\""); //$NON-NLS-1$
+ if (modelNode.getNodeValue() != null){
+ String modelNodeValue = modelNode.getNodeValue().trim();
+ try {
+ modelNodeValue =
clearStringFromSpecSymbol("\t",clearStringFromSpecSymbol("\r" ,
modelNodeValue));
+ } catch (Exception e) {
+ }
+ if (!modelNodeValue.equalsIgnoreCase(vpeNodeValue)) {
+ throw new ComparisonException("value of " + vpeNode.getNodeName()
//$NON-NLS-1$
+ + " is\n\"" + vpeNodeValue //$NON-NLS-1$
+ + "\" but must be\n\"" + modelNodeValue //$NON-NLS-1$
+ + "\""); //$NON-NLS-1$
+ }
}
} else {
if ((modelNode.getNodeValue() != null)
@@ -163,9 +168,18 @@
}
// compare node's attributes
if (modelNode.getNodeType() == Node.ELEMENT_NODE) {
-
- compareAttributes(modelNode.getAttributes(), vpeNode
- .getAttributes());
+ boolean attrVpetemporarydndelementFound = false;
+ if (modelNode.getNodeName().equalsIgnoreCase("IMG")){
+ NamedNodeMap attrMap = modelNode.getAttributes();
+ for (int index = 0 ; (!attrVpetemporarydndelementFound) && (index <
attrMap.getLength()) ; index++){
+ if
(((Attr)attrMap.item(index)).getName().equalsIgnoreCase("vpetemporarydndelement")){
+ attrVpetemporarydndelementFound = true;
+ }
+ }
+ }
+ if (!attrVpetemporarydndelementFound){
+ compareAttributes(modelNode.getAttributes(), vpeNode.getAttributes());
+ }
}
// compare children
@@ -301,14 +315,19 @@
}
}
-
- private static String clearStringFromRSymbols(String string){
- int index = string.indexOf("\r"); //$NON-NLS-1$
+ /**
+ * Clear string from special symbol
+ * @param symbol
+ * @param string
+ * @return
+ */
+ private static String clearStringFromSpecSymbol(String symbol,String string){
+ int index = string.indexOf(symbol); //$NON-NLS-1$
while (index!=-1) {
String stringAfterSymbol = string.substring(index+1);
String stringBeforeSymbol = string.substring(0,index);
string = stringBeforeSymbol.concat(stringAfterSymbol);
- index = string.indexOf("\r"); //$NON-NLS-1$
+ index = string.indexOf(symbol); //$NON-NLS-1$
}
return string;
}
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 2010-08-29
12:49:11 UTC (rev 24542)
+++
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/JspFileEditingTest.java 2010-08-30
08:11:13 UTC (rev 24543)
@@ -101,7 +101,7 @@
+ "' but it doesn't", editorText.contains(testText));
// Insert text via Visual Editor to inserted h:outputText tag
node = swtBotWebBrowser.getDomNodeByTagName(
- swtBotWebBrowser.getNsIDOMDocument(), "#text", 6);
+ swtBotWebBrowser.getNsIDOMDocument(), "#text", 5);
botExt.sleep(Timing.time2S());
swtBotWebBrowser.selectDomNode(node, 5);
String insertString = "ab9876CD";
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/XhtmlFilePerformanceTest.java
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/XhtmlFilePerformanceTest.java 2010-08-29
12:49:11 UTC (rev 24542)
+++
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/XhtmlFilePerformanceTest.java 2010-08-30
08:11:13 UTC (rev 24543)
@@ -68,7 +68,7 @@
} catch (InterruptedException e) {
// Ignore
}
-
+ multiPageEditor.selectPage(IDELabel.VisualPageEditor.VISUAL_SOURCE_TAB_LABEL);
assertTrue("Web Browser has to contain text " + insertText + " but it
doesn't.",swtBotWebBrowserExt.containsNodeWithValue(swtBotWebBrowserExt.getNsIDOMDocument(),
insertText));
xhtmlTextEditor.close();
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/AlwaysHideSelectionBarWithoutPromptTest.java
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/AlwaysHideSelectionBarWithoutPromptTest.java 2010-08-29
12:49:11 UTC (rev 24542)
+++
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/AlwaysHideSelectionBarWithoutPromptTest.java 2010-08-30
08:11:13 UTC (rev 24543)
@@ -41,11 +41,12 @@
closePage();
openPage();
- checkIsShow();
+ checkIsHide();
//Test Hide Selection Bar button with confirm
selectPrompt();
+ selectSelection();
bot.toolbarButtonWithTooltip(HID_SEL_BAR).click();
bot.shell("Confirm hide selection bar").activate();
bot.button(IDELabel.Button.OK).click();
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/ShowSelectionTagBarTest.java
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/ShowSelectionTagBarTest.java 2010-08-29
12:49:11 UTC (rev 24542)
+++
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/ShowSelectionTagBarTest.java 2010-08-30
08:11:13 UTC (rev 24543)
@@ -41,7 +41,7 @@
closePage();
openPage();
- checkIsShow();
+ checkIsHide();
}
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/XHTMLPageCreationTest.java
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/XHTMLPageCreationTest.java 2010-08-29
12:49:11 UTC (rev 24542)
+++
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/XHTMLPageCreationTest.java 2010-08-30
08:11:13 UTC (rev 24543)
@@ -13,6 +13,7 @@
import org.eclipse.swtbot.swt.finder.SWTBot;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem;
+import org.jboss.tools.ui.bot.ext.Timing;
import org.jboss.tools.ui.bot.ext.gen.ActionItem;
import org.jboss.tools.ui.bot.ext.types.IDELabel;
import org.jboss.tools.ui.bot.test.WidgetVariables;
@@ -64,7 +65,8 @@
bot.checkBox(IDELabel.NewXHTMLFileDialog.USE_XHTML_TEMPLATE_CHECK_BOX).select();
bot.table().select(IDELabel.NewXHTMLFileDialog.TEMPLATE_FACELET_FORM_XHTML_NAME);
bot.button(IDELabel.Button.FINISH).click();
-
+ webContentTreeItem.expand();
+ bot.sleep(Timing.time1S());
SWTBotTreeItem xhtmlTestPageTreeItem =
webContentTreeItem.getNode(TEST_NEW_XHTML_FILE_NAME);
String checkResult =
CheckFileChangesSaving.checkIt(bot,bot.editorByTitle(TEST_NEW_XHTML_FILE_NAME).toTextEditor(),
tree, xhtmlTestPageTreeItem,
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/tools/SWTBotWebBrowser.java
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/tools/SWTBotWebBrowser.java 2010-08-29
12:49:11 UTC (rev 24542)
+++
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/tools/SWTBotWebBrowser.java 2010-08-30
08:11:13 UTC (rev 24543)
@@ -114,7 +114,7 @@
* @param node
* @param depth
*/
- private static void displayNsIDOMNode(nsIDOMNode node , int depth) {
+ public static void displayNsIDOMNode(nsIDOMNode node , int depth) {
System.out.println("");
System.out.print(fillString(' ', depth) + "<" +
node.getNodeName() + " ");
@@ -123,7 +123,7 @@
nsIDOMNamedNodeMap modelAttributes = node.getAttributes();
for (int i = 0; i < modelAttributes.getLength(); i++) {
nsIDOMNode modelAttr = modelAttributes.item(i);
- System.out.print(modelAttr.getNodeName() + "=" +
modelAttr.getNodeValue().replaceAll("\n", "") + " ");
+ System.out.print(modelAttr.getNodeName() + "=\"" +
modelAttr.getNodeValue().replaceAll("\n", " ") + "\"
");
}
}
System.out.println(">");
@@ -145,7 +145,7 @@
displayNsIDOMNode(child, depth + 2);
}
- System.out.println(fillString(' ', depth) + "<" +
node.getNodeName() + "/>");
+ System.out.println(fillString(' ', depth) + "</" +
node.getNodeName() + ">");
}
/**
* Displays complete browser DOM
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/wizard/ImportUnknownTagsWizardTest.java
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/wizard/ImportUnknownTagsWizardTest.java 2010-08-29
12:49:11 UTC (rev 24542)
+++
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/wizard/ImportUnknownTagsWizardTest.java 2010-08-30
08:11:13 UTC (rev 24543)
@@ -79,8 +79,8 @@
String taglib00 = bot.table().cell(0, 0);
String taglib10 = bot.table().cell(1, 0);
bot.button(WidgetVariables.OK_BUTTON).click();
+ assertEquals("Wrong table value.", "taglibName:tagName",
taglib10); //$NON-NLS-1$ //$NON-NLS-2$
assertEquals("Wrong table value.", "lib:tag", taglib00);
//$NON-NLS-1$ //$NON-NLS-2$
- assertEquals("Wrong table value.", "taglibName:tagName",
taglib10); //$NON-NLS-1$ //$NON-NLS-2$
}
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/wizard/VPESourceCodeTemplatesPreferencePageTest.java
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/wizard/VPESourceCodeTemplatesPreferencePageTest.java 2010-08-29
12:49:11 UTC (rev 24542)
+++
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/wizard/VPESourceCodeTemplatesPreferencePageTest.java 2010-08-30
08:11:13 UTC (rev 24543)
@@ -36,7 +36,7 @@
.expandNode(IDELabel.PreferencesDialog.JBOSS_TOOLS_WEB_EDITORS_VPE).select();
//$NON-NLS-1$
bot.tabItem(IDELabel.PreferencesDialog.JBOSS_TOOLS_WEB_EDITORS_VPE_VISUAL_TEMPLATES).activate();
//$NON-NLS-1$
try{
- this.bot.button(IDELabel.Button.ADD_WITHOUT_DOTS).click(); //$NON-NLS-1$
+ this.bot.button(IDELabel.Button.ADD).click(); //$NON-NLS-1$
this.bot.button(IDELabel.Button.CANCEL).click(); //$NON-NLS-1$
} catch(WidgetNotFoundException ex){
fail("Preference Page has not been created"+ex);//$NON-NLS-1$