got more test cases working in JS in a web browser; not sure why lots fail in selenium in JUnit

This commit is contained in:
James Strachan
2012-07-19 21:35:22 +01:00
parent 4f5e2227b4
commit e8ddeca248
3 changed files with 137 additions and 105 deletions
+1 -4
View File
@@ -32,6 +32,7 @@ class SetTest {
foo.all{it.startsWith("f")}
}
assertEquals(1, foo.size)
assertEquals(hashSet("foo"), foo)
assertTrue("Filter on a Set should return a Set") {
@@ -42,12 +43,8 @@ class SetTest {
Test fun find() {
val x = data.find{it.startsWith("x")}
assertNull(x)
fails {
x.sure()
}
val f = data.find{it.startsWith("f")}
f.sure()
assertEquals("foo", f)
}