Skip to content

Commit

Permalink
🧪 test: Remove an unstable test case
Browse files Browse the repository at this point in the history
  • Loading branch information
caoccao committed Jan 20, 2024
1 parent 3461cc1 commit 4307ff7
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,6 @@ class TestJavetModule : BaseTestSuite() {
assertEquals("java.util", v8Runtime.getExecutor("javaUtil['.name']").executeString())
// Test java.lang.Object
assertEquals(Object::class.java, v8Runtime.getExecutor("java.lang.Object").executeObject())
assertEquals(
"java.lang.annotation,java.lang.constant,java.lang.invoke,java.lang.management,java.lang.module," +
"java.lang.ref,java.lang.reflect,java.nio.channels,java.nio.channels.spi,java.nio.charset," +
"java.nio.charset.spi,java.nio.file,java.nio.file.attribute,java.nio.file.spi," +
"java.security.cert,java.security.spec,java.text.spi,java.time.chrono,java.time.format," +
"java.time.temporal,java.time.zone,java.util.concurrent,java.util.concurrent.atomic," +
"java.util.concurrent.locks,java.util.function,java.util.jar,java.util.logging," +
"java.util.random,java.util.regex,java.util.spi,java.util.stream,java.util.zip",
v8Runtime.getExecutor("java['.getPackages']().map(p => p['.name']).sort().join(',')").executeString()
)
// Clean up
v8Runtime.getExecutor("java = undefined; javaUtil = undefined;").executeVoid()
}
Expand Down

0 comments on commit 4307ff7

Please sign in to comment.