Create From Usage: Move "Create function"-related tests to separate directory

This commit is contained in:
Alexey Sedunov
2014-09-29 16:36:57 +04:00
parent 0f43d4d07c
commit a6ba3a569d
138 changed files with 526 additions and 504 deletions
@@ -0,0 +1,14 @@
// "Create function 'get' from usage" "true"
import java.util.ArrayList
class Foo<T> {
fun bar(arg: String) { }
fun <T, V> x (y: Foo<List<T>>, w: ArrayList<V>) {
val z = y["", w]
bar(z)
}
fun <V> get(s: String, w: ArrayList<V>): String {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}