Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2013-02-02 21:32:22 +0000
committerStephan Herrmann2013-02-02 21:36:59 +0000
commit7f5938d651bb33dea1e7d1a9d3379c5e766a021f (patch)
tree86f0be740bc2b1df59334cc9552d96ed8cef5c1c /testplugins
parent4d9b750daf8a975bd03dc3148bc9e4af3268431b (diff)
downloadorg.eclipse.objectteams-7f5938d651bb33dea1e7d1a9d3379c5e766a021f.tar.gz
org.eclipse.objectteams-7f5938d651bb33dea1e7d1a9d3379c5e766a021f.tar.xz
org.eclipse.objectteams-7f5938d651bb33dea1e7d1a9d3379c5e766a021f.zip
- add newline between normal imports and base imports
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