[Native][tests] Move golden data outside of Gradle build file

This commit is contained in:
Dmitriy Dolovov
2021-08-27 22:56:40 +03:00
parent c2e2d3a43e
commit 1a863106e6
488 changed files with 2349 additions and 718 deletions
@@ -0,0 +1,3 @@
AAA
BB
C
@@ -0,0 +1 @@
Hello, world!
@@ -0,0 +1,9 @@
/*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the LICENSE file.
*/
// TODO: remove kotlin_native.io once overrides are in place.
fun main(args : Array<String>) {
println("Hello, world!")
}
@@ -0,0 +1 @@
Hello, world!
@@ -0,0 +1 @@
Hello.
@@ -0,0 +1 @@
Hello.
@@ -0,0 +1 @@
Hello.
@@ -0,0 +1,22 @@
/*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the LICENSE file.
*/
fun fail() {
println("Test failed, this is a wrong main() function.")
}
fun foo(args: Array<String>) {
println("Hello.")
}
fun bar() {
println("Hello, without args.")
}
fun main(args: Array<String>) {
fail()
}
@@ -0,0 +1 @@
Hello, without args.
@@ -0,0 +1 @@
This is main without args
@@ -0,0 +1,3 @@
true
false
false
@@ -0,0 +1,3 @@
2
3
4
@@ -0,0 +1,9 @@
239
0
97
1065353216
1072693248
1
0
true
true
@@ -0,0 +1 @@
Hello, world!
@@ -0,0 +1 @@
Hello World
@@ -0,0 +1 @@
you entered 'Hello World'
@@ -0,0 +1,4 @@
239
true
3.14159
A
@@ -0,0 +1,2 @@
Hello
Пока
@@ -0,0 +1,16 @@
Infinity 2147483647 -1
3.4028235E38
NAN2SHORT:: 0
2147483647 -1
FLOAT:: Infinity INT:: 2147483647
FLOAT:: 1.7014117E38 INT:: 2147483647
FLOAT:: 3.4028235E38 INT:: 2147483647
FLOAT:: 3.14 INT:: 3
FLOAT:: NaN INT:: 0
FLOAT:: -33333.125 INT:: -33333
FLOAT:: 1.4E-45 INT:: 0
FLOAT:: -Infinity INT:: -2147483648
FLOAT:: -1.2 INT:: -1
FLOAT:: -12.6 INT:: -12
FLOAT:: 2.3 INT:: 2
OK
@@ -0,0 +1,10 @@
main
B::constructor(1)
A::companion
A::companion::foo
A::companion::foo
B::constructor(0)
B::constructor()
A::Obj
A::AObj::foo
A::AObj::foo
@@ -0,0 +1,2 @@
Init Test
Done
@@ -0,0 +1,5 @@
init globalValue2
init globalValue3
1
globalValue2
globalValue3
@@ -0,0 +1,2 @@
1073741824
true
@@ -0,0 +1 @@
PASSED
@@ -0,0 +1 @@
41
@@ -0,0 +1,4 @@
239
238
30
29
@@ -0,0 +1 @@
Done
@@ -0,0 +1,14 @@
127
-1
239
A
Ё
1122334455
112233445566778899
3.14159265358
1.0E27
1.0E7
1.0E-300
true
false
@@ -0,0 +1 @@
ello
@@ -0,0 +1,2 @@
H e l l o
Hello
@@ -0,0 +1,18 @@
-128
127
-32768
32767
-2147483648
2147483647
-9223372036854775808
9223372036854775807
1.4E-45
3.4028235E38
-Infinity
Infinity
NaN
4.9E-324
1.7976931348623157E308
-Infinity
Infinity
NaN