Sami Vaarala
39d969c9c3
API tests for duk_get_xxx_default() API calls
8 years ago
Sami Vaarala
ec1d9eded6
Octane Makefile improvements
8 years ago
Sami Vaarala
8909b19011
API tests for duk_opt_xxx() API calls
8 years ago
Sami Vaarala
00042faba1
Test coverage for GC during finalization
8 years ago
Sami Vaarala
476c01b546
Bug test for invalid RegExp group, e.g. (?X...)
8 years ago
Sami Vaarala
ca6cc2f23f
Add test for Symbol Object .valueOf()
8 years ago
Sami Vaarala
c75c6f2e31
Test for duk_push_heapptr() for not-yet-finalized
8 years ago
Sami Vaarala
929e969baf
Testcase for finalize_list refzero case
8 years ago
Sami Vaarala
88150a42ce
Test coverage for shebang comments
8 years ago
Sami Vaarala
769aa39ef2
Testcase changes for side effect reworks
8 years ago
Sami Vaarala
614326dee0
Testcase for (contrived) HTML syntax ambiguity
8 years ago
Michael Drake
f9770c2d2c
Tests: Add test for lexing of comments.
8 years ago
Sami Vaarala
9014dd567e
Testcase fixes for FASTREFS
The internal class Thread is only now used for actual threads, i.e. heap
objects which have the duk_hthread memory layout. Duktape.Thread.prototype
does not use duk_hthread layout, so it cannot have Thread as its internal
class. This also dovetails with ES2015+ where prototype objects no longer
generally mimic instances of their type.
8 years ago
Sami Vaarala
860c4febde
Testcase coverage for Thread.prototype class
8 years ago
Sami Vaarala
bd77ae2546
Testcase fix for finalizer check change
8 years ago
Sami Vaarala
104fb833ae
Test for duk_is_constructor_call() empty callstack
8 years ago
Sami Vaarala
2952ad4346
Bug test for GH-1370
8 years ago
Sami Vaarala
15cf6b9cac
Bug test for global/eval redeclaration
8 years ago
Sami Vaarala
45fd4d39ff
Add bug testcase for recursive mark-and-sweep
8 years ago
Sami Vaarala
ab6c694c21
Perf test for non-ASCII string char2byte scanning
8 years ago
Sami Vaarala
ff9e9449f6
Testcase for String.proto.includes(); typos
8 years ago
Sami Vaarala
bbb56c91aa
Tests for String.prototype.{startsWith,endsWith}
8 years ago
Sami Vaarala
026475476f
Octane Makefile fix, avoid recloning
8 years ago
Sami Vaarala
dd43bf1f83
Add Octane benchmark
8 years ago
Sami Vaarala
399edf077e
Add closure microbenchmark (inner functions)
8 years ago
Sami Vaarala
8ab1f5884f
Add perf tests to exercise object hash performance
8 years ago
Sami Vaarala
4b9f17f26a
Add typedarray .set(undefined) bug test
8 years ago
Sami Vaarala
54e62c66c2
Perf testcase for interning numbers
8 years ago
Sami Vaarala
e866596c22
Perf test for arridx parsing
8 years ago
Sami Vaarala
bfa599dc66
More coverage for arridx parsing
8 years ago
Sami Vaarala
5a6b5dde0d
Add bug testcase for duk_hstring arridx overflow
8 years ago
Sami Vaarala
bc8dd4e0b2
Testcase for JSON.stringify() plainbuf fastpath
8 years ago
Sami Vaarala
71a163f712
Perftest for JSON.stringify() plainbuf
8 years ago
Sami Vaarala
ef72a15194
Testcase for 'global' binding
8 years ago
Sami Vaarala
6789c3f9df
Add some initial memory tests
These can be executed using valgrind --tool=massif to get a rough idea of
memory behavior. Valgrind massif using libc allocation primitives does
carry overhead that a proper pool allocator doesn't (they can be made
overhead free); but these numbers are still useful as guides.
8 years ago
Sami Vaarala
da8a7b3b06
Bug testcase for assert failure
8 years ago
Sami Vaarala
73bb1cdb26
Add 2.0 symbols to API symbol test case
8 years ago
Sami Vaarala
f973b60787
Test coverage for constructability and name binding
Testcases for Function constructor and duk_compile() constructability
and namebinding flags. They were broken when adding ES2015 object literal
features.
8 years ago
Sami Vaarala
8f4d0b8645
Testcase ES6/7 -> ES2015/ES2016 renames
8 years ago
Sami Vaarala
fcd8cd4c13
API testcase for duk_is_symbol()
8 years ago
Sami Vaarala
e5011c9b9e
Testcases for ArrayBuffer offset
8 years ago
Sami Vaarala
2533fec044
Testcase changes for plain buffer = Uint8Array
8 years ago
Sami Vaarala
911d2915ba
Test changes for String.fromBufferRaw()
8 years ago
Sami Vaarala
ad6c1cb7e4
Add test_is_buffer_data() testcase
8 years ago
Sami Vaarala
467f4b9b2a
API testcase fix for time component rename
8 years ago
Sami Vaarala
60783bff65
API test updates for zero/one based time
8 years ago
Sami Vaarala
81ec43cca7
Add object literal ancestor test
8 years ago
Sami Vaarala
5048e56476
Add initial Symbol test cases
8 years ago
Sami Vaarala
b1ebc56aab
Testcase for duk_set_length()
8 years ago
Sami Vaarala
ba57c486b4
Testcase for %TypedArray%
8 years ago