Lines Matching refs:OptionalTest
186 TEST(OptionalTest, DefaultConstructor) { in TEST() argument
203 TEST(OptionalTest, CopyConstructor) { in TEST() argument
241 TEST(OptionalTest, ValueConstructor) { in TEST() argument
268 TEST(OptionalTest, MoveConstructor) { in TEST() argument
336 TEST(OptionalTest, MoveValueConstructor) { in TEST() argument
371 TEST(OptionalTest, ConvertingCopyConstructor) { in TEST() argument
386 TEST(OptionalTest, ConvertingMoveConstructor) { in TEST() argument
430 TEST(OptionalTest, ConstructorForwardArguments) { in TEST() argument
456 TEST(OptionalTest, ConstructorForwardInitListAndArguments) { in TEST() argument
472 TEST(OptionalTest, ForwardConstructor) { in TEST() argument
549 TEST(OptionalTest, NulloptConstructor) { in TEST() argument
554 TEST(OptionalTest, AssignValue) { in TEST() argument
596 TEST(OptionalTest, AssignObject) { in TEST() argument
689 TEST(OptionalTest, AssignObject_rvalue) { in TEST() argument
787 TEST(OptionalTest, AssignNull) { in TEST() argument
813 TEST(OptionalTest, AssignOverload) { in TEST() argument
997 TEST(OptionalTest, OperatorStar) { in TEST() argument
1014 TEST(OptionalTest, OperatorStar_rvalue) { in TEST() argument
1020 TEST(OptionalTest, OperatorArrow) { in TEST() argument
1025 TEST(OptionalTest, Value_rvalue) { in TEST() argument
1032 TEST(OptionalTest, ValueOr) { in TEST() argument
1079 TEST(OptionalTest, Swap_bothNoValue) { in TEST() argument
1089 TEST(OptionalTest, Swap_inHasValue) { in TEST() argument
1101 TEST(OptionalTest, Swap_outHasValue) { in TEST() argument
1112 TEST(OptionalTest, Swap_bothValue) { in TEST() argument
1125 TEST(OptionalTest, Emplace) { in TEST() argument
1169 TEST(OptionalTest, Equals_TwoEmpty) { in TEST() argument
1176 TEST(OptionalTest, Equals_TwoEquals) { in TEST() argument
1183 TEST(OptionalTest, Equals_OneEmpty) { in TEST() argument
1190 TEST(OptionalTest, Equals_TwoDifferent) { in TEST() argument
1197 TEST(OptionalTest, Equals_DifferentType) { in TEST() argument
1204 TEST(OptionalTest, NotEquals_TwoEmpty) { in TEST() argument
1211 TEST(OptionalTest, NotEquals_TwoEquals) { in TEST() argument
1218 TEST(OptionalTest, NotEquals_OneEmpty) { in TEST() argument
1225 TEST(OptionalTest, NotEquals_TwoDifferent) { in TEST() argument
1232 TEST(OptionalTest, NotEquals_DifferentType) { in TEST() argument
1239 TEST(OptionalTest, Less_LeftEmpty) { in TEST() argument
1246 TEST(OptionalTest, Less_RightEmpty) { in TEST() argument
1253 TEST(OptionalTest, Less_BothEmpty) { in TEST() argument
1260 TEST(OptionalTest, Less_BothValues) { in TEST() argument
1281 TEST(OptionalTest, Less_DifferentType) { in TEST() argument
1288 TEST(OptionalTest, LessEq_LeftEmpty) { in TEST() argument
1295 TEST(OptionalTest, LessEq_RightEmpty) { in TEST() argument
1302 TEST(OptionalTest, LessEq_BothEmpty) { in TEST() argument
1309 TEST(OptionalTest, LessEq_BothValues) { in TEST() argument
1330 TEST(OptionalTest, LessEq_DifferentType) { in TEST() argument
1337 TEST(OptionalTest, Greater_BothEmpty) { in TEST() argument
1344 TEST(OptionalTest, Greater_LeftEmpty) { in TEST() argument
1351 TEST(OptionalTest, Greater_RightEmpty) { in TEST() argument
1358 TEST(OptionalTest, Greater_BothValue) { in TEST() argument
1379 TEST(OptionalTest, Greater_DifferentType) { in TEST() argument
1386 TEST(OptionalTest, GreaterEq_BothEmpty) { in TEST() argument
1393 TEST(OptionalTest, GreaterEq_LeftEmpty) { in TEST() argument
1400 TEST(OptionalTest, GreaterEq_RightEmpty) { in TEST() argument
1407 TEST(OptionalTest, GreaterEq_BothValue) { in TEST() argument
1428 TEST(OptionalTest, GreaterEq_DifferentType) { in TEST() argument
1435 TEST(OptionalTest, OptNullEq) { in TEST() argument
1446 TEST(OptionalTest, NullOptEq) { in TEST() argument
1457 TEST(OptionalTest, OptNullNotEq) { in TEST() argument
1468 TEST(OptionalTest, NullOptNotEq) { in TEST() argument
1479 TEST(OptionalTest, OptNullLower) { in TEST() argument
1490 TEST(OptionalTest, NullOptLower) { in TEST() argument
1501 TEST(OptionalTest, OptNullLowerEq) { in TEST() argument
1512 TEST(OptionalTest, NullOptLowerEq) { in TEST() argument
1523 TEST(OptionalTest, OptNullGreater) { in TEST() argument
1534 TEST(OptionalTest, NullOptGreater) { in TEST() argument
1545 TEST(OptionalTest, OptNullGreaterEq) { in TEST() argument
1556 TEST(OptionalTest, NullOptGreaterEq) { in TEST() argument
1567 TEST(OptionalTest, ValueEq_Empty) { in TEST() argument
1572 TEST(OptionalTest, ValueEq_NotEmpty) { in TEST() argument
1583 TEST(OptionalTest, ValueEq_DifferentType) { in TEST() argument
1588 TEST(OptionalTest, EqValue_Empty) { in TEST() argument
1593 TEST(OptionalTest, EqValue_NotEmpty) { in TEST() argument
1604 TEST(OptionalTest, EqValue_DifferentType) { in TEST() argument
1609 TEST(OptionalTest, ValueNotEq_Empty) { in TEST() argument
1614 TEST(OptionalTest, ValueNotEq_NotEmpty) { in TEST() argument
1630 TEST(OptionalTest, NotEqValue_Empty) { in TEST() argument
1635 TEST(OptionalTest, NotEqValue_NotEmpty) { in TEST() argument
1646 TEST(OptionalTest, NotEqValue_DifferentType) { in TEST() argument
1651 TEST(OptionalTest, ValueLess_Empty) { in TEST() argument
1656 TEST(OptionalTest, ValueLess_NotEmpty) { in TEST() argument
1676 TEST(OptionalTest, LessValue_Empty) { in TEST() argument
1681 TEST(OptionalTest, LessValue_NotEmpty) { in TEST() argument
1696 TEST(OptionalTest, LessValue_DifferentType) { in TEST() argument
1701 TEST(OptionalTest, ValueLessEq_Empty) { in TEST() argument
1706 TEST(OptionalTest, ValueLessEq_NotEmpty) { in TEST() argument
1721 TEST(OptionalTest, ValueLessEq_DifferentType) { in TEST() argument
1726 TEST(OptionalTest, LessEqValue_Empty) { in TEST() argument
1731 TEST(OptionalTest, LessEqValue_NotEmpty) { in TEST() argument
1746 TEST(OptionalTest, LessEqValue_DifferentType) { in TEST() argument
1751 TEST(OptionalTest, ValueGreater_Empty) { in TEST() argument
1756 TEST(OptionalTest, ValueGreater_NotEmpty) { in TEST() argument
1771 TEST(OptionalTest, ValueGreater_DifferentType) { in TEST() argument
1776 TEST(OptionalTest, GreaterValue_Empty) { in TEST() argument
1781 TEST(OptionalTest, GreaterValue_NotEmpty) { in TEST() argument
1796 TEST(OptionalTest, GreaterValue_DifferentType) { in TEST() argument
1801 TEST(OptionalTest, ValueGreaterEq_Empty) { in TEST() argument
1806 TEST(OptionalTest, ValueGreaterEq_NotEmpty) { in TEST() argument
1821 TEST(OptionalTest, ValueGreaterEq_DifferentType) { in TEST() argument
1826 TEST(OptionalTest, GreaterEqValue_Empty) { in TEST() argument
1831 TEST(OptionalTest, GreaterEqValue_NotEmpty) { in TEST() argument
1846 TEST(OptionalTest, GreaterEqValue_DifferentType) { in TEST() argument
1851 TEST(OptionalTest, NotEquals) { in TEST() argument
1877 TEST(OptionalTest, NotEqualsNull) { in TEST() argument
1900 TEST(OptionalTest, MakeOptional) { in TEST() argument
1970 TEST(OptionalTest, NonMemberSwap_bothNoValue) { in TEST() argument
1980 TEST(OptionalTest, NonMemberSwap_inHasValue) { in TEST() argument
1991 TEST(OptionalTest, NonMemberSwap_outHasValue) { in TEST() argument
2002 TEST(OptionalTest, NonMemberSwap_bothValue) { in TEST() argument
2015 TEST(OptionalTest, Hash_OptionalReflectsInternal) { in TEST() argument
2032 TEST(OptionalTest, Hash_NullOptEqualsNullOpt) { in TEST() argument
2040 TEST(OptionalTest, Hash_UseInSet) { in TEST() argument
2050 TEST(OptionalTest, HasValue) { in TEST() argument
2067 TEST(OptionalTest, Reset_int) { in TEST() argument
2077 TEST(OptionalTest, Reset_Object) { in TEST() argument
2087 TEST(OptionalTest, Reset_NoOp) { in TEST() argument
2095 TEST(OptionalTest, AssignFromRValue) { in TEST() argument
2105 TEST(OptionalTest, DontCallDefaultCtor) { in TEST() argument
2114 TEST(OptionalTest, DontCallNewMemberFunction) { in TEST() argument
2122 TEST(OptionalTest, Noexcept) { in TEST() argument