gecko-dev/mfbt/tests
Gerald Squelart 5bea7c3a56 Bug 1410252 - MakeNotNull<PointerType, OptionalPointeeType>(Args...) - r=njn
MakeNotNull is similar to UniquePtr, in that it combines the infallible
allocation and construction of an object on the heap and wraps the (raw or
smart) pointer into a NotNull.
It skips the unnecessary null check from WrapNotNull, and removes the usual
naked 'new' used in many WrapNotNull calls.

MozReview-Commit-ID: UwCrhDnkUg

--HG--
extra : rebase_source : 5a027165fc17ed748783c7ffda03eb421865ad6e
2017-10-20 14:56:01 +11:00
..
gtest Bug 1405582 - Span: delete implicit constructors for char* and char16_t*. r=froydnj,hsivonen 2017-09-20 00:38:07 -07:00
TestArray.cpp
TestArrayUtils.cpp
TestAtomics.cpp
TestBinarySearch.cpp
TestBloomFilter.cpp
TestBufferList.cpp
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 1396723 - Simplify the trait users of DoublyLinkedList need to define. r=froydnj 2017-09-02 08:09:58 +09:00
TestEndian.cpp
TestEnumSet.cpp
TestEnumTypeTraits.cpp
TestEnumeratedArray.cpp
TestFastBernoulliTrial.cpp
TestFloatingPoint.cpp
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
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
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 1410252 - MakeNotNull<PointerType, OptionalPointeeType>(Args...) - r=njn 2017-10-20 14:56:01 +11: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 1397056 - Add Contains and a return parameter to Remove for SmallPointerArray. r=froydnj 2017-09-12 14:11:47 -04:00
TestSplayTree.cpp
TestTemplateLib.cpp
TestThreadSafeWeakPtr.cpp Bug 1404742 - add test for ThreadSafeWeakPtr. r=nfroyd 2017-10-18 14:21:27 -04:00
TestTuple.cpp
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 1329019 - Allow specifying capacity to Vector::replaceRawBuffer (r=froydnj) 2017-09-22 10:34:24 -05:00
TestWeakPtr.cpp
TestXorShift128PlusRNG.cpp
moz.build Bug 1404742 - add test for ThreadSafeWeakPtr. r=nfroyd 2017-10-18 14:21:27 -04:00