Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2011-03-31 01:32:31 -0400
committerSergey Prigogin2011-03-31 01:32:31 -0400
commit101bcadce5495a3b15ace8231e492ec84dd3a4d2 (patch)
treeac82ce3f005882f1abffbd818f5ad97d5b0d5327 /core/org.eclipse.cdt.ui.tests
parentdd6f20db8604f06a7b1a657c89b75ff36f01a918 (diff)
downloadorg.eclipse.cdt-101bcadce5495a3b15ace8231e492ec84dd3a4d2.tar.gz
org.eclipse.cdt-101bcadce5495a3b15ace8231e492ec84dd3a4d2.tar.xz
org.eclipse.cdt-101bcadce5495a3b15ace8231e492ec84dd3a4d2.zip
Line breaking in 'if' statements.
Diffstat (limited to 'core/org.eclipse.cdt.ui.tests')
-rw-r--r--core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/CodeFormatterTest.java10
1 files changed, 8 insertions, 2 deletions
diff --git a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/CodeFormatterTest.java b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/CodeFormatterTest.java
index e7f96a1124..01e3334a72 100644
--- a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/CodeFormatterTest.java
+++ b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/CodeFormatterTest.java
@@ -239,15 +239,21 @@ public class CodeFormatterTest extends BaseUITestCase {
}
//void test() {
- //if (1000000 + 2000000 < 3000000 + 4000000 && 5000000 + 6000000 <= 7000000) {}
- //if (1000000 + 2000000 < 3000000 + 4000000 && 5000000 + 6000000 <= 70000000) {}
+ //if (1000000 + 2000000 < 3000000 + 4000000 && 5000000 + 6000000 <= 7000000) {
+ // // comment
+ //}
+ //if (1000000 + 2000000 < 3000000 + 4000000 && 5000000 + 6000000 <= 70000000) {
+ // // comment
+ //}
//}
//void test() {
// if (1000000 + 2000000 < 3000000 + 4000000 && 5000000 + 6000000 <= 7000000) {
+ // // comment
// }
// if (1000000 + 2000000 < 3000000 + 4000000
// && 5000000 + 6000000 <= 70000000) {
+ // // comment
// }
//}
public void testIfStatement() throws Exception {

Back to the top