Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'testplugins')
-rw-r--r--testplugins/org.eclipse.objectteams.otdt.ui.tests/src/org/eclipse/objectteams/otdt/ui/tests/core/CodeCompletionTest.java1
-rw-r--r--testplugins/org.eclipse.objectteams.otdt.ui.tests/src/org/eclipse/objectteams/otdt/ui/tests/core/OrganizeImportsTest.java2
2 files changed, 3 insertions, 0 deletions
diff --git a/testplugins/org.eclipse.objectteams.otdt.ui.tests/src/org/eclipse/objectteams/otdt/ui/tests/core/CodeCompletionTest.java b/testplugins/org.eclipse.objectteams.otdt.ui.tests/src/org/eclipse/objectteams/otdt/ui/tests/core/CodeCompletionTest.java
index e430d6728..cdfd99ae9 100644
--- a/testplugins/org.eclipse.objectteams.otdt.ui.tests/src/org/eclipse/objectteams/otdt/ui/tests/core/CodeCompletionTest.java
+++ b/testplugins/org.eclipse.objectteams.otdt.ui.tests/src/org/eclipse/objectteams/otdt/ui/tests/core/CodeCompletionTest.java
@@ -362,6 +362,7 @@ public class CodeCompletionTest extends CoreTests {
StringBuffer expectedContent = new StringBuffer();
expectedContent.append("package test1;\n");
expectedContent.append("import test1.p1.SuperTeam;\n");
+ expectedContent.append("\n");
expectedContent.append("import base test1.p1.ABase;\n");
expectedContent.append("public team class Completion_testCreateCalloutOverride1 extends SuperTeam {\n");
expectedContent.append(" protected class MyRole playedBy ABase {\n");
diff --git a/testplugins/org.eclipse.objectteams.otdt.ui.tests/src/org/eclipse/objectteams/otdt/ui/tests/core/OrganizeImportsTest.java b/testplugins/org.eclipse.objectteams.otdt.ui.tests/src/org/eclipse/objectteams/otdt/ui/tests/core/OrganizeImportsTest.java
index 6f18b7084..05011bb7b 100644
--- a/testplugins/org.eclipse.objectteams.otdt.ui.tests/src/org/eclipse/objectteams/otdt/ui/tests/core/OrganizeImportsTest.java
+++ b/testplugins/org.eclipse.objectteams.otdt.ui.tests/src/org/eclipse/objectteams/otdt/ui/tests/core/OrganizeImportsTest.java
@@ -704,6 +704,7 @@ public class OrganizeImportsTest extends TestCase
buf = new StringBuffer();
buf.append("package teamPkg;\n");
buf.append("import static java.lang.Math.max;\n");
+ buf.append("\n");
buf.append("import base basePkg.B1;\n");
buf.append("public team class T1 {\n");
buf.append(" public class R1 playedBy B1 when (max(1,2)==2) {\n");
@@ -757,6 +758,7 @@ public class OrganizeImportsTest extends TestCase
buf = new StringBuffer();
buf.append("package teamPkg;\n");
buf.append("import static java.lang.Math.max;\n");
+ buf.append("\n");
buf.append("import base basePkg.B1;\n");
buf.append("public team class T1 {\n");
buf.append(" public class R1 playedBy B1 {\n");

Back to the top