v8/test/unittests/base
Clemens Hammacher eb18a5146b [base] Fix integer check in CHECK/DCHECK macros
The current implementation failed when comparing an integral type to a
reference to an integral type of different signedness (see updated
unittest).
This CL fixes the checks to actually test the std::decay<T>::type,
i.e. with all references, const or volatile modifiers stripped.

R=jochen@chromium.org, ishell@chromium.org
TEST=unittests/LoggingTest.CompareWithReferenceType

Change-Id: Ib0ac077a91e0409ada7a80b68150cb98cbdd32f1
Reviewed-on: https://chromium-review.googlesource.com/502814
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Reviewed-by: Igor Sheludko <ishell@chromium.org>
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#45271}
2017-05-12 09:39:48 +00:00
..
platform Stop allocating RW memory in AllocateGuarded 2017-05-04 02:19:20 +00:00
utils Move unit tests to test/unittests. 2014-10-01 08:34:25 +00:00
atomic-utils-unittest.cc Fix more -Wsign-compare warnings in heap, mips, base, etc. 2016-11-11 14:56:10 +00:00
bits-unittest.cc Reland "[base] Introduce RoundUpToPowerOfTwo64" 2017-04-27 17:43:38 +00:00
cpu-unittest.cc [x86] Disable AVX unless the operating system explicitly claims to support it. 2015-01-27 09:59:24 +00:00
division-by-constant-unittest.cc Remove v8stdint.h, it doesn't serve a purpose anymore. 2014-10-21 08:25:14 +00:00
flags-unittest.cc Remove v8stdint.h, it doesn't serve a purpose anymore. 2014-10-21 08:25:14 +00:00
functional-unittest.cc [turbofan] Fix HashCode/Equals for floating point operators. 2014-10-08 07:32:07 +00:00
ieee754-unittest.cc [builtins] Unify most of the remaining Math builtins. 2016-07-01 11:13:02 +00:00
iterator-unittest.cc Avoid signed/unsigned warning in VC++ 2017 builds 2017-04-24 19:29:59 +00:00
logging-unittest.cc [base] Fix integer check in CHECK/DCHECK macros 2017-05-12 09:39:48 +00:00
sys-info-unittest.cc Remove NaCl support. 2016-07-27 07:50:31 +00:00