Author: vpakan(a)redhat.com
Date: 2011-02-22 13:42:59 -0500 (Tue, 22 Feb 2011)
New Revision: 29267
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/tags/FileUploadTagTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/tags/InplaceSelectInputTagTest.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/editor/tags/ProgressTagTest.java
Log:
Fix wrong assert message
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/tags/FileUploadTagTest.java
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/tags/FileUploadTagTest.java 2011-02-22
18:05:19 UTC (rev 29266)
+++
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/tags/FileUploadTagTest.java 2011-02-22
18:42:59 UTC (rev 29267)
@@ -85,7 +85,7 @@
"\nbut it is '" + selectedText + "'",
selectedText.trim().startsWith(hasToStartWith));
final String hasEndWith = "</rich:fileUpload>";
- assertTrue("Selected text in Source Pane has to end with '" +
hasToStartWith + "'" +
+ assertTrue("Selected text in Source Pane has to end with '" +
hasEndWith + "'" +
"\nbut it is '" + selectedText + "'",
selectedText.trim().endsWith(hasEndWith));
}
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/tags/InplaceSelectInputTagTest.java
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/tags/InplaceSelectInputTagTest.java 2011-02-22
18:05:19 UTC (rev 29266)
+++
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/tags/InplaceSelectInputTagTest.java 2011-02-22
18:42:59 UTC (rev 29267)
@@ -60,7 +60,7 @@
"\nbut it is '" + selectedText + "'",
selectedText.trim().startsWith(hasToStartWith));
final String hasEndWith = "</rich:inplaceSelect>";
- assertTrue("Selected text in Source Pane has to end with '" +
hasToStartWith + "'" +
+ assertTrue("Selected text in Source Pane has to end with '" +
hasEndWith + "'" +
"\nbut it is '" + selectedText + "'",
selectedText.trim().endsWith(hasEndWith));
// Click on tag and check correct tag displaying
@@ -85,7 +85,7 @@
assertTrue("Selected text in Source Pane has to start with '" +
hasToStartWith + "'" +
"\nbut it is '" + selectedText + "'",
selectedText.trim().startsWith(hasToStartWith));
- assertTrue("Selected text in Source Pane has to end with '" +
hasToStartWith + "'" +
+ assertTrue("Selected text in Source Pane has to end with '" +
hasEndWith + "'" +
"\nbut it is '" + selectedText + "'",
selectedText.trim().endsWith(hasEndWith));
}
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-02-22
18:05:19 UTC (rev 29266)
+++
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/tags/PickListTagTest.java 2011-02-22
18:42:59 UTC (rev 29267)
@@ -117,7 +117,7 @@
"\nbut it is '" + selectedText + "'",
selectedText.trim().startsWith(hasToStartWith));
String hasEndWith = "</rich:pickList>";
- assertTrue("Selected text in Source Pane has to end with '" +
hasToStartWith + "'" +
+ assertTrue("Selected text in Source Pane has to end with '" +
hasEndWith + "'" +
"\nbut it is '" + selectedText + "'",
selectedText.trim().endsWith(hasEndWith));
// select first item in VPE
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/tags/ProgressTagTest.java
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/tags/ProgressTagTest.java 2011-02-22
18:05:19 UTC (rev 29266)
+++
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/tags/ProgressTagTest.java 2011-02-22
18:42:59 UTC (rev 29267)
@@ -52,7 +52,7 @@
"\nbut it is '" + selectedText + "'",
selectedText.trim().startsWith(hasToStartWith));
final String hasEndWith = "</rich:progressBar>";
- assertTrue("Selected text in Source Pane has to end with '" +
hasToStartWith + "'" +
+ assertTrue("Selected text in Source Pane has to end with '" +
hasEndWith + "'" +
"\nbut it is '" + selectedText + "'",
selectedText.trim().endsWith(hasEndWith));
}
Show replies by date