Author: scabanovich
Date: 2011-10-26 16:16:28 -0400 (Wed, 26 Oct 2011)
New Revision: 36022
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/jsp/ca/test/CAJsfMessagesProposalsTest.java
Log:
JBIDE-10021
https://issues.jboss.org/browse/JBIDE-10021
Cosmetic changes in the test.
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/jsp/ca/test/CAJsfMessagesProposalsTest.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/jsp/ca/test/CAJsfMessagesProposalsTest.java 2011-10-26
19:59:22 UTC (rev 36021)
+++
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/jsp/ca/test/CAJsfMessagesProposalsTest.java 2011-10-26
20:16:28 UTC (rev 36022)
@@ -25,9 +25,9 @@
import org.jboss.tools.test.util.ProjectImportTestSetup;
/**
- * The JUnit test cases for
https://issues.jboss.org/browse/JBIDE-9414 issue
+ * The JUnit test cases for
https://issues.jboss.org/browse/JBIDE-10021 issue
*
- * @author Victor V. Rubezhny
+ * @author Viacheslav Kabanovich
*
*/
public class CAJsfMessagesProposalsTest extends ContentAssistantTestCase {
@@ -47,7 +47,7 @@
return new TestSuite(CAJsfMessagesProposalsTest.class);
}
- private void doTestLongResourceBundlePropertyNames(String tagName, String prefix, String
proposalToApply, String compareString) {
+ private void doMessagesInLocalizedBundles(String tagName, String prefix, String
proposalToApply, String compareString) {
String documentContent = document.get();
int start = (documentContent == null ? -1 : documentContent.indexOf(tagName));
assertFalse("Required node '" + tagName + "' not found in
document", (start == -1));
@@ -77,12 +77,12 @@
}
- public void testJstJspLongResourceBundlePropertyNamesInTagAttributeValue() {
+ public void testMessagesInLocalizedBundles() {
assertNotNull("Test project '" + PROJECT_NAME + "' is not
prepared", project);
openEditor(PAGE_NAME);
try {
- doTestLongResourceBundlePropertyNames(TAG_STRING, PREFIX_STRING,
PROPOSAL_TO_APPLY_STRING, COMPARE_STRING);
+ doMessagesInLocalizedBundles(TAG_STRING, PREFIX_STRING, PROPOSAL_TO_APPLY_STRING,
COMPARE_STRING);
} finally {
closeEditor();
}