mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Moved formatter tests from idea-tests to java-tests
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
|
||||
public class Foo {
|
||||
public void foo() {
|
||||
abc = x +
|
||||
2;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
|
||||
public class Foo {
|
||||
public void foo() {
|
||||
abc = x
|
||||
+ 2;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
|
||||
public class Foo {
|
||||
public void foo() {
|
||||
abc = x
|
||||
+ 2;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
public class Foo {
|
||||
public void foo() {
|
||||
abc = x +
|
||||
2;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
|
||||
public class Foo {
|
||||
public void foo() {
|
||||
x += 2;
|
||||
}
|
||||
|
||||
public static class Inner {
|
||||
public void bar() {
|
||||
y += 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
|
||||
public class Foo {
|
||||
public void foo() {
|
||||
x += 2;
|
||||
}
|
||||
|
||||
public static class Inner {
|
||||
public void bar() {
|
||||
y += 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
|
||||
public class Foo implements
|
||||
Seralizable,
|
||||
Throwable,
|
||||
Cloneable {
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
|
||||
public class Foo implements Seralizable,
|
||||
Throwable,
|
||||
Cloneable {
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
|
||||
public class Foo implements Seralizable,
|
||||
Throwable,
|
||||
Cloneable {
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
|
||||
public class Foo implements
|
||||
Seralizable,
|
||||
Throwable,
|
||||
Cloneable {
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
public class foo {
|
||||
{
|
||||
abc = (a +
|
||||
b
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
public class foo {
|
||||
{
|
||||
abc = (a +
|
||||
b
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
public class foo {
|
||||
{
|
||||
abc = (
|
||||
a + b
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
|
||||
public class foo {
|
||||
{
|
||||
abc = (
|
||||
a + b);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
|
||||
public class foo {
|
||||
{
|
||||
abc = (
|
||||
a + b);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
public class foo {
|
||||
{
|
||||
abc = (
|
||||
a + b
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
class Foo { // comment here
|
||||
int a;
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
|
||||
class Foo { // comment here
|
||||
int a;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
public class Foo {
|
||||
public void foo() {
|
||||
abcd = x ?
|
||||
2 :
|
||||
3;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
public class Foo {
|
||||
public void foo() {
|
||||
abc = x
|
||||
? 2
|
||||
: 3;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
public class Foo {
|
||||
public void foo() {
|
||||
abc = x
|
||||
? 2
|
||||
: 3;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
public class Foo {
|
||||
public void foo() {
|
||||
abcd = x ?
|
||||
2 :
|
||||
3;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user