summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjpadilla2013-08-15 10:26:37 (EDT)
committer Chris Jaun2013-08-21 14:27:11 (EDT)
commit57c5350ba96ed08268b2d066bfde3ee3a70733f3 (patch)
tree1651fb5623d927c9715ce09a8f6ea08b05d9817a
parent657bda17239c03295608733e8a356cb2bb78b84a (diff)
downloadwebtools.jsdt.tests-57c5350ba96ed08268b2d066bfde3ee3a70733f3.zip
webtools.jsdt.tests-57c5350ba96ed08268b2d066bfde3ee3a70733f3.tar.gz
webtools.jsdt.tests-57c5350ba96ed08268b2d066bfde3ee3a70733f3.tar.bz2
Corrects build failure caused by jUnits delivered with bug 315660.v201308211905v201308201905
-rw-r--r--tests/org.eclipse.wst.jsdt.ui.tests/src/org/eclipse/wst/jsdt/ui/tests/contentassist/NestedWithinParenthesesTests.java10
-rw-r--r--tests/org.eclipse.wst.jsdt.ui.tests/testresources/ContentAssist/root/validateTest_315660_3.js8
2 files changed, 9 insertions, 9 deletions
diff --git a/tests/org.eclipse.wst.jsdt.ui.tests/src/org/eclipse/wst/jsdt/ui/tests/contentassist/NestedWithinParenthesesTests.java b/tests/org.eclipse.wst.jsdt.ui.tests/src/org/eclipse/wst/jsdt/ui/tests/contentassist/NestedWithinParenthesesTests.java
index 241be27..0839625 100644
--- a/tests/org.eclipse.wst.jsdt.ui.tests/src/org/eclipse/wst/jsdt/ui/tests/contentassist/NestedWithinParenthesesTests.java
+++ b/tests/org.eclipse.wst.jsdt.ui.tests/src/org/eclipse/wst/jsdt/ui/tests/contentassist/NestedWithinParenthesesTests.java
@@ -105,15 +105,15 @@ public class NestedWithinParenthesesTests extends TestCase {
public void testInsertToEditor_315660_3() throws Exception {
String expectedResult =
- "var data1;\n"+
- "var data2;\n"+
+ "var myData1;\n"+
+ "var myData2;\n"+
"(\n"+
- " // data\n"+
+ " // myData\n"+
" (\n"+
- " data1 \n"+
+ " myData1 \n"+
" )\n"+
");";
- ContentAssistTestUtilities.runProposalandInertTest(fTestProjectSetup, "validateTest_315660_3.js", 5, 10, expectedResult);
+ ContentAssistTestUtilities.runProposalandInertTest(fTestProjectSetup, "validateTest_315660_3.js", 5, 12, expectedResult);
}
public void testInsertToEditor_315660_4() throws Exception {
diff --git a/tests/org.eclipse.wst.jsdt.ui.tests/testresources/ContentAssist/root/validateTest_315660_3.js b/tests/org.eclipse.wst.jsdt.ui.tests/testresources/ContentAssist/root/validateTest_315660_3.js
index 33e0c31..907fbc6 100644
--- a/tests/org.eclipse.wst.jsdt.ui.tests/testresources/ContentAssist/root/validateTest_315660_3.js
+++ b/tests/org.eclipse.wst.jsdt.ui.tests/testresources/ContentAssist/root/validateTest_315660_3.js
@@ -1,8 +1,8 @@
-var data1;
-var data2;
+var myData1;
+var myData2;
(
- // data
+ // myData
(
- da
+ myDa
)
); \ No newline at end of file