File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
wrapper-android/src/androidTest/java/com/whl/quickjs/wrapper Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff 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 ();
You can’t perform that action at this time.
0 commit comments