Collection tests: format and fix usages of deprecated symbols.

This commit is contained in:
Ilya Ryzhenkov
2015-01-12 19:24:18 +03:00
parent 5a77a70710
commit 9b04f57a25
14 changed files with 198 additions and 201 deletions
@@ -9,7 +9,7 @@ import org.junit.Test as test
class MutableCollectionTest {
test fun fromIterable() {
val data: Iterable<String> = arrayListOf("foo", "bar")
val data: Iterable<String> = listOf("foo", "bar")
val collection = ArrayList<String>()
collection.addAll(data)
@@ -18,7 +18,7 @@ class MutableCollectionTest {
}
test fun fromStream() {
val list = arrayListOf("foo", "bar")
val list = listOf("foo", "bar")
val collection = ArrayList<String>()
collection.addAll(list.stream())