Tests for import class action added

This commit is contained in:
svtk
2011-09-28 11:58:55 +04:00
parent a06aa17a5f
commit 70d4826317
18 changed files with 158 additions and 14 deletions
@@ -0,0 +1,15 @@
// "Remove initializer from property" "true"
namespace a
import java.util.Collections
namespace b {
import java.util.List
class M {
trait A {
val l : <caret>List<Int>?
}
}
}
@@ -0,0 +1,8 @@
// "Remove initializer from property" "true"
namespace a
class M {
trait A {
abstract val e : <caret>Exception
}
}
@@ -0,0 +1,8 @@
// "Remove initializer from property" "true"
namespace a
class M {
trait A {
abstract val i : <caret>Int
}
}
@@ -0,0 +1,11 @@
// "Remove initializer from property" "true"
namespace a
import java.util.Collections
import java.util.List
class M {
trait A {
abstract val l : <caret>List<Int>?
}
}
@@ -0,0 +1,15 @@
// "Remove initializer from property" "true"
namespace a
import java.util.Collections
namespace b {
import java.util.List
class M {
trait A {
abstract val l : <caret>List<Int>?
}
}
}
@@ -0,0 +1,15 @@
// "Remove initializer from property" "true"
namespace a
import java.util.Collections
namespace b {
import java.util.List
class M {
trait A {
val l = <caret>Collections.emptyList<Int>()
}
}
}
@@ -0,0 +1,8 @@
// "Remove initializer from property" "true"
namespace a
class M {
trait A {
abstract val e = <caret>Exception("")
}
}
@@ -0,0 +1,8 @@
// "Remove initializer from property" "true"
namespace a
class M {
trait A {
abstract val i = <caret>10
}
}
@@ -0,0 +1,10 @@
// "Remove initializer from property" "true"
namespace a
import java.util.Collections
class M {
trait A {
abstract val l = <caret>Collections.emptyList<Int>()
}
}
@@ -0,0 +1,13 @@
// "Remove initializer from property" "true"
namespace a
import java.util.Collections
namespace b {
class M {
trait A {
abstract val l = <caret>Collections.emptyList<Int>()
}
}
}