From c1ef65311870d4a00307d8a35a19a86679106810 Mon Sep 17 00:00:00 2001 From: JohnHake Date: Fri, 3 Aug 2018 09:38:02 -0700 Subject: [PATCH] Reformat testData files to default IDE code style. Housekeeping changes to YourTest --- .../testData/before.template.after.java | 16 ++++++++-------- .../testData/before.template.java | 8 ++++---- .../testSource/testPlugin/YourTest.java | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/conditional_operator_intention/testData/before.template.after.java b/conditional_operator_intention/testData/before.template.after.java index 227866498..99e9f03d3 100644 --- a/conditional_operator_intention/testData/before.template.after.java +++ b/conditional_operator_intention/testData/before.template.after.java @@ -1,11 +1,11 @@ public class X { - void f(boolean isMale) { - String title; - if (isMale) { - title = "Mr."; - } else { - title = "Ms."; + void f(boolean isMale) { + String title; + if (isMale) { + title = "Mr."; + } else { + title = "Ms."; + } + System.out.println("title = " + title); } - System.out.println("title = " + title); - } } \ No newline at end of file diff --git a/conditional_operator_intention/testData/before.template.java b/conditional_operator_intention/testData/before.template.java index 7b3fcba70..9ee08cee3 100644 --- a/conditional_operator_intention/testData/before.template.java +++ b/conditional_operator_intention/testData/before.template.java @@ -1,6 +1,6 @@ public class X { - void f(boolean isMale) { - String title = isMale ? "Mr." : "Ms."; - System.out.println("title = " + title); - } + void f(boolean isMale) { + String title = isMale ? "Mr." : "Ms."; + System.out.println("title = " + title); + } } \ No newline at end of file diff --git a/conditional_operator_intention/testSource/testPlugin/YourTest.java b/conditional_operator_intention/testSource/testPlugin/YourTest.java index aa5021a53..5738e1d08 100644 --- a/conditional_operator_intention/testSource/testPlugin/YourTest.java +++ b/conditional_operator_intention/testSource/testPlugin/YourTest.java @@ -5,7 +5,6 @@ import com.intellij.openapi.application.PathManager; import com.intellij.testFramework.UsefulTestCase; import com.intellij.testFramework.builders.JavaModuleFixtureBuilder; import com.intellij.testFramework.fixtures.*; -import junit.framework.Assert; import org.junit.*; /** @@ -14,6 +13,7 @@ import org.junit.*; * Date: Sep 13, 2010 * Time: 9:35:50 PM * To change this template use File | Settings | File Templates. + * This test requires Editor > Code Style set to Default IDE */ public class YourTest extends UsefulTestCase {