Idea tests: INSTANCE$ -> INSTANCE

This commit is contained in:
Pavel V. Talanov
2015-10-07 16:05:05 +03:00
committed by Michael Bogdanov
parent 7fe71d21f3
commit c28107034a
37 changed files with 38 additions and 38 deletions
@@ -4,4 +4,4 @@ public class Testing {
}
}
// EXIST: INSTANCE$
// EXIST: INSTANCE
+1 -1
View File
@@ -4,4 +4,4 @@ public class Testing {
}
}
// EXIST: INSTANCE$
// EXIST: INSTANCE
@@ -4,6 +4,6 @@ import server.O;
class Client {
void fooBar() {
System.out.println("foo = " + O.INSTANCE$.getFoo());
System.out.println("foo = " + O.INSTANCE.getFoo());
}
}
@@ -1,2 +1,2 @@
Class static member access (7: 39) System.out.println("foo = " + O.INSTANCE$.getFoo());
Class static member access (7: 39) System.out.println("foo = " + O.INSTANCE.getFoo());
Usage in import (3: 15) import server.O;
@@ -4,6 +4,6 @@ import library.*
class J {
static void test() {
O o = O.INSTANCE$;
O o = O.INSTANCE;
}
}
@@ -1,4 +1,4 @@
[LibraryObjectUsages.0.kt] Value read (10: 13) val o = O
[LibraryObjectUsages.1.java] Class static member access (7: 15) O o = O.INSTANCE$;
[LibraryObjectUsages.1.java] Local variable declaration (7: 9) O o = O.INSTANCE$;
[LibraryObjectUsages.1.java] Class static member access (7: 15) O o = O.INSTANCE;
[LibraryObjectUsages.1.java] Local variable declaration (7: 9) O o = O.INSTANCE;
[library.kt] Value read (55: 13) val o = O
@@ -1,5 +1,5 @@
class RandomJavaClass {
void f() {
foo.UsedInJava.INSTANCE$.bar();
foo.UsedInJava.INSTANCE.bar();
}
}
@@ -4,6 +4,6 @@ import b.Test;
class J {
void bar() {
Test t = Test.INSTANCE$;
Test t = Test.INSTANCE;
}
}
@@ -2,6 +2,6 @@ package b;
class J {
void bar() {
Test t = Test.INSTANCE$;
Test t = Test.INSTANCE;
}
}
@@ -2,6 +2,6 @@ package b;
class J {
void bar() {
Test t = Test.INSTANCE$;
Test t = Test.INSTANCE;
}
}
@@ -2,6 +2,6 @@ package b;
class J {
void bar() {
Test t = Test.INSTANCE$;
Test t = Test.INSTANCE;
}
}
@@ -4,6 +4,6 @@ import b.Test;
class J {
void bar() {
Test t = Test.INSTANCE$;
Test t = Test.INSTANCE;
}
}
@@ -4,6 +4,6 @@ import b.Test;
class J {
void bar() {
Test t = Test.INSTANCE$;
Test t = Test.INSTANCE;
}
}
@@ -4,6 +4,6 @@ import b.Test;
class J {
void bar() {
Test t = Test.INSTANCE$;
Test t = Test.INSTANCE;
}
}
@@ -2,6 +2,6 @@ package a;
class J {
void bar() {
Test t = Test.INSTANCE$;
Test t = Test.INSTANCE;
}
}
@@ -2,6 +2,6 @@ package b;
class J {
void bar() {
a.Test t = a.Test.INSTANCE$;
a.Test t = a.Test.INSTANCE;
}
}
@@ -4,6 +4,6 @@ import a.*;
class J {
void bar() {
Test t = Test.INSTANCE$;
Test t = Test.INSTANCE;
}
}
@@ -4,6 +4,6 @@ import a.Test;
class J {
void bar() {
Test t = Test.INSTANCE$;
Test t = Test.INSTANCE;
}
}
@@ -2,6 +2,6 @@ package c;
class J {
void bar() {
a.Test t = a.Test.INSTANCE$;
a.Test t = a.Test.INSTANCE;
}
}
@@ -4,6 +4,6 @@ import a.*;
class J {
void bar() {
Test t = Test.INSTANCE$;
Test t = Test.INSTANCE;
}
}
@@ -4,6 +4,6 @@ import a.Test;
class J {
void bar() {
Test t = Test.INSTANCE$;
Test t = Test.INSTANCE;
}
}
@@ -4,6 +4,6 @@ import b.Test;
class J {
void bar() {
Test t = Test.INSTANCE$;
Test t = Test.INSTANCE;
}
}
@@ -2,6 +2,6 @@ package b;
class J {
void bar() {
Test t = Test.INSTANCE$;
Test t = Test.INSTANCE;
}
}
@@ -2,6 +2,6 @@ package b;
class J {
void bar() {
Test t = Test.INSTANCE$;
Test t = Test.INSTANCE;
}
}
@@ -2,6 +2,6 @@ package b;
class J {
void bar() {
Test t = Test.INSTANCE$;
Test t = Test.INSTANCE;
}
}
@@ -4,6 +4,6 @@ import b.Test;
class J {
void bar() {
Test t = Test.INSTANCE$;
Test t = Test.INSTANCE;
}
}
@@ -4,6 +4,6 @@ import b.Test;
class J {
void bar() {
Test t = Test.INSTANCE$;
Test t = Test.INSTANCE;
}
}
@@ -4,6 +4,6 @@ import b.Test;
class J {
void bar() {
Test t = Test.INSTANCE$;
Test t = Test.INSTANCE;
}
}
@@ -2,6 +2,6 @@ package a;
class J {
void bar() {
Test t = Test.INSTANCE$;
Test t = Test.INSTANCE;
}
}
@@ -2,6 +2,6 @@ package b;
class J {
void bar() {
a.Test t = a.Test.INSTANCE$;
a.Test t = a.Test.INSTANCE;
}
}
@@ -4,6 +4,6 @@ import a.*;
class J {
void bar() {
Test t = Test.INSTANCE$;
Test t = Test.INSTANCE;
}
}
@@ -4,6 +4,6 @@ import a.Test;
class J {
void bar() {
Test t = Test.INSTANCE$;
Test t = Test.INSTANCE;
}
}
@@ -2,6 +2,6 @@ package c;
class J {
void bar() {
a.Test t = a.Test.INSTANCE$;
a.Test t = a.Test.INSTANCE;
}
}
@@ -4,6 +4,6 @@ import a.*;
class J {
void bar() {
Test t = Test.INSTANCE$;
Test t = Test.INSTANCE;
}
}
@@ -4,6 +4,6 @@ import a.Test;
class J {
void bar() {
Test t = Test.INSTANCE$;
Test t = Test.INSTANCE;
}
}
@@ -2,6 +2,6 @@ package a;
class J {
void bar() {
Test t = Test.INSTANCE$;
Test t = Test.INSTANCE;
}
}
@@ -2,6 +2,6 @@ package a;
class J {
void bar() {
Test t = Test.INSTANCE$;
Test t = Test.INSTANCE;
}
}