0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test
Trevor Norris 49175e6ae2 buffer: clean up copy() asserts and tests
Argument checks were simplified by setting all undefined/NaN or out of
bounds values equal to their defaults.

Also copy() tests had a flaw that each buffer had the same bit pattern at
the same offset. So even if the copy failed, the bit-by-bit comparison
would have still been true. This was fixed by filling each buffer with a
unique value before copy operations.
2013-01-25 11:59:21 +01:00
..
addons test: update addons .gitignore 2012-05-24 14:07:09 +02:00
disabled test: disable simple/test-debug-brk-file 2013-01-07 03:40:12 +01:00
fixtures test: 2 resume() calls needed to flush streams 2012-12-19 10:55:23 -08:00
gc test: use the debug build of node-weak when necessary 2012-06-13 17:58:28 -07:00
internet dns: make error message match errno 2013-01-18 12:13:32 +01:00
message test: make tests work with newer v8 2013-01-02 12:13:47 +04:00
pummel test-pummel: Add call validation in net-write-callbacks 2012-12-19 10:55:23 -08:00
simple buffer: clean up copy() asserts and tests 2013-01-25 11:59:21 +01:00
common.js test: child process { stdio:'inherit' } 2013-01-11 09:14:09 -08:00