Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Orlenko <eaglexrlnk@gmail.com>2017-04-05 17:05:55 +0300
committerAlexey Orlenko <eaglexrlnk@gmail.com>2017-04-08 11:57:40 +0300
commitb03f1f0c01b2efbc57766998371d41f04700a6ba (patch)
treee01fd23919d7d4ce7273a4b92f4a2f231308f84e /node.gyp
parent8fbace163afbd61b5efc57cf94414be904bf0188 (diff)
test: add basic cctest for base64.h
This commit adds C++ tests for `base64_encode()` and `base64_decode()` functions defined in `base64.h`. The functionality is already being tested indirectly in JavaScript tests for Buffer, but it won't hurt to test the low-level functions too, especially given that they aren't only used in the internal Buffer implementation, Chrome inspector protocol support relies upon them too. PR-URL: https://github.com/nodejs/node/pull/12238 Refs: https://github.com/nodejs/node/pull/12146#issuecomment-291559685 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index 016cfb409a9..12913987246 100644
--- a/node.gyp
+++ b/node.gyp
@@ -641,6 +641,7 @@
],
'sources': [
+ 'test/cctest/test_base64.cc',
'test/cctest/test_util.cc',
'test/cctest/test_url.cc'
],