88 Commits (5475a07a4f5fbe32d3e67876cd2b3529be0486ff)

Author SHA1 Message Date
Sami Vaarala 593f9e994d api test case fix to match new fatal prototype 11 years ago
Sami Vaarala 4a80e80ef9 api testcase fixes, mostly related to coercion changes and error messages 11 years ago
Sami Vaarala 9c4f46e5cb api test case fixes, mostly related to coercion changes 11 years ago
Sami Vaarala f3f76a510b api testcase for duk_pcall(), add some prints for diagnosis 11 years ago
Sami Vaarala 5d4953c5ab add specific negative return api test 11 years ago
Sami Vaarala 111a75f2d8 duk_gc() api doc and test 11 years ago
Sami Vaarala ec163cc157 test case for duk_eval_file() 11 years ago
Sami Vaarala 218a72f0e7 fix duk_compile() testcases to account for new filename argument 11 years ago
Sami Vaarala 768a7d16eb api doc and testcase for duk_check_type() 11 years ago
Sami Vaarala d3c6522699 api doc and testcase for duk_check_type_mask() 11 years ago
Sami Vaarala 4d8098a1ce 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
Sami Vaarala bf35dca212 api testcase fixes 11 years ago
Sami Vaarala 96ce4fc19e rework api testcases to use shared macros TEST_SAFE_CALL and TEST_PCALL 11 years ago
Sami Vaarala 66a9451fa2 api doc and test for duk_check_stack_top() and duk_require_stack_top(); trivial test case whitespace diff for duk_check_stack() and duk_require_stack() 11 years ago
Sami Vaarala 865b039b5b api doc and test for duk_check_stack() and duk_require_stack() 11 years ago
Sami Vaarala 4a7950307f api doc and test for duk_get_top_index() and duk_require_top_index() 11 years ago
Sami Vaarala 74010b6726 api doc and test update for duk_get_var; rename duk_api.h to duktape.h (dependencies not fixed yet) 11 years ago
Sami Vaarala c6690c90e7 api doc and test for duk_map_string() and duk_decode_string(); these are now unimplemented so the tests fail 11 years ago
Sami Vaarala a0f9e52032 basic api testcases for duk_pcall(), duk_pcall_method(), duk_pcall_prop() 11 years ago
Sami Vaarala 3fe219bfd0 api doc drafts for duk_safe_call(), duk_pcall(), duk_pcall_method(), duk_pcall_prop() 11 years ago
Sami Vaarala 01de801b32 api doc and test for duk_to_fixed_buffer(); improve api description of duk_resize_buffer() 11 years ago
Sami Vaarala e798921f70 api doc and test for duk_resize_buffer() 11 years ago
Sami Vaarala d894b76b44 api doc and test for duk_swap() and duk_swap_top() 11 years ago
Sami Vaarala 87868f4fae missing duk_compile_string() testcase 11 years ago
Sami Vaarala d1841a7741 api doc and tests for duk_compile() and duk_compile_string() 11 years ago
Sami Vaarala 24dc5eb99a testcase for various pushers 11 years ago
Sami Vaarala cde5c9f7cd api doc and test for duk_get_memory_functions() 11 years ago
Sami Vaarala 97d1c4ec09 improve duk_substring() testcase to test index other than stack top 11 years ago
Sami Vaarala 9467153399 api doc and test for duk_substring 11 years ago
Sami Vaarala 87d01f5ce3 api doc and test for duk_fatal() 11 years ago
Sami Vaarala 99bc2473ba api doc and test for duk_error 11 years ago
Sami Vaarala 70f20c6768 api doc and test for duk_trim() 11 years ago
Sami Vaarala d6a8a345ef api doc and test for duk_equals() and duk_strict_equals() 11 years ago
Sami Vaarala 78f2b76abf api doc and test for duk_push_error_object() 11 years ago
Sami Vaarala a370df2c34 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
Sami Vaarala 75c6c014e9 api doc and test for duk_push_current_thread() 11 years ago
Sami Vaarala 4990d45d52 improve duk_push_current_function() testcase 11 years ago
Sami Vaarala b7d118045b api doc and test for duk_push_current_function 11 years ago
Sami Vaarala bcc76f0aeb api bug test case for pushing very large strings 11 years ago
Sami Vaarala 79c5163a1f 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
Sami Vaarala 11c664a4eb mass rename of multiple duk_push_new_xxx() into duk_push_xxx() for API consistency 11 years ago
Sami Vaarala 34444e80c3 rename duk_push_new_buffer to duk_push_buffer (same for fixed/dynamic pushers); cmdline fixes 11 years ago
Sami Vaarala 68ee1c247f api doc and test for duk_dup and duk_dup_top 11 years ago
Sami Vaarala a80e541f69 fix duk_to_buffer testcase, compile error 11 years ago
Sami Vaarala d0ddbc1a77 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
Sami Vaarala e9d78019c7 api testcase for duk_to_number 11 years ago
Sami Vaarala 9d30dff371 api doc and test for duk_new 11 years ago
Sami Vaarala 324aa7380e api doc and test for duk_enum() and duk_next() 11 years ago
Sami Vaarala 3737e98fc0 api doc and tests for duk_call(), duk_call_method(), duk_call_prop() 11 years ago
Sami Vaarala c78341220f add function expression test to eval test 11 years ago