Sami Vaarala
4de902308b
Extend lightfunc and "is calls" API tests
- Cover duk_is_primitive(), duk_is_object(), and duk_is_object_coercible()
for lightfuncs
- Cover invalid index for all duk_is_xxx() calls
9 years ago
Sami Vaarala
7105c5953e
Add bug testcase for GH-337
9 years ago
Sami Vaarala
d9994a3de3
Add testcase for GH-336
This is not actually a Duktape bug, but rather a bug in the platform double
to integer coercion which impacts Duktape.
9 years ago
Sami Vaarala
8e38a329c6
Add missing API calls to symbol test
9 years ago
Sami Vaarala
7f220dd804
Fix testcase expect string to match actual desired
9 years ago
Sami Vaarala
696cea2491
API testcase for pushing Duktape.Buffer
This should work even with support turned off for other buffer objects.
9 years ago
Sami Vaarala
c4141cd331
Bufferobject push wrap API tests
9 years ago
Sami Vaarala
2ce4eab4d4
Add API testcase for duk_push_buffer_object()
9 years ago
Sami Vaarala
1bdf3b899b
Preliminary JSON.stringify() Proxy test
9 years ago
Sami Vaarala
3d04b9b17f
Add Proxy test to JSON fastpath testcase
9 years ago
Sami Vaarala
f893686d7a
Resolve testcase FIXMEs
In some cases missing test coverage was added, in other cases FIXMEs
were downgraded to XXX when coverage is provided by other tests but
missing from some e.g. a test exercising a certain specification section.
Ecmascript testcases now pass code policy FIXME checks.
9 years ago
Sami Vaarala
9e3ab60213
API testcase for external buffers, TypedArray.set
Add an API testcase for external buffers. Also implement some TypedArray
tests which were not possible without external buffers. In particular,
test TypedArray.set() behavior when there are two different buffer objects
which point to overlapping memory areas (not normally possible with fixed
or dynamic buffers).
Also trivial testcase cleanups.
10 years ago
Bruce Pascoe
e7f83338e7
Add testcase for GH-191 fix
9 years ago
Sami Vaarala
c3dc94daa5
Fix code policy violations in Ecmascript tests
9 years ago
Sami Vaarala
95681fbe0d
Test case to illustrate debugger bug (GH-303)
This test is not really useful unless you debug it manually at present.
9 years ago
Sami Vaarala
4b6ff5191e
Bug testcase for GH-287 (finally internal error)
9 years ago
Sami Vaarala
f05963dc7e
Testcase to demonstrate Proxy preincr behavior
9 years ago
Sami Vaarala
8625fd5f51
Curr_pc related bug testcases
9 years ago
Sami Vaarala
542b769691
Testcase to ensure dump/load preserves fastints
9 years ago
Sami Vaarala
7e575a1f90
Bug testcase for curr_pc valgrind issue
9 years ago
Sami Vaarala
5cfc11133c
Bug testcase for curr_pc sync issue
9 years ago
Sami Vaarala
0c6686a29f
Perf test cases improvements: LDCONST, LDREG
9 years ago
Sami Vaarala
e9d9cc4ad5
Perf test for constant load
9 years ago
Sami Vaarala
e4c433e879
Add testcase for compiler.rst example
9 years ago
Sami Vaarala
7c0349af45
Perf test for global variable lookup
9 years ago
Sami Vaarala
5a953499ce
Bug testcases for Proxy object binding (GH-221)
9 years ago
Sami Vaarala
32d2939050
Add duk_pnew() API test
9 years ago
Sami Vaarala
3d6985c630
Fix non-ascii chars in API testcase
9 years ago
Sami Vaarala
7ec48f577d
Testcases for eval 'this' binding (C and ES)
9 years ago
Sami Vaarala
7fd3de0fba
Bug testcase for GH-268
9 years ago
Sami Vaarala
f16f2bcca3
Bug testcase for GH-254, error .fileName
9 years ago
Sami Vaarala
707306a073
Testcases for JSON.stringify() fast path
10 years ago
Sami Vaarala
29308c8018
Testcase for JX -Infinity bug (GH-247)
9 years ago
Sami Vaarala
675ce20437
Testcase improvements for JSON bufwriter use
Among new tests and testcase fixes, rethrow on perf test errors. This makes
perftest output better because if a testcase uses an unsupported feature (or
otherwise throws) it will get listed as "n/a" automatically.
9 years ago
Sami Vaarala
4d7c7be2da
Rename incorrectly named test
9 years ago
Sami Vaarala
028e28bbd7
API testcase for dump/load bytecode
9 years ago
Sami Vaarala
af696adec5
Remove Ditz issue references
9 years ago
Sami Vaarala
f436881bfd
Fix testcase refs to new directories
9 years ago
Sami Vaarala
01a44f4157
Relocate tests to common toplevel tests/ dir
9 years ago