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
TestAlgorithm.cpp
TestArray.cpp Bug 1684173 - Add newline character at end of files when missing r=sylvestre,geckoview-reviewers,agi 2021-01-07 08:53:08 +00:00
TestArrayUtils.cpp
TestAtomicBitfields.cpp Bug 1684173 - Add newline character at end of files when missing r=sylvestre,geckoview-reviewers,agi 2021-01-07 08:53:08 +00:00
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 Bug 1686219 - Add BitSet::SetAll and ResetAll methods r=heycam 2021-01-20 10:03:53 +00:00
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
TestEnumSet.cpp
TestEnumTypeTraits.cpp
TestEnumeratedArray.cpp
TestFastBernoulliTrial.cpp
TestFloatingPoint.cpp Bug 1687441 part 7 - Add NumberEqualsInt64 and NumberIsInt64 to MFBT. r=sg 2021-01-27 15:52:29 +00:00
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
TestSHA1.cpp
TestSPSCQueue.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
TestSmallPointerArray.cpp
TestSplayTree.cpp
TestTemplateLib.cpp
TestTextUtils.cpp
TestThreadSafeWeakPtr.cpp Bug 1687391 - Avoid using a spinlock in ThreadSafeWeakReference, r=glandium,mccr8,Gankra,sg 2021-02-03 17:00:04 +00:00
TestTuple.cpp
TestTypeTraits.cpp
TestTypedEnum.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
moz.build Bug 1704775 part 10 - Disable unsupported c++ tests. r=glandium 2021-04-27 06:09:27 +00:00