VariablesCompletionTest -> community

This commit is contained in:
peter
2009-10-15 19:04:17 +01:00
parent 5b6d7557a1
commit 98e865fe67
37 changed files with 525 additions and 0 deletions
@@ -0,0 +1,3 @@
interface Abc {
String[] getStrings<caret>
}
@@ -0,0 +1,3 @@
interface Abc {
String[] get<caret>
}
@@ -0,0 +1,4 @@
class Zloboglas{}
class A{
Zloboglas zloboglas<caret>
}
@@ -0,0 +1,4 @@
class Zloboglas{}
class A{
Zloboglas z<caret>
}
@@ -0,0 +1,4 @@
class Zloboglas{}
class A{
Zloboglas myZloboglas<caret>
}
@@ -0,0 +1,4 @@
class Zloboglas{}
class A{
Zloboglas my<caret>
}
@@ -0,0 +1,7 @@
class Zloboglas{}
class B {
private Zloboglas myZloboglas;
}
class A extends B {
private Zloboglas myZloboglas<caret>
}
@@ -0,0 +1,7 @@
class Zloboglas{}
class B {
private Zloboglas myZloboglas;
}
class A extends B {
private Zloboglas my<caret>
}
@@ -0,0 +1,5 @@
class TestSource1{
public void foo(){
java.awt.event.InputMethodEvent i<caret>
}
}
@@ -0,0 +1,5 @@
class TestSource1{
public void foo(){
java.awt.event.InputMethodEvent inputMethodEvent<caret>
}
}
@@ -0,0 +1,5 @@
class TestSource1{
public void foo(){
Object ob<caret>
}
}
@@ -0,0 +1,5 @@
class TestSource1{
public void foo(){
Object object<caret>
}
}
@@ -0,0 +1,5 @@
class TestSource1{
public void foo(){
String st<caret>
}
}
@@ -0,0 +1,5 @@
class TestSource1{
public void foo(){
String string<caret>
}
}
@@ -0,0 +1,19 @@
package codeInsight.completion.variables.locals;
/**
* Created by IntelliJ IDEA.
* User: igork
* Date: Nov 25, 2002
* Time: 3:10:08 PM
* To change this template use Options | File Templates.
*/
public class TestSource9 {
private int aField;
public void foo() {
Runnable r = new Runnable() {
public void run() {
int x = aF<caret>;
}
};
}
}
@@ -0,0 +1,19 @@
package codeInsight.completion.variables.locals;
/**
* Created by IntelliJ IDEA.
* User: igork
* Date: Nov 25, 2002
* Time: 3:10:08 PM
* To change this template use Options | File Templates.
*/
public class TestSource9 {
private int aField;
public void foo() {
Runnable r = new Runnable() {
public void run() {
int x = aField<caret>;
}
};
}
}
@@ -0,0 +1,5 @@
class TestSource1{
public void foo(){
int abc = 0, bac = abc<caret>
}
}
@@ -0,0 +1,15 @@
package codeInsight.completion.variables.locals;
/**
* Created by IntelliJ IDEA.
* User: igork
* Date: Nov 25, 2002
* Time: 3:07:18 PM
* To change this template use Options | File Templates.
*/
public class TestSource2 {
int aaa = 0;
public void foo(){
int abc = 0, bac = a<caret>
}
}
@@ -0,0 +1,15 @@
package codeInsight.completion.variables.locals;
/**
* Created by IntelliJ IDEA.
* User: igork
* Date: Nov 25, 2002
* Time: 3:10:08 PM
* To change this template use Options | File Templates.
*/
public class TestSource3 {
int aaa = 0;
public static void foo(){
int abc = 0, bac = abc<caret>
}
}
@@ -0,0 +1,18 @@
package codeInsight.completion.variables.locals;
/**
* Created by IntelliJ IDEA.
* User: igork
* Date: Nov 25, 2002
* Time: 3:10:08 PM
* To change this template use Options | File Templates.
*/
public class TestSource4 {
int aaa = 0;
public static void foo(){
int abc = 0;
class Inner1{
int sbe=abc<caret>
}
}
}
@@ -0,0 +1,22 @@
package codeInsight.completion.variables.locals;
/**
* Created by IntelliJ IDEA.
* User: igork
* Date: Nov 25, 2002
* Time: 3:10:08 PM
* To change this template use Options | File Templates.
*/
public class TestSource5 {
public static class inner{
static int aaa = 0;
public void foo(){
int abc = 0;
}
static class Inner1{
static int sbe = aaa<caret>
}
}
}
@@ -0,0 +1,13 @@
package codeInsight.completion.variables.locals;
/**
* Created by IntelliJ IDEA.
* User: igork
* Date: Nov 25, 2002
* Time: 3:10:08 PM
* To change this template use Options | File Templates.
*/
public class TestSource6 {
int aaa = bbb<caret>
int bbb = 0;
}
@@ -0,0 +1,15 @@
package codeInsight.completion.variables.locals;
/**
* Created by IntelliJ IDEA.
* User: igork
* Date: Nov 25, 2002
* Time: 3:10:08 PM
* To change this template use Options | File Templates.
*/
public class TestSource7 {
public void foo(){
int aaa = b<caret>
int bbb = 0;
}
}
@@ -0,0 +1,15 @@
package codeInsight.completion.variables.locals;
/**
* Created by IntelliJ IDEA.
* User: igork
* Date: Nov 25, 2002
* Time: 3:10:08 PM
* To change this template use Options | File Templates.
*/
public class TestSource8 {
static {
int aaa = b<caret>
int bbb = 0;
}
}
@@ -0,0 +1,15 @@
package codeInsight.completion.variables.locals;
/**
* Created by IntelliJ IDEA.
* User: igork
* Date: Nov 25, 2002
* Time: 3:10:08 PM
* To change this template use Options | File Templates.
*/
public class TestSource9 {
static {
int bbb = 0;
int aaa = bbb<caret>
}
}
@@ -0,0 +1,5 @@
class TestSource1{
public void foo(){
int abc = 0, bac = a<caret>
}
}
@@ -0,0 +1,15 @@
package codeInsight.completion.variables.locals;
/**
* Created by IntelliJ IDEA.
* User: igork
* Date: Nov 25, 2002
* Time: 3:07:18 PM
* To change this template use Options | File Templates.
*/
public class TestSource2 {
int aaa = 0;
public void foo(){
int abc = 0, bac = a<caret>
}
}
@@ -0,0 +1,15 @@
package codeInsight.completion.variables.locals;
/**
* Created by IntelliJ IDEA.
* User: igork
* Date: Nov 25, 2002
* Time: 3:10:08 PM
* To change this template use Options | File Templates.
*/
public class TestSource3 {
int aaa = 0;
public static void foo(){
int abc = 0, bac = a<caret>
}
}
@@ -0,0 +1,18 @@
package codeInsight.completion.variables.locals;
/**
* Created by IntelliJ IDEA.
* User: igork
* Date: Nov 25, 2002
* Time: 3:10:08 PM
* To change this template use Options | File Templates.
*/
public class TestSource4 {
int aaa = 0;
public static void foo(){
int abc = 0;
class Inner1{
int sbe=a<caret>
}
}
}
@@ -0,0 +1,22 @@
package codeInsight.completion.variables.locals;
/**
* Created by IntelliJ IDEA.
* User: igork
* Date: Nov 25, 2002
* Time: 3:10:08 PM
* To change this template use Options | File Templates.
*/
public class TestSource5 {
public static class inner{
static int aaa = 0;
public void foo(){
int abc = 0;
}
static class Inner1{
static int sbe = a<caret>
}
}
}
@@ -0,0 +1,13 @@
package codeInsight.completion.variables.locals;
/**
* Created by IntelliJ IDEA.
* User: igork
* Date: Nov 25, 2002
* Time: 3:10:08 PM
* To change this template use Options | File Templates.
*/
public class TestSource6 {
int aaa = b<caret>
int bbb = 0;
}
@@ -0,0 +1,15 @@
package codeInsight.completion.variables.locals;
/**
* Created by IntelliJ IDEA.
* User: igork
* Date: Nov 25, 2002
* Time: 3:10:08 PM
* To change this template use Options | File Templates.
*/
public class TestSource7 {
public void foo(){
int aaa = b<caret>
int bbb = 0;
}
}
@@ -0,0 +1,15 @@
package codeInsight.completion.variables.locals;
/**
* Created by IntelliJ IDEA.
* User: igork
* Date: Nov 25, 2002
* Time: 3:10:08 PM
* To change this template use Options | File Templates.
*/
public class TestSource8 {
static {
int aaa = b<caret>
int bbb = 0;
}
}
@@ -0,0 +1,15 @@
package codeInsight.completion.variables.locals;
/**
* Created by IntelliJ IDEA.
* User: igork
* Date: Nov 25, 2002
* Time: 3:10:08 PM
* To change this template use Options | File Templates.
*/
public class TestSource9 {
static {
int bbb = 0;
int aaa = b<caret>
}
}
@@ -0,0 +1,7 @@
public class Foo {
public void a() {
int i = createStylesheetCombobox();
}
private int cre<caret>
}