mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 10:20:15 +07:00
more java tests moved to community
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
// "Add on demand static import for 'test.Bar'" "true"
|
||||
package test;
|
||||
|
||||
import static test.Bar.*;
|
||||
|
||||
class Bar {
|
||||
public static final void f() {}
|
||||
}
|
||||
public class Foo {
|
||||
public static final void f(int i) {}
|
||||
|
||||
{
|
||||
<caret>Bar.f(); // invoke 'add on demand static import' for Bar class here. The call is now done to other method.
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
// "Add on demand static import for 'test.Bar'" "true"
|
||||
package test;
|
||||
|
||||
import static test.Bar.*;
|
||||
|
||||
class Bar {
|
||||
public static final void f() {
|
||||
}
|
||||
}
|
||||
|
||||
public class Foo {
|
||||
{
|
||||
f(); // invoke 'add on demand static import' for Bar class here. The call is now done to other method.
|
||||
}
|
||||
|
||||
static class D {
|
||||
public static final void f(int i) {
|
||||
}
|
||||
|
||||
{
|
||||
Bar.f(); // invoke 'add on demand static import' for Bar class here. The call is now done to other method.
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
f(); // invoke 'add on demand static import' for Bar class here. The call is now done to other method.
|
||||
}
|
||||
|
||||
{
|
||||
f(); // invoke 'add on demand static import' for Bar class here. The call is now done to other method.
|
||||
}
|
||||
|
||||
{
|
||||
f(); // invoke 'add on demand static import' for Bar class here. The call is now done to other method.
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
// "Add on demand static import for 'test.Bar'" "false"
|
||||
package test;
|
||||
import static test.Bar.*;
|
||||
|
||||
class Bar {
|
||||
public static final void f() {}
|
||||
}
|
||||
public class Foo {
|
||||
public static final void f(int i) {}
|
||||
|
||||
{
|
||||
<caret>Bar.f(); // invoke 'add on demand static import' for Bar class here. The call is now done to other method.
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
// "Add on demand static import for 'test.Bar'" "true"
|
||||
package test;
|
||||
|
||||
class Bar {
|
||||
public static final void f() {}
|
||||
}
|
||||
public class Foo {
|
||||
public static final void f(int i) {}
|
||||
|
||||
{
|
||||
<caret>Bar.f(); // invoke 'add on demand static import' for Bar class here. The call is now done to other method.
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
// "Add on demand static import for 'test.Bar'" "true"
|
||||
package test;
|
||||
|
||||
class Bar {
|
||||
public static final void f() {
|
||||
}
|
||||
}
|
||||
|
||||
public class Foo {
|
||||
{
|
||||
Bar.f(); // invoke 'add on demand static import' for Bar class here. The call is now done to other method.
|
||||
}
|
||||
|
||||
static class D {
|
||||
public static final void f(int i) {
|
||||
}
|
||||
|
||||
{
|
||||
Bar.f(); // invoke 'add on demand static import' for Bar class here. The call is now done to other method.
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
Bar.f(); // invoke 'add on demand static import' for Bar class here. The call is now done to other method.
|
||||
}
|
||||
|
||||
{
|
||||
Bar.f(); // invoke 'add on demand static import' for Bar class here. The call is now done to other method.
|
||||
}
|
||||
|
||||
{
|
||||
<caret>Bar.f(); // invoke 'add on demand static import' for Bar class here. The call is now done to other method.
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user