You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Sami Vaarala 685eb6bdb8 testcase for using a C constructor 11 years ago
..
test-base64.c api doc and tests for hex, base64, and json encoding/decoding 11 years ago
test-buffer-zeroed.c rename duk_push_new_buffer to duk_push_buffer (same for fixed/dynamic pushers); cmdline fixes 11 years ago
test-bug-push-buffer-maxsize.c api doc and tests for duk_push_buffer() and variants; also a bug test case for allocating a buffer very close to size_t max value in size 11 years ago
test-bug-push-string-maxsize.c api bug test case for pushing very large strings 11 years ago
test-bug-set-top-wrap.c api doc and test for duk_set_top and duk_get_top, and a bug testcase for pointer wrapping bug 11 years ago
test-c-constructor.c testcase for using a C constructor 11 years ago
test-call-method.c mass rename of multiple duk_push_new_xxx() into duk_push_xxx() for API consistency 11 years ago
test-call-prop.c api doc and tests for duk_call(), duk_call_method(), duk_call_prop() 11 years ago
test-call.c mass rename of multiple duk_push_new_xxx() into duk_push_xxx() for API consistency 11 years ago
test-check-require-stack-top.c api testcase fixes, mostly related to coercion changes and error messages 11 years ago
test-check-require-stack.c api testcase fixes, mostly related to coercion changes and error messages 11 years ago
test-check-type-mask.c api doc and testcase for duk_check_type_mask() 11 years ago
test-check-type.c api doc and testcase for duk_check_type() 11 years ago
test-compact.c mass rename of multiple duk_push_new_xxx() into duk_push_xxx() for API consistency 11 years ago
test-compile-string.c missing duk_compile_string() testcase 11 years ago
test-compile.c fix duk_compile() testcases to account for new filename argument 11 years ago
test-concat.c api doc additions 12 years ago
test-decode-string.c api doc and test for duk_map_string() and duk_decode_string(); these are now unimplemented so the tests fail 11 years ago
test-del-prop.c rework api testcases to use shared macros TEST_SAFE_CALL and TEST_PCALL 11 years ago
test-dup.c rework api testcases to use shared macros TEST_SAFE_CALL and TEST_PCALL 11 years ago
test-enum.c api testcase fixes, mostly related to coercion changes and error messages 11 years ago
test-equals-strict-equals.c api testcase fixes, mostly related to coercion changes and error messages 11 years ago
test-error.c api testcase fixes, mostly related to coercion changes and error messages 11 years ago
test-eval-file.c test case for duk_eval_file() 11 years ago
test-eval-string.c api doc and tests for duk_eval and duk_eval_string 11 years ago
test-eval.c add function expression test to eval test 11 years ago
test-fatal.c api test case fix to match new fatal prototype 11 years ago
test-frontpage.c mass rename of multiple duk_push_new_xxx() into duk_push_xxx() for API consistency 11 years ago
test-gc.c duk_gc() api doc and test 11 years ago
test-get-boolean.c mass rename of multiple duk_push_new_xxx() into duk_push_xxx() for API consistency 11 years ago
test-get-buffer.c mass rename of multiple duk_push_new_xxx() into duk_push_xxx() for API consistency 11 years ago
test-get-c-function.c api doc and test for duk_get_c_function() and duk_require_c_function; improve api testcase for duk_push_current_function() 11 years ago
test-get-context.c mass rename of multiple duk_push_new_xxx() into duk_push_xxx() for API consistency 11 years ago
test-get-int.c api doc and tests for duk_get_boolean, duk_get_buffer, duk_get_int 11 years ago
test-get-length.c mass rename of multiple duk_push_new_xxx() into duk_push_xxx() for API consistency 11 years ago
test-get-lstring.c mass rename of multiple duk_push_new_xxx() into duk_push_xxx() for API consistency 11 years ago
test-get-memory-functions.c api doc and test for duk_get_memory_functions() 11 years ago
test-get-number.c mass rename of multiple duk_push_new_xxx() into duk_push_xxx() for API consistency 11 years ago
test-get-pointer.c mass rename of multiple duk_push_new_xxx() into duk_push_xxx() for API consistency 11 years ago
test-get-prop.c rework api testcases to use shared macros TEST_SAFE_CALL and TEST_PCALL 11 years ago
test-get-require-top-index.c api doc and test for duk_get_top_index() and duk_require_top_index() 11 years ago
test-get-set-top.c the expect block for test-get-set-top.c api test was broken, replace with FIXME to be less misleading (fix later) 11 years ago
test-get-string.c mass rename of multiple duk_push_new_xxx() into duk_push_xxx() for API consistency 11 years ago
test-get-var.c api testcase fixes 11 years ago
test-global-stash.c add testcases for stash api calls 11 years ago
test-has-prop.c rework api testcases to use shared macros TEST_SAFE_CALL and TEST_PCALL 11 years ago
test-heap-lifecycle-basic.c basic heap lifecycle test 11 years ago
test-heap-stash.c add testcases for stash api calls 11 years ago
test-hello-world.c api testcases for hello world and frontpage 11 years ago
test-hex.c api doc and tests for hex, base64, and json encoding/decoding 11 years ago
test-indirect-eval.c indirect eval from C 11 years ago
test-insert.c improve api doc and test for duk_insert, duk_replace, duk_remove for invalid index cases 11 years ago
test-is-calls.c api testcase fixes, mostly related to coercion changes and error messages 11 years ago
test-is-constructor-call.c mass rename of multiple duk_push_new_xxx() into duk_push_xxx() for API consistency 11 years ago
test-is-strict.c mass rename of multiple duk_push_new_xxx() into duk_push_xxx() for API consistency 11 years ago
test-join.c api doc additions 12 years ago
test-json.c mass rename of multiple duk_push_new_xxx() into duk_push_xxx() for API consistency 11 years ago
test-map-string.c api doc and test for duk_map_string() and duk_decode_string(); these are now unimplemented so the tests fail 11 years ago
test-memory-funcs.c api doc and test for duk_alloc/duk_alloc_raw, duk_realloc/duk_realloc_raw, duk_free/duk_free_raw; still a bit rough 11 years ago
test-new.c mass rename of multiple duk_push_new_xxx() into duk_push_xxx() for API consistency 11 years ago
test-normalize-index.c api testcase fixes, mostly related to coercion changes and error messages 11 years ago
test-pcall-method.c basic api testcases for duk_pcall(), duk_pcall_method(), duk_pcall_prop() 11 years ago
test-pcall-prop.c basic api testcases for duk_pcall(), duk_pcall_method(), duk_pcall_prop() 11 years ago
test-pcall.c api testcase for duk_pcall(), add some prints for diagnosis 11 years ago
test-poppers.c api doc additions 12 years ago
test-push-array.c mass rename of multiple duk_push_new_xxx() into duk_push_xxx() for API consistency 11 years ago
test-push-buffer.c api test case fixes, mostly related to coercion changes 11 years ago
test-push-cfunc.c add specific negative return api test 11 years ago
test-push-current-function.c api doc and test for duk_get_c_function() and duk_require_c_function; improve api testcase for duk_push_current_function() 11 years ago
test-push-current-thread.c api doc and test for duk_push_current_thread() 11 years ago
test-push-error-object.c api test case fixes, mostly related to coercion changes 11 years ago
test-push-global.c api doc and test for duk_push_global_object 11 years ago
test-push-object.c mass rename of multiple duk_push_new_xxx() into duk_push_xxx() for API consistency 11 years ago
test-push-sprintf.c duk_push_(v)sprintf() api testcases 11 years ago
test-push-this.c mass rename of multiple duk_push_new_xxx() into duk_push_xxx() for API consistency 11 years ago
test-push-thread.c mass rename of multiple duk_push_new_xxx() into duk_push_xxx() for API consistency 11 years ago
test-push-vsprintf.c duk_push_(v)sprintf() api testcases 11 years ago
test-pushers.c testcase for various pushers 11 years ago
test-put-prop-primbase.c rework api testcases to use shared macros TEST_SAFE_CALL and TEST_PCALL 11 years ago
test-put-prop.c rework api testcases to use shared macros TEST_SAFE_CALL and TEST_PCALL 11 years ago
test-remove.c improve api doc and test for duk_insert, duk_replace, duk_remove for invalid index cases 11 years ago
test-replace.c improve api doc and test for duk_insert, duk_replace, duk_remove for invalid index cases 11 years ago
test-require-boolean.c api doc and tests for duk_require_XXX (except duk_require_context which already existed) 11 years ago
test-require-buffer.c rename duk_push_new_buffer to duk_push_buffer (same for fixed/dynamic pushers); cmdline fixes 11 years ago
test-require-c-function.c api testcase fixes 11 years ago
test-require-context.c mass rename of multiple duk_push_new_xxx() into duk_push_xxx() for API consistency 11 years ago
test-require-int.c api doc and tests for duk_require_XXX (except duk_require_context which already existed) 11 years ago
test-require-lstring.c api doc and tests for duk_require_XXX (except duk_require_context which already existed) 11 years ago
test-require-null.c api doc and tests for duk_require_XXX (except duk_require_context which already existed) 11 years ago
test-require-number.c api doc and tests for duk_require_XXX (except duk_require_context which already existed) 11 years ago
test-require-pointer.c api doc and tests for duk_require_XXX (except duk_require_context which already existed) 11 years ago
test-require-string.c api doc and tests for duk_require_XXX (except duk_require_context which already existed) 11 years ago
test-require-undefined.c api doc and tests for duk_require_XXX (except duk_require_context which already existed) 11 years ago
test-resize-buffer.c rework api testcases to use shared macros TEST_SAFE_CALL and TEST_PCALL 11 years ago
test-safe-call.c api doc drafts for duk_safe_call(), duk_pcall(), duk_pcall_method(), duk_pcall_prop() 11 years ago
test-substring.c rework api testcases to use shared macros TEST_SAFE_CALL and TEST_PCALL 11 years ago
test-swap.c rework api testcases to use shared macros TEST_SAFE_CALL and TEST_PCALL 11 years ago
test-thread-stash.c add testcases for stash api calls 11 years ago
test-throw.c api doc and test for duk_throw 11 years ago
test-to-boolean.c mass rename of multiple duk_push_new_xxx() into duk_push_xxx() for API consistency 11 years ago
test-to-buffer.c api test case fixes, mostly related to coercion changes 11 years ago
test-to-defaultvalue.c mass rename of multiple duk_push_new_xxx() into duk_push_xxx() for API consistency 11 years ago
test-to-fixed-buffer.c rework api testcases to use shared macros TEST_SAFE_CALL and TEST_PCALL 11 years ago
test-to-int.c api test case fixes, mostly related to coercion changes 11 years ago
test-to-int32-uint32-uint16.c api test case fixes, mostly related to coercion changes 11 years ago
test-to-lstring.c api test case fixes, mostly related to coercion changes 11 years ago
test-to-null.c mass rename of multiple duk_push_new_xxx() into duk_push_xxx() for API consistency 11 years ago
test-to-number.c api test case fixes, mostly related to coercion changes 11 years ago
test-to-object.c api test case fixes, mostly related to coercion changes 11 years ago
test-to-pointer.c mass rename of multiple duk_push_new_xxx() into duk_push_xxx() for API consistency 11 years ago
test-to-primitive.c api test case fixes, mostly related to coercion changes 11 years ago
test-to-string.c api test case fixes, mostly related to coercion changes 11 years ago
test-to-undefined.c mass rename of multiple duk_push_new_xxx() into duk_push_xxx() for API consistency 11 years ago
test-trim.c rework api testcases to use shared macros TEST_SAFE_CALL and TEST_PCALL 11 years ago
test-types.c mass rename of multiple duk_push_new_xxx() into duk_push_xxx() for API consistency 11 years ago
test-validate-index.c api test case fixes, mostly related to coercion changes 11 years ago