Converter:

Use formatter in converter tests
Reformat test data
This commit is contained in:
Pavel V. Talanov
2013-11-26 18:28:04 +04:00
parent ea6b751645
commit 741e031ff1
377 changed files with 2742 additions and 2574 deletions
@@ -1,20 +1,21 @@
package test
public class Test(str : String) {
var myStr : String = "String2"
public fun sout(str : String) {
System.out.println(str)
}
public fun dummy(str : String) : String {
return str
}
public fun test() {
sout("String")
val test = "String2"
sout(test)
sout(dummy(test))
Test(test)
}
{
myStr = str
}
public class Test(str: String) {
var myStr: String = "String2"
public fun sout(str: String) {
System.out.println(str)
}
public fun dummy(str: String): String {
return str
}
public fun test() {
sout("String")
val test = "String2"
sout(test)
sout(dummy(test))
Test(test)
}
{
myStr = str
}
}
@@ -1,20 +1,21 @@
package test
public open class Test(str : String) {
var myStr : String = "String2"
public open fun sout(str : String) {
System.out?.println(str)
}
public open fun dummy(str : String) : String {
return str
}
public open fun test() {
sout("String")
var test : String = "String2"
sout(test)
sout(dummy(test))
Test(test)
}
{
myStr = str
}
public open class Test(str: String) {
var myStr: String = "String2"
public open fun sout(str: String) {
System.out?.println(str)
}
public open fun dummy(str: String): String {
return str
}
public open fun test() {
sout("String")
var test: String = "String2"
sout(test)
sout(dummy(test))
Test(test)
}
{
myStr = str
}
}
@@ -1,17 +1,18 @@
package test
class Foo() {
fun execute() {
}
fun execute() {
}
}
class Bar() {
var fooNotNull : Foo = Foo()
var fooNullable : Foo = null
var fooNotNull: Foo = Foo()
var fooNullable: Foo = null
}
class Test() {
public fun test(barNotNull : Bar, barNullable : Bar) {
barNotNull.fooNotNull.execute()
barNotNull.fooNullable.execute()
barNullable.fooNotNull.execute()
barNullable.fooNullable.execute()
}
public fun test(barNotNull: Bar, barNullable: Bar) {
barNotNull.fooNotNull.execute()
barNotNull.fooNullable.execute()
barNullable.fooNotNull.execute()
barNullable.fooNullable.execute()
}
}
@@ -1,17 +1,18 @@
package test
open class Foo() {
open fun execute() {
}
open fun execute() {
}
}
open class Bar() {
var fooNotNull : Foo = Foo()
var fooNullable : Foo? = null
var fooNotNull: Foo = Foo()
var fooNullable: Foo? = null
}
open class Test() {
public open fun test(barNotNull : Bar, barNullable : Bar?) {
barNotNull.fooNotNull.execute()
barNotNull.fooNullable?.execute()
barNullable?.fooNotNull?.execute()
barNullable?.fooNullable?.execute()
}
public open fun test(barNotNull: Bar, barNullable: Bar?) {
barNotNull.fooNotNull.execute()
barNotNull.fooNullable?.execute()
barNullable?.fooNotNull?.execute()
barNullable?.fooNullable?.execute()
}
}