gecko-dev/mfbt/tests
Botond Ballo 2c2d3ded79 Bug 1371771 - Add a MOZ_DEFINE_ENUM macro and variants to MFBT. r=froydnj
The macro simultaneously declares an enumeration and a count of its
enumerators.

A few variants of the macro are also provided to handle things like
enum classes, underlying types, and enumerations declared at class
scope.

MozReview-Commit-ID: 3z6yHnfXbLj

--HG--
extra : rebase_source : 92c333693e4bbf85b89cd3d7ac5b31f4b5434367
2017-06-30 19:58:11 -04:00
..
gtest Bug 1359874 - Make Span::Elements() always return a non-null pointer. r=froydnj. 2017-06-13 13:22:34 +03:00
TestArray.cpp Bug 1309466 - Add Test for the init value by constructor. r=froydnj 2016-10-19 18:12:11 +08:00
TestArrayUtils.cpp
TestAtomics.cpp
TestBinarySearch.cpp
TestBloomFilter.cpp
TestBufferList.cpp Bug 1297981 - Delete BufferList::FlattenBytes and Pickle::FlattenBytes. r=billm 2016-08-25 17:15:38 +08:00
TestCasting.cpp
TestCeilingFloor.cpp
TestCheckedInt.cpp
TestCountPopulation.cpp
TestCountZeroes.cpp
TestDefineEnum.cpp Bug 1371771 - Add a MOZ_DEFINE_ENUM macro and variants to MFBT. r=froydnj 2017-06-30 19:58:11 -04:00
TestDoublyLinkedList.cpp Bug 1373525 - mfbt: Use unused GetPrev() member function in DoublyLinkedList test. r=froydnj 2017-06-11 14:39:42 -07:00
TestEndian.cpp
TestEnumSet.cpp
TestEnumTypeTraits.cpp Bug 1297306 - part4:rename IsEnumFittingWithin with EnumTypeFitsWithin and move it to mfbt/EnumTypeTraits.h. r=froydnj 2016-09-07 10:20:16 +08:00
TestEnumeratedArray.cpp Bug 1309466 - Add Test for the init value by constructor. r=froydnj 2016-10-19 18:12:11 +08:00
TestFastBernoulliTrial.cpp
TestFloatingPoint.cpp Bug 1312620 - Add IsPositiveZero function to mfbt and use it to replace MPhi by MNaNToZero iff c is +0.0. r=nbp, r=waldo 2016-10-26 17:47:42 +02:00
TestIntegerPrintfMacros.cpp Bug 1349957 Change reference (in disabled code) to new/correct member r=froydnj 2017-03-23 10:27:25 -05:00
TestIntegerRange.cpp Bug 1315274 - rename mozilla::MakeRange to mozilla::IntegerRange; r=Waldo 2017-01-06 09:22:53 -05:00
TestJSONWriter.cpp
TestLinkedList.cpp Bug 1310547 - Add removeAndGetNext/Previous methods to LinkedList (r=froydnj) 2016-10-30 22:04:01 -07:00
TestMacroArgs.cpp Bug 1369622 - Fix MOZ_FOR_EACH with an empty list. r=froydnj 2017-06-02 14:53:54 +09:00
TestMacroForEach.cpp Bug 1369622 - Fix MOZ_FOR_EACH with an empty list. r=froydnj 2017-06-02 14:53:54 +09:00
TestMathAlgorithms.cpp Bug 1299284 - Remove js::IsPowerOfTwo in favor of mozilla::IsPowerOfTwo. r=sfink 2016-07-21 00:36:38 -07:00
TestMaybe.cpp Bug 1287006 - Use |alignas(T) unsigned char mStorage[sizeof(T)]| instead of AlignedStorage2 inside Maybe. r=froydnj 2017-01-30 15:56:04 -08:00
TestNotNull.cpp Bug 1018486 - Part 8: Various other changes, r=smaug 2016-09-07 10:50:45 -04:00
TestPair.cpp
TestPoisonArea.cpp Bug 1158445 - posix_madvise() should be used instead of madvise on Solaris. r=froydnj, r=jandem 2017-06-09 00:59:32 -07:00
TestRange.cpp Bug 1315352 - enable Range<T> -> Range<const T> conversion; r=Waldo 2016-11-07 19:30:34 -04:00
TestRefPtr.cpp
TestResult.cpp Bug 1325073 - Rename mozilla::MakeGenericErrorResult to mozilla::Err. r=Waldo 2017-03-08 13:33:07 +00:00
TestRollingMean.cpp
TestSHA1.cpp
TestSaturate.cpp
TestScopeExit.cpp
TestSegmentedVector.cpp Bug 1358761 - dummy handling for return values in test, r=bustage 2017-05-05 10:43:37 +03:00
TestSmallPointerArray.cpp Bug 1331718 - Part 2: Add unit tests for SmallPointerArray. r=froydnj 2017-05-10 05:07:38 +02:00
TestSplayTree.cpp Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj 2016-08-24 14:47:04 +08:00
TestTemplateLib.cpp
TestTuple.cpp Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj 2016-08-24 14:47:04 +08:00
TestTypeTraits.cpp Bug 1318677 part 3 - mozilla::Result: Add a new packing strategy to pack small enumerated values in a single word. r=Waldo 2017-02-07 18:57:43 +00:00
TestTypedEnum.cpp Bug 1315624 - Delete operator&& and operator|| for CastableTypedEnumResult. r=froydnj 2016-11-07 15:00:16 +08:00
TestUniquePtr.cpp
TestVariant.cpp Bug 1338389 - Tests for Variant's detail::Nth and detail::SelectVariantType - r=froydnj 2017-06-06 16:59:00 +12:00
TestVector.cpp Bug 1352073: Follow-up: don't use reserved() in opt builds; r=bustage 2017-03-31 11:01:35 +02:00
TestWeakPtr.cpp
TestXorShift128PlusRNG.cpp
moz.build Bug 1371771 - Add a MOZ_DEFINE_ENUM macro and variants to MFBT. r=froydnj 2017-06-30 19:58:11 -04:00