Lines Matching refs:OptionalTest
203 TEST(OptionalTest, DefaultConstructor) { in TEST() argument
220 TEST(OptionalTest, CopyConstructor) { in TEST() argument
258 TEST(OptionalTest, ValueConstructor) { in TEST() argument
285 TEST(OptionalTest, MoveConstructor) { in TEST() argument
353 TEST(OptionalTest, MoveValueConstructor) { in TEST() argument
388 TEST(OptionalTest, ConvertingCopyConstructor) { in TEST() argument
403 TEST(OptionalTest, ConvertingMoveConstructor) { in TEST() argument
447 TEST(OptionalTest, ConstructorForwardArguments) { in TEST() argument
473 TEST(OptionalTest, ConstructorForwardInitListAndArguments) { in TEST() argument
489 TEST(OptionalTest, ForwardConstructor) { in TEST() argument
565 TEST(OptionalTest, NulloptConstructor) { in TEST() argument
570 TEST(OptionalTest, AssignValue) { in TEST() argument
612 TEST(OptionalTest, AssignObject) { in TEST() argument
705 TEST(OptionalTest, AssignObject_rvalue) { in TEST() argument
803 TEST(OptionalTest, AssignNull) { in TEST() argument
829 TEST(OptionalTest, AssignOverload) { in TEST() argument
1011 TEST(OptionalTest, OperatorStar) { in TEST() argument
1028 TEST(OptionalTest, OperatorStar_rvalue) { in TEST() argument
1034 TEST(OptionalTest, OperatorArrow) { in TEST() argument
1039 TEST(OptionalTest, Value_rvalue) { in TEST() argument
1046 TEST(OptionalTest, ValueOr) { in TEST() argument
1093 TEST(OptionalTest, Swap_bothNoValue) { in TEST() argument
1103 TEST(OptionalTest, Swap_inHasValue) { in TEST() argument
1115 TEST(OptionalTest, Swap_outHasValue) { in TEST() argument
1126 TEST(OptionalTest, Swap_bothValue) { in TEST() argument
1139 TEST(OptionalTest, Emplace) { in TEST() argument
1183 TEST(OptionalTest, Equals_TwoEmpty) { in TEST() argument
1190 TEST(OptionalTest, Equals_TwoEquals) { in TEST() argument
1197 TEST(OptionalTest, Equals_OneEmpty) { in TEST() argument
1204 TEST(OptionalTest, Equals_TwoDifferent) { in TEST() argument
1211 TEST(OptionalTest, Equals_DifferentType) { in TEST() argument
1218 TEST(OptionalTest, NotEquals_TwoEmpty) { in TEST() argument
1225 TEST(OptionalTest, NotEquals_TwoEquals) { in TEST() argument
1232 TEST(OptionalTest, NotEquals_OneEmpty) { in TEST() argument
1239 TEST(OptionalTest, NotEquals_TwoDifferent) { in TEST() argument
1246 TEST(OptionalTest, NotEquals_DifferentType) { in TEST() argument
1253 TEST(OptionalTest, Less_LeftEmpty) { in TEST() argument
1260 TEST(OptionalTest, Less_RightEmpty) { in TEST() argument
1267 TEST(OptionalTest, Less_BothEmpty) { in TEST() argument
1274 TEST(OptionalTest, Less_BothValues) { in TEST() argument
1295 TEST(OptionalTest, Less_DifferentType) { in TEST() argument
1302 TEST(OptionalTest, LessEq_LeftEmpty) { in TEST() argument
1309 TEST(OptionalTest, LessEq_RightEmpty) { in TEST() argument
1316 TEST(OptionalTest, LessEq_BothEmpty) { in TEST() argument
1323 TEST(OptionalTest, LessEq_BothValues) { in TEST() argument
1344 TEST(OptionalTest, LessEq_DifferentType) { in TEST() argument
1351 TEST(OptionalTest, Greater_BothEmpty) { in TEST() argument
1358 TEST(OptionalTest, Greater_LeftEmpty) { in TEST() argument
1365 TEST(OptionalTest, Greater_RightEmpty) { in TEST() argument
1372 TEST(OptionalTest, Greater_BothValue) { in TEST() argument
1393 TEST(OptionalTest, Greater_DifferentType) { in TEST() argument
1400 TEST(OptionalTest, GreaterEq_BothEmpty) { in TEST() argument
1407 TEST(OptionalTest, GreaterEq_LeftEmpty) { in TEST() argument
1414 TEST(OptionalTest, GreaterEq_RightEmpty) { in TEST() argument
1421 TEST(OptionalTest, GreaterEq_BothValue) { in TEST() argument
1442 TEST(OptionalTest, GreaterEq_DifferentType) { in TEST() argument
1449 TEST(OptionalTest, OptNullEq) { in TEST() argument
1460 TEST(OptionalTest, NullOptEq) { in TEST() argument
1471 TEST(OptionalTest, OptNullNotEq) { in TEST() argument
1482 TEST(OptionalTest, NullOptNotEq) { in TEST() argument
1493 TEST(OptionalTest, OptNullLower) { in TEST() argument
1504 TEST(OptionalTest, NullOptLower) { in TEST() argument
1515 TEST(OptionalTest, OptNullLowerEq) { in TEST() argument
1526 TEST(OptionalTest, NullOptLowerEq) { in TEST() argument
1537 TEST(OptionalTest, OptNullGreater) { in TEST() argument
1548 TEST(OptionalTest, NullOptGreater) { in TEST() argument
1559 TEST(OptionalTest, OptNullGreaterEq) { in TEST() argument
1570 TEST(OptionalTest, NullOptGreaterEq) { in TEST() argument
1581 TEST(OptionalTest, ValueEq_Empty) { in TEST() argument
1586 TEST(OptionalTest, ValueEq_NotEmpty) { in TEST() argument
1597 TEST(OptionalTest, ValueEq_DifferentType) { in TEST() argument
1602 TEST(OptionalTest, EqValue_Empty) { in TEST() argument
1607 TEST(OptionalTest, EqValue_NotEmpty) { in TEST() argument
1618 TEST(OptionalTest, EqValue_DifferentType) { in TEST() argument
1623 TEST(OptionalTest, ValueNotEq_Empty) { in TEST() argument
1628 TEST(OptionalTest, ValueNotEq_NotEmpty) { in TEST() argument
1644 TEST(OptionalTest, NotEqValue_Empty) { in TEST() argument
1649 TEST(OptionalTest, NotEqValue_NotEmpty) { in TEST() argument
1660 TEST(OptionalTest, NotEqValue_DifferentType) { in TEST() argument
1665 TEST(OptionalTest, ValueLess_Empty) { in TEST() argument
1670 TEST(OptionalTest, ValueLess_NotEmpty) { in TEST() argument
1690 TEST(OptionalTest, LessValue_Empty) { in TEST() argument
1695 TEST(OptionalTest, LessValue_NotEmpty) { in TEST() argument
1710 TEST(OptionalTest, LessValue_DifferentType) { in TEST() argument
1715 TEST(OptionalTest, ValueLessEq_Empty) { in TEST() argument
1720 TEST(OptionalTest, ValueLessEq_NotEmpty) { in TEST() argument
1735 TEST(OptionalTest, ValueLessEq_DifferentType) { in TEST() argument
1740 TEST(OptionalTest, LessEqValue_Empty) { in TEST() argument
1745 TEST(OptionalTest, LessEqValue_NotEmpty) { in TEST() argument
1760 TEST(OptionalTest, LessEqValue_DifferentType) { in TEST() argument
1765 TEST(OptionalTest, ValueGreater_Empty) { in TEST() argument
1770 TEST(OptionalTest, ValueGreater_NotEmpty) { in TEST() argument
1785 TEST(OptionalTest, ValueGreater_DifferentType) { in TEST() argument
1790 TEST(OptionalTest, GreaterValue_Empty) { in TEST() argument
1795 TEST(OptionalTest, GreaterValue_NotEmpty) { in TEST() argument
1810 TEST(OptionalTest, GreaterValue_DifferentType) { in TEST() argument
1815 TEST(OptionalTest, ValueGreaterEq_Empty) { in TEST() argument
1820 TEST(OptionalTest, ValueGreaterEq_NotEmpty) { in TEST() argument
1835 TEST(OptionalTest, ValueGreaterEq_DifferentType) { in TEST() argument
1840 TEST(OptionalTest, GreaterEqValue_Empty) { in TEST() argument
1845 TEST(OptionalTest, GreaterEqValue_NotEmpty) { in TEST() argument
1860 TEST(OptionalTest, GreaterEqValue_DifferentType) { in TEST() argument
1865 TEST(OptionalTest, NotEquals) { in TEST() argument
1891 TEST(OptionalTest, NotEqualsNull) { in TEST() argument
1914 TEST(OptionalTest, MakeOptional) { in TEST() argument
1984 TEST(OptionalTest, NonMemberSwap_bothNoValue) { in TEST() argument
1994 TEST(OptionalTest, NonMemberSwap_inHasValue) { in TEST() argument
2005 TEST(OptionalTest, NonMemberSwap_outHasValue) { in TEST() argument
2016 TEST(OptionalTest, NonMemberSwap_bothValue) { in TEST() argument
2029 TEST(OptionalTest, Hash_OptionalReflectsInternal) { in TEST() argument
2046 TEST(OptionalTest, Hash_NullOptEqualsNullOpt) { in TEST() argument
2054 TEST(OptionalTest, Hash_UseInSet) { in TEST() argument
2064 TEST(OptionalTest, HasValue) { in TEST() argument
2081 TEST(OptionalTest, Reset_int) { in TEST() argument
2091 TEST(OptionalTest, Reset_Object) { in TEST() argument
2101 TEST(OptionalTest, Reset_NoOp) { in TEST() argument
2109 TEST(OptionalTest, AssignFromRValue) { in TEST() argument
2119 TEST(OptionalTest, DontCallDefaultCtor) { in TEST() argument
2128 TEST(OptionalTest, DontCallNewMemberFunction) { in TEST() argument
2136 TEST(OptionalTest, Noexcept) { in TEST() argument