0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test
Matt Loring d3c0d1bb8b buffer: throw range error before truncating write
The check to determine whether `noAssert` was set to true and thus
whether RangeErrors should be thrown was happening after the write was
truncated to the available size of the buffer. These checks now occur in
the correct order.

Fixes: https://github.com/nodejs/node/issues/5587
PR-URL: https://github.com/nodejs/node/pull/5605
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2016-03-21 21:51:33 -07:00
..
abort
addons test: add buffer alignment regression tests 2016-03-19 07:08:08 -07:00
cctest
debugger test: remove broken debugger scenarios 2016-03-07 11:20:43 -08:00
disabled buffer: add .from(), .alloc() and .allocUnsafe() 2016-03-16 08:34:02 -07:00
fixtures lib: simplify code with String.prototype.repeat() 2016-03-21 16:42:58 -07:00
gc tools: lint for spacing around unary operators 2016-02-04 10:56:17 -08:00
internet buffer: add .from(), .alloc() and .allocUnsafe() 2016-03-16 08:34:02 -07:00
known_issues test: add batch of known issue tests 2016-03-12 09:56:29 -05:00
message timers: give Timeouts a constructor name 2016-03-21 11:21:53 -04:00
parallel buffer: throw range error before truncating write 2016-03-21 21:51:33 -07:00
pummel lib: simplify code with String.prototype.repeat() 2016-03-21 16:42:58 -07:00
sequential buffer: add .from(), .alloc() and .allocUnsafe() 2016-03-16 08:34:02 -07:00
testpy
timers test: fix test-timers.reliability on OS X 2016-02-24 21:24:33 -08:00
.eslintrc
common.js test: apply Linux workaround to Linux only 2016-03-01 15:21:05 -08:00
README.md doc: document directories in test directory 2016-03-07 13:10:43 -08:00

Tests

abort

Tests for when the --abort-on-uncaught-exception flag is used.

Runs on CI
No

addons

Tests for addon functionality.

Runs on CI
Yes

cctest

C++ test that is run as part of the build process.

Runs on CI
Yes

debugger

Tests for debugger functionality.

Runs on CI
No

disabled

Tests that have been disabled from running for various reasons.

Runs on CI
No

fixtures

Test fixtures used in various tests throughout the test suite.

gc

Tests for garbage collection related functionality.

Runs on CI
No

internet

Tests that make real outbound connections (mainly networking related modules). Tests for networking related modules may also be present in other directories, but those tests do not make outbound connections.

Runs on CI
No

known_issues

Tests reproducing known issues within the system.

Runs on CI
No

message

Tests for messages that are output for various conditions (console.log, error messages etc.)

Runs on CI
Yes

parallel

Various tests that are able to be run in parallel.

Runs on CI
Yes

pummel

Various tests for various modules / system functionality operating under load.

Runs on CI
No

sequential

Various tests that are run sequentially.

Runs on CI
Yes

testpy

Test configuration utility used by various test suites.

timers

Tests for timing utilities (setTimeout and setInterval).

Runs on CI
No