Minor: use ".touch" extension instead of ".new" in incremental compilation tests when it possible

Original commit: d9b67ae0ef
This commit is contained in:
Zalim Bashorov
2015-11-18 18:02:34 +03:00
parent 09a2a5ecd3
commit 43b6a9dbbc
77 changed files with 0 additions and 197 deletions
@@ -1,3 +0,0 @@
package a
open class A
@@ -1,6 +0,0 @@
package module1
class A
fun a() {
}
@@ -1,7 +0,0 @@
package module2
import module1.*
fun b(param: A) {
a()
}
@@ -1,7 +0,0 @@
package a
open class A
inline fun f(): A {
return A()
}
@@ -1,5 +0,0 @@
package test
fun g() {
other.other()
}
@@ -1,3 +0,0 @@
public class JavaClass {
public static final String CONST = "A";
}
@@ -1,7 +0,0 @@
package test
class Klass {
companion object {
val CONST = "bar"
}
}
@@ -1,2 +0,0 @@
fun f() {
}
@@ -1,2 +0,0 @@
fun foo() {
}
@@ -1 +0,0 @@
public class A
@@ -1 +0,0 @@
fun f() {}
@@ -1,3 +0,0 @@
package inline
inline fun f() {}
@@ -1,2 +0,0 @@
public class A {
}
@@ -1,7 +0,0 @@
package test
fun a() {
}
val a = ""
@@ -1,3 +0,0 @@
package test
fun b() = "b"
@@ -1,5 +0,0 @@
package test
fun main(args: Array<String>) {
println(a() + b() + other.other())
}
@@ -1,3 +0,0 @@
package test
var b = "b"
@@ -1,8 +0,0 @@
package test
fun main(args: Array<String>) {
val x = a + b + other.other
a = "aa"
b = "bb"
other.other = "other.other"
}
@@ -1,4 +0,0 @@
package test
fun dummyFunction() {
}
@@ -1,9 +0,0 @@
package test
const val CONST = "foo"
class Klass {
companion object {
const val CONST = "bar"
}
}
@@ -1,3 +0,0 @@
fun a(p1: String, p2: String? = null) {
}
@@ -1,6 +0,0 @@
package test
fun a(ref: kotlin.test.Asserter) {
b(ref)
println(":)")
}
@@ -1,13 +0,0 @@
package inline
inline fun f(body: () -> Unit) {
println("i'm inline function")
body()
}
class Klass {
inline fun f(body: () -> Unit) {
println("i'm inline function")
body()
}
}
@@ -1,6 +0,0 @@
package test
fun main(args: Array<String>) {
f { println("to be inlined") }
other.f { println("to be inlined") }
}
@@ -1,6 +0,0 @@
package test
fun main(args: Array<String>) {
f { println("to be inlined") }
other.f { println("to be inlined") }
}
@@ -1,5 +0,0 @@
package test
fun other() {
}
@@ -1,3 +0,0 @@
package klass
class Klass
@@ -1,8 +0,0 @@
package test
import klass.*
fun a(klass: Klass) {
b(klass)
println(":)")
}
@@ -1,8 +0,0 @@
package test
import klass.*
fun a(klass: Klass) {
b(klass)
println(":)")
}
@@ -1,6 +0,0 @@
package test
fun main(args: Array<String>) {
f { println("to be inlined") }
other.f { println("to be inlined") }
}
@@ -1,5 +0,0 @@
package test
fun main(args: Array<String>) {
f { println("to be inlined") }
}
@@ -1,8 +0,0 @@
package test
class Foo {
fun f() {
Bar()
}
class Boo
}
@@ -9,4 +9,3 @@ fun main(args: Array<String>) {
f { }
g()
}
@@ -1,12 +0,0 @@
package outer.nested
import outer.f
fun g() {
}
fun main(args: Array<String>) {
f { }
g()
}
@@ -1,3 +0,0 @@
public class JavaClass {
public static final String CONST = "A";
}
@@ -1,4 +0,0 @@
public class JavaClass {
public static void foo() {
}
}
@@ -1,7 +0,0 @@
package test
class Klass {
companion object {
val CONST = "bar"
}
}
@@ -1,5 +0,0 @@
package test
fun foo() {
}