added tests so we can easily run QUnit tests in headless mode inside a stand alone JUnit test without Selenium; with just Rhino. JsArrayTest works great in Rhino stand alone and in a browser; but not Selenium; not sure why yet...

This commit is contained in:
James Strachan
2012-07-05 21:40:06 +01:00
parent 6e3346c019
commit 33ef414f01
16 changed files with 461 additions and 18 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
package testPackage
package jstest
import org.junit.Test as test
import kotlin.test.*
class JsArrayTest {
test fun arrays() {
test fun arraySizeAndToList() {
val a1 = array<String>()
val a2 = array("foo")
val a3 = array("foo", "bar")