Skip to content

Commit 04aafc5

Browse files
committed
Remove unnecessary test methods.
1 parent bc043a0 commit 04aafc5

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

wrapper-android/src/androidTest/java/com/whl/quickjs/wrapper/QuickJSTest.java

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -454,23 +454,6 @@ public void testCreateNewJSArray() {
454454
context.destroy();
455455
}
456456

457-
@Test
458-
public void testStackOverflowWithStackSize() {
459-
QuickJSContext context = createContext();
460-
context.setMaxStackSize(1024);
461-
try {
462-
context.evaluate("function y(){}");
463-
} catch (QuickJSException e) {
464-
assertTrue(e.toString().contains("stack overflow"));
465-
}
466-
// todo 这里销毁会有问题,quickjs.c 源码会有一层 stack overflow 的异常检测
467-
try {
468-
context.destroy();
469-
} catch (QuickJSException e) {
470-
assertTrue(e.toString().contains("stack overflow"));
471-
}
472-
}
473-
474457
@Test
475458
public void testMissingFormalParameter() {
476459
QuickJSContext context = createContext();

0 commit comments

Comments
 (0)