gecko-dev/mfbt/tests
Emilio Cobos Álvarez c3ee3ac3a8 Bug 1418624 - Allow mozilla::Result to be moved, make unwrap{,Err}() move, and add inspect() APIs that return references. r=froydnj
Also adjust some of the callers that were either calling unwrap() repeatedly on
the same result, or were doing silly copies, to use inspect().

We could try to use stuff like:

https://clang.llvm.org/docs/AttributeReference.html#consumed-annotation-checking

Differential Revision: https://phabricator.services.mozilla.com/D41425

--HG--
extra : moz-landing-system : lando
2019-08-13 08:26:18 +00:00
..
gtest Bug 1542146 - Apply the change with the option StatementMacros from clang-format-8 r=andi 2019-04-05 21:42:17 +00:00
TestAlgorithm.cpp
TestArray.cpp
TestArrayUtils.cpp
TestAtomics.cpp
TestBinarySearch.cpp
TestBloomFilter.cpp
TestBufferList.cpp Bug 1353767 - BufferList methods that can OOM should all be MOZ_MUST_USE. r=billm 2019-03-26 13:24:00 +02:00
TestCasting.cpp
TestCeilingFloor.cpp
TestCheckedInt.cpp
TestCountPopulation.cpp
TestCountZeroes.cpp
TestDefineEnum.cpp
TestDoublyLinkedList.cpp
TestEndian.cpp
TestEnumSet.cpp
TestEnumTypeTraits.cpp
TestEnumeratedArray.cpp Bug 1546697 - EnumeratedArray should have a copy assignment operator. r=froydnj 2019-04-25 16:40:47 +00:00
TestFastBernoulliTrial.cpp
TestFloatingPoint.cpp Bug 1526507 - Use std::exp2{,f}(n) instead of pow{,f}(2.0, n) in TestFloatingPoint.cpp to be (hopefully) more resilient against standard library imprecision in the latter. r=dmajor 2019-03-25 17:54:25 +00:00
TestFunctionTypeTraits.cpp
TestIntegerPrintfMacros.cpp
TestIntegerRange.cpp
TestJSONWriter.cpp
TestLinkedList.cpp
TestMacroArgs.cpp
TestMacroForEach.cpp
TestMathAlgorithms.cpp
TestMaybe.cpp
TestNonDereferenceable.cpp
TestNotNull.cpp
TestPair.cpp
TestPoisonArea.cpp
TestRandomNum.cpp
TestRange.cpp Bug 1469155 - Add overloading for std::nullptr_t for RangedPtr equality operator r=froydnj 2019-03-26 19:10:24 +00:00
TestRefPtr.cpp
TestResult.cpp Bug 1418624 - Allow mozilla::Result to be moved, make unwrap{,Err}() move, and add inspect() APIs that return references. r=froydnj 2019-08-13 08:26:18 +00:00
TestRollingMean.cpp
TestSHA1.cpp
TestSPSCQueue.cpp Bug 1546012 - Avoid slow sleeps on Android in TestSPSCQueue; r=padenot 2019-04-23 13:39:36 +00:00
TestSaturate.cpp
TestScopeExit.cpp
TestSegmentedVector.cpp
TestSmallPointerArray.cpp Bug 1562789 - SmallPointerArray should support moves, and have an IsEmpty() helper. r=froydnj 2019-07-02 18:50:04 +00:00
TestSplayTree.cpp
TestTemplateLib.cpp
TestTextUtils.cpp Bug 1453456 - Remove nsCRT::IsAscii(null-terminated string) in favor of mozilla::IsAsciiNullTerminated. r=froydnj 2019-02-25 12:22:24 -08:00
TestThreadSafeWeakPtr.cpp
TestTuple.cpp
TestTypeTraits.cpp
TestTypedEnum.cpp
TestUniquePtr.cpp
TestUtf8.cpp
TestVariant.cpp Bug 1546853: Implement mozilla::Variant::addTagToHash. r=froydnj 2019-04-25 14:03:40 +00:00
TestVector.cpp Bug 1539322 - Add Vector::eraseIf and Vector::eraseIfEqual - r=froydnj 2019-03-28 01:00:35 +00:00
TestWeakPtr.cpp
TestWrappingOperations.cpp
TestXorShift128PlusRNG.cpp
moz.build Bug 1512504 - Remove support for MSVC. r=froydnj 2019-02-14 21:45:27 +00:00