refactored kool.test -> kotlin.test

This commit is contained in:
James Strachan
2012-03-03 06:43:24 +00:00
parent cfe4b7f736
commit d79a35a2c5
18 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* A number of helper methods for writing Kool unit tests
*/
package kool.test
package kotlin.test
import org.junit.Assert
import junit.framework.TestCase
+1 -1
View File
@@ -1,6 +1,6 @@
package test.collections
import kool.test.*
import kotlin.test.*
// TODO can we avoid importing all this stuff by default I wonder?
// e.g. making println and the collection builder methods public by default?
+1 -1
View File
@@ -1,7 +1,7 @@
import java.util.Vector
import junit.framework.TestCase
import kool.test.assertEquals
import kotlin.test.assertEquals
class EnumerationIteratorTest() : TestCase() {
fun testIteration () {
+1 -1
View File
@@ -1,7 +1,7 @@
package test.standard
import std.*
import kool.test.*
import kotlin.test.*
class GetOrElseTest() : TestSupport() {
val v1: String? = "hello"
+1 -1
View File
@@ -1,6 +1,6 @@
package test.collections
import kool.test.*
import kotlin.test.*
import std.io.*
import std.util.*
+1 -1
View File
@@ -1,6 +1,6 @@
package testjc
import kool.test.*
import kotlin.test.*
class C()
+1 -1
View File
@@ -1,6 +1,6 @@
package test.collections
import kool.test.*
import kotlin.test.*
// TODO can we avoid importing all this stuff by default I wonder?
// e.g. making println and the collection builder methods public by default?
+1 -1
View File
@@ -1,6 +1,6 @@
package test.collections
import kool.test.*
import kotlin.test.*
// TODO can we avoid importing all this stuff by default I wonder?
// e.g. making println and the collection builder methods public by default?
+1 -1
View File
@@ -4,7 +4,7 @@ import std.math.*
import java.math.BigInteger
import java.math.BigDecimal
import kool.test.*
import kotlin.test.*
class MathTest : TestSupport() {
fun testBigInteger() {
+1 -1
View File
@@ -3,7 +3,7 @@ package test.collections
import std.*
import std.io.*
import std.util.*
import kool.test.*
import kotlin.test.*
import java.util.*
import java.io.*
+1 -1
View File
@@ -3,7 +3,7 @@ package test.collections
import std.*
import std.io.*
import std.util.*
import kool.test.*
import kotlin.test.*
import java.util.*
class SetTest() : TestSupport() {
+1 -1
View File
@@ -1,7 +1,7 @@
package test.collections
import std.*
import kool.test.*
import kotlin.test.*
class StandardCollectionTest() : TestSupport() {
+1 -1
View File
@@ -2,7 +2,7 @@ package test.stdlib.issues
import java.util.List
import std.util.*
import kool.test.*
import kotlin.test.*
private fun listDifference<T>(first : List<T>, second : List<T>) : List<T> {
return first.filter{ !second.contains(it) }.toList()
+1 -1
View File
@@ -1,7 +1,7 @@
package testString
import std.io.*
import kool.test.*
import kotlin.test.*
import junit.framework.*
+1 -1
View File
@@ -3,7 +3,7 @@ package test.dom
import std.*
import std.dom.*
import std.util.*
import kool.test.*
import kotlin.test.*
import org.w3c.dom.*
class DomBuilderTest() : TestSupport() {
+1 -1
View File
@@ -2,7 +2,7 @@ package test.dom
import std.*
import std.dom.*
import kool.test.*
import kotlin.test.*
import org.w3c.dom.*
class DomTest() : TestSupport() {
@@ -2,7 +2,7 @@ package test.language
import junit.framework.TestCase
import java.util.Collection
import kool.test.*
import kotlin.test.*
class NullableCollectionsTest : TestCase() {
+1 -1
View File
@@ -3,7 +3,7 @@ package test.properties
import std.*
import std.properties.*
import std.util.*
import kool.test.*
import kotlin.test.*
import java.util.*
import junit.framework.TestCase