Formatter test is generated now

This commit is contained in:
Andrey Breslav
2013-09-20 15:02:44 +04:00
parent 9d7b3a7a96
commit 8952365ae3
80 changed files with 276 additions and 229 deletions
@@ -1,6 +0,0 @@
fun some(): Int {
try {
}
catch () {
}<caret>
}
@@ -1,7 +0,0 @@
fun some(): Int {
try {
}
catch () {
}
<caret>
}
@@ -1,7 +0,0 @@
fun some(): Int {
try {
}
catch () {
}
finally {}<caret>
}
@@ -1,8 +0,0 @@
fun some(): Int {
try {
}
catch () {
}
finally {}
<caret>
}
@@ -1 +0,0 @@
import java.util.ArrayList<caret>
@@ -1,2 +0,0 @@
import java.util.ArrayList
<caret>
@@ -1,4 +0,0 @@
fun some(): Int {
try {
}<caret>
}
@@ -1,5 +0,0 @@
fun some(): Int {
try {
}
<caret>
}
@@ -1,3 +0,0 @@
fun test() {
some.test().<caret>
}
@@ -1,4 +0,0 @@
fun test() {
some.test().
<caret>
}
@@ -1,3 +0,0 @@
fun some() {
do<caret>
}
@@ -1,4 +0,0 @@
fun some() {
do
<caret>
}
@@ -1,2 +0,0 @@
fun testParam(<caret>) {
}
@@ -1,4 +0,0 @@
fun testParam(
<caret>
) {
}
@@ -1,2 +0,0 @@
fun some() {
for (var i in 1..10)<caret>
@@ -1,3 +0,0 @@
fun some() {
for (var i in 1..10)
<caret>
@@ -1,7 +0,0 @@
package testing
private fun times<T>(times : Int, body : () -> T) {}
fun main(args: Array<String>) {
times(3) {<caret>}
}
@@ -1,9 +0,0 @@
package testing
private fun times<T>(times : Int, body : () -> T) {}
fun main(args: Array<String>) {
times(3) {
<caret>
}
}
@@ -1 +0,0 @@
fun test() =<caret>
@@ -1,2 +0,0 @@
fun test() =
<caret>
@@ -1,3 +0,0 @@
fun some() {
if (3 > 5)<caret>
}
@@ -1,4 +0,0 @@
fun some() {
if (3 > 5)
<caret>
}
@@ -1,2 +0,0 @@
fun testParam(a : String, b : Int,<caret>) {
}
@@ -1,3 +0,0 @@
fun testParam(a : String, b : Int,
<caret>) {
}
@@ -1 +0,0 @@
val a =<caret>
@@ -1,2 +0,0 @@
val a =
<caret>
@@ -1,5 +0,0 @@
fun test() {
testVeryLong(12,<caret>)
}
// SET_TRUE: ALIGN_MULTILINE_PARAMETERS_IN_CALLS
@@ -1,6 +0,0 @@
fun test() {
testVeryLong(12,
<caret>)
}
// SET_TRUE: ALIGN_MULTILINE_PARAMETERS_IN_CALLS
@@ -1,6 +0,0 @@
fun test() {
testVeryLong(12,
<caret>)
}
// SET_TRUE: ALIGN_MULTILINE_PARAMETERS_IN_CALLS
@@ -1,3 +0,0 @@
fun some() {
var t = 12
while (t > 0)<caret>
@@ -1,4 +0,0 @@
fun some() {
var t = 12
while (t > 0)
<caret>
@@ -0,0 +1,39 @@
class Some {
fun some() {
var int: Int = 0
int = 12
int += 12
int -= 12
int *= 12
int /= 12
int %= 12
true && true
true || false
12 === 3
12 !== 3
12 == 3
12 != 3
12 <= 3
12 >= 3
12 < 3
12 > 3
12 + 3 - 12
12 % 3 * 12 / 3
!true
int++
++int
int--
--int
+12
-12
1..2
}
}