mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
moving tests from codeInsight-tests to community
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
class X {
|
||||
String usedToOpenInProjectView2 = "/java/lang<caret>";
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import java.lang.String;
|
||||
|
||||
class X {
|
||||
X(int i){}
|
||||
X(String s){}
|
||||
{
|
||||
new <caret>X();
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
class X {
|
||||
{
|
||||
String[] arg = new Stri<caret>ng[1];
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
class SomeClass {
|
||||
public static final Object OBJECT_OVERRIDDEN = new Object() {
|
||||
public String toString() {
|
||||
return "";
|
||||
}
|
||||
};
|
||||
|
||||
public String get() {
|
||||
return OBJECT_OVERRIDDEN.to<caret>String();
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
class SomeClass {
|
||||
public static final Object OBJECT_OVERRIDDEN = new Object() {
|
||||
public String <caret>toString() {
|
||||
return "";
|
||||
}
|
||||
};
|
||||
|
||||
public String get() {
|
||||
return OBJECT_OVERRIDDEN.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
class Test{
|
||||
{
|
||||
while(true){
|
||||
foo();
|
||||
<caret>break;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
class Test{
|
||||
void foo() {
|
||||
Label:
|
||||
for ( ; ; ) {
|
||||
<caret>break;
|
||||
}
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
class Test{
|
||||
void foo() {
|
||||
Label:
|
||||
for ( ; ; ) {
|
||||
break;
|
||||
}<caret>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
class Test{
|
||||
{
|
||||
Label:
|
||||
while(true){
|
||||
foo();
|
||||
break <caret>Label;
|
||||
}
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
class Test{
|
||||
{
|
||||
<caret>Label:
|
||||
while(true){
|
||||
foo();
|
||||
break Label;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
class Test{
|
||||
{
|
||||
while(true){
|
||||
foo();
|
||||
break;
|
||||
}<caret>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
class Test{
|
||||
{
|
||||
while(true){
|
||||
foo();
|
||||
<caret>continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
class Test{
|
||||
{
|
||||
Label:
|
||||
while(true){
|
||||
foo();
|
||||
continue <caret>Label;
|
||||
}
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
class Test{
|
||||
{
|
||||
<caret>Label:
|
||||
while(true){
|
||||
foo();
|
||||
continue Label;
|
||||
}
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
class Test{
|
||||
{
|
||||
<caret>while(true){
|
||||
foo();
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user