mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-29 09:47:50 +08:00
Reformat testData files to default IDE code style. Housekeeping changes to YourTest
This commit is contained in:
parent
441cea6a76
commit
c1ef653118
@ -1,11 +1,11 @@
|
|||||||
public class X {
|
public class X {
|
||||||
void f(boolean isMale) {
|
void f(boolean isMale) {
|
||||||
String title;
|
String title;
|
||||||
if (isMale) {
|
if (isMale) {
|
||||||
title = "Mr.";
|
title = "Mr.";
|
||||||
} else {
|
} else {
|
||||||
title = "Ms.";
|
title = "Ms.";
|
||||||
|
}
|
||||||
|
System.out.println("title = " + title);
|
||||||
}
|
}
|
||||||
System.out.println("title = " + title);
|
|
||||||
}
|
|
||||||
}
|
}
|
@ -1,6 +1,6 @@
|
|||||||
public class X {
|
public class X {
|
||||||
void f(boolean isMale) {
|
void f(boolean isMale) {
|
||||||
String title = isMale <caret>? "Mr." : "Ms.";
|
String title = isMale <caret>? "Mr." : "Ms.";
|
||||||
System.out.println("title = " + title);
|
System.out.println("title = " + title);
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -5,7 +5,6 @@ import com.intellij.openapi.application.PathManager;
|
|||||||
import com.intellij.testFramework.UsefulTestCase;
|
import com.intellij.testFramework.UsefulTestCase;
|
||||||
import com.intellij.testFramework.builders.JavaModuleFixtureBuilder;
|
import com.intellij.testFramework.builders.JavaModuleFixtureBuilder;
|
||||||
import com.intellij.testFramework.fixtures.*;
|
import com.intellij.testFramework.fixtures.*;
|
||||||
import junit.framework.Assert;
|
|
||||||
import org.junit.*;
|
import org.junit.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -14,6 +13,7 @@ import org.junit.*;
|
|||||||
* Date: Sep 13, 2010
|
* Date: Sep 13, 2010
|
||||||
* Time: 9:35:50 PM
|
* Time: 9:35:50 PM
|
||||||
* To change this template use File | Settings | File Templates.
|
* To change this template use File | Settings | File Templates.
|
||||||
|
* This test requires Editor > Code Style set to Default IDE
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class YourTest extends UsefulTestCase {
|
public class YourTest extends UsefulTestCase {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user