gecko-dev/mfbt/tests
Gerald Squelart 81d28b5530 Bug 1719959 - Better Tag type choice, fixed corresponding test - r=emilio
On some systems, uint_fast8_t may be as big as size_t! So the `static_assert(sizeof(aIndex) < sizeof(size_t))` could fail there. The better test here is to check for the expected type (uint_fast8_t).

Now, since uint_fast8_t can be bigger than 8 bits, we may as well choose it for variant sizes greater than 255, up to UINT_FAST8_MAX.
(The added parentheses help clang-format distinguish '<' for tests vs for templates.)

Differential Revision: https://phabricator.services.mozilla.com/D119574
2021-07-11 09:43:50 +00:00
..
gtest Bug 1717526 - String's implicit conversion operator causes COW relocations, r=xpcom-reviewers,mccr8 2021-06-23 01:57:00 +00:00
moz.build Bug 1704775 part 10 - Disable unsupported c++ tests. r=glandium 2021-04-27 06:09:27 +00:00
TestAlgorithm.cpp
TestArray.cpp
TestArrayUtils.cpp
TestAtomicBitfields.cpp
TestAtomics.cpp
TestBinarySearch.cpp Bug 1695817 - Part 5: Add std::equal_range equivalent in MFBT. r=glandium 2021-05-28 22:35:58 +00:00
TestBitSet.cpp
TestBloomFilter.cpp Bug 1690274 - Part 2: Add mozilla::BitBloomFilter. r=sg 2021-02-16 22:07:05 +00:00
TestBufferList.cpp Bug 1717808 - aIter must be valid after extracting last segment of a BufferList, r=glandium 2021-07-07 18:03:03 +00:00
TestCasting.cpp
TestCeilingFloor.cpp
TestCheckedInt.cpp
TestCompactPair.cpp
TestCountPopulation.cpp
TestCountZeroes.cpp
TestDefineEnum.cpp
TestDoublyLinkedList.cpp
TestEndian.cpp
TestEnumeratedArray.cpp
TestEnumSet.cpp
TestEnumTypeTraits.cpp
TestFastBernoulliTrial.cpp
TestFloatingPoint.cpp
TestFunctionRef.cpp
TestFunctionTypeTraits.cpp
TestHashTable.cpp
TestIntegerRange.cpp
TestJSONWriter.cpp
TestLinkedList.cpp
TestMacroArgs.cpp
TestMacroForEach.cpp
TestMathAlgorithms.cpp
TestMaybe.cpp
TestNonDereferenceable.cpp
TestNotNull.cpp
TestPoisonArea.cpp
TestRandomNum.cpp Bug 1690167 - Allocate some memory before running RandomNum tests. r=Gankra 2021-03-10 23:52:41 +00:00
TestRange.cpp
TestRefPtr.cpp Bug 1710145 - Deduction guide RefPtr(already_AddRefed<T>) -> RefPtr<T> - r=kmag 2021-05-11 21:55:21 +00:00
TestResult.cpp Bug 1601556 - Make Result<V, E> a literal type if V and E are literal types and PackingStrategy is not Variant. r=emilio 2021-03-23 12:35:19 +00:00
TestRollingMean.cpp
TestSaturate.cpp
TestScopeExit.cpp
TestSegmentedVector.cpp Bug 1571631 - Replace MOZ_MUST_USE with [[nodiscard]] in mfbt. r=sg 2021-03-17 03:01:21 +00:00
TestSHA1.cpp
TestSmallPointerArray.cpp
TestSplayTree.cpp
TestSPSCQueue.cpp
TestTemplateLib.cpp
TestTextUtils.cpp
TestThreadSafeWeakPtr.cpp
TestTuple.cpp
TestTypedEnum.cpp
TestTypeTraits.cpp
TestUniquePtr.cpp
TestUtf8.cpp
TestVariant.cpp Bug 1719959 - Better Tag type choice, fixed corresponding test - r=emilio 2021-07-11 09:43:50 +00:00
TestVector.cpp
TestWeakPtr.cpp
TestWrappingOperations.cpp
TestXorShift128PlusRNG.cpp