/openbmc/entity-manager/test/ |
H A D | test_entity-manager.cpp | 12 TEST(TemplateCharReplace, replaceOneInt) in TEST() function 25 TEST(TemplateCharReplace, replaceOneStr) in TEST() function 38 TEST(TemplateCharReplace, replaceSecondStr) in TEST() function 51 TEST(TemplateCharReplace, replaceMiddleStr) in TEST() function 64 TEST(TemplateCharReplace, replaceLastStr) in TEST() function 77 TEST(TemplateCharReplace, increment) in TEST() function 90 TEST(TemplateCharReplace, decrement) in TEST() function 103 TEST(TemplateCharReplace, modulus) in TEST() function 116 TEST(TemplateCharReplace, multiply) in TEST() function 129 TEST(TemplateCharReplace, divide) in TEST() function [all …]
|
H A D | test_fru-utils.cpp | 17 TEST(ValidateHeaderTest, InvalidFruVersionReturnsFalse) in TEST() function 26 TEST(ValidateHeaderTest, InvalidReservedReturnsFalse) in TEST() function 35 TEST(ValidateHeaderTest, InvalidPaddingReturnsFalse) in TEST() function 44 TEST(ValidateHeaderTest, InvalidChecksumReturnsFalse) in TEST() function 53 TEST(ValidateHeaderTest, ValidChecksumReturnsTrue) in TEST() function 62 TEST(VerifyOffsetTest, EmptyFruDataReturnsFalse) in TEST() function 70 TEST(VerifyOffsetTest, AreaOutOfRangeReturnsFalse) in TEST() function 81 TEST(VerifyOffsetTest, OverlapNextAreaReturnsFalse) in TEST() function 90 TEST(VerifyOffsetTest, OverlapPrevAreaReturnsFalse) in TEST() function 99 TEST(VerifyOffsetTest, ValidInputDataNoOverlapReturnsTrue) in TEST() function [all …]
|
/openbmc/libcper/tests/ |
H A D | ir-tests.cpp | 283 TEST(CompileTimeAssertions, TwoWayConversion) in TEST() function 299 TEST(CompileTimeAssertions, ShortcodeNoSpaces) in TEST() function 317 TEST(GenericProcessorTests, IRValid) in TEST() function 321 TEST(GenericProcessorTests, BinaryEqual) in TEST() function 327 TEST(IA32x64Tests, IRValid) in TEST() function 331 TEST(IA32x64Tests, BinaryEqual) in TEST() function 341 TEST(ArmTests, IRValid) in TEST() function 345 TEST(ArmTests, BinaryEqual) in TEST() function 351 TEST(MemoryTests, IRValid) in TEST() function 355 TEST(MemoryTests, BinaryEqual) in TEST() function [all …]
|
/openbmc/bmcweb/test/redfish-core/include/utils/ |
H A D | query_param_test.cpp | 30 TEST(Delegate, OnlyPositive) in TEST() function 43 TEST(Delegate, ExpandPositive) in TEST() function 60 TEST(Delegate, OnlyNegative) in TEST() function 73 TEST(Delegate, ExpandNegative) in TEST() function 83 TEST(Delegate, TopNegative) in TEST() function 93 TEST(Delegate, TopPositive) in TEST() function 106 TEST(Delegate, SkipNegative) in TEST() function 116 TEST(Delegate, SkipPositive) in TEST() function 129 TEST(FormatQueryForExpand, NoSubQueryWhenQueryIsEmpty) in TEST() function 134 TEST(FormatQueryForExpand, NoSubQueryWhenExpandLevelsLeOne) in TEST() function [all …]
|
H A D | time_utils_test.cpp | 19 TEST(FromDurationTest, PositiveTests) in TEST() function 35 TEST(FromDurationTest, NegativeTests) in TEST() function 47 TEST(ToDurationTest, PositiveTests) in TEST() function 61 TEST(ToDurationTest, NegativeTests) in TEST() function 66 TEST(ToDurationStringFromUintTest, PositiveTests) in TEST() function 77 TEST(ToDurationStringFromUintTest, NegativeTests) in TEST() function 87 TEST(GetDateTimeStdtime, ConversionTests) in TEST() function 103 TEST(GetDateTimeUint, ConversionTests) in TEST() function 122 TEST(GetDateTimeUintMs, ConverstionTests) in TEST() function 133 TEST(Utility, GetDateTimeUintUs) in TEST() function [all …]
|
H A D | json_utils_test.cpp | 31 TEST(ReadJson, ValidElementsReturnsTrueResponseOkValuesUnpackedCorrectly) in TEST() function 51 TEST(ReadJson, ValidObjectElementsReturnsTrueResponseOkValuesUnpackedCorrectly) in TEST() function 72 TEST(ReadJson, VariantValueUnpackedNull) in TEST() function 85 TEST(ReadJson, VariantValueUnpackedValue) in TEST() function 99 TEST(readJson, ExtraElementsReturnsFalseReponseIsBadRequest) in TEST() function 118 TEST(ReadJson, WrongElementTypeReturnsFalseReponseIsBadRequest) in TEST() function 139 TEST(ReadJson, MissingElementReturnsFalseReponseIsBadRequest) in TEST() function 159 TEST(ReadJson, JsonArrayAreUnpackedCorrectly) in TEST() function 176 TEST(ReadJson, JsonSubElementValueAreUnpackedCorrectly) in TEST() function 192 TEST(ReadJson, JsonDeeperSubElementValueAreUnpackedCorrectly) in TEST() function [all …]
|
H A D | sensor_utils_test.cpp | 14 TEST(SplitSensorNameAndType, Type) in TEST() function 20 TEST(SplitSensorNameAndType, Name) in TEST() function 26 TEST(SplitSensorNameAndType, Error) in TEST() function 32 TEST(GetSensorId, Success) in TEST() function 52 TEST(ChassisSubNodeToString, Success) in TEST() function 72 TEST(ChassisSubNodeFromString, Success) in TEST() function 95 TEST(IsExcerptNode, True) in TEST() function 100 TEST(IsExcerptNode, False) in TEST() function
|
/openbmc/bmcweb/test/redfish-core/include/ |
H A D | redfish_aggregator_test.cpp | 24 TEST(IsPropertyUri, SupportedPropertyReturnsTrue) in TEST() function 34 TEST(IsPropertyUri, CaseInsensitiveURIReturnsTrue) in TEST() function 42 TEST(IsPropertyUri, SpeificallyIgnoredPropertyReturnsFalse) in TEST() function 50 TEST(IsPropertyUri, UnsupportedPropertyReturnsFalse) in TEST() function 57 TEST(addPrefixToItem, ValidURIs) in TEST() function 100 TEST(addPrefixToItem, UnsupportedURIs) in TEST() function 134 TEST(addPrefixToItem, TopLevelCollections) in TEST() function 160 TEST(addPrefixes, ParseJsonObject) in TEST() function 171 TEST(addPrefixes, ParseJsonArray) in TEST() function 196 TEST(addPrefixes, ParseJsonObjectNestedArray) in TEST() function [all …]
|
H A D | privileges_test.cpp | 20 TEST(PrivilegeTest, PrivilegeConstructor) in TEST() function 28 TEST(PrivilegeTest, PrivilegeCheckForNoPrivilegesRequired) in TEST() function 38 TEST(PrivilegeTest, PrivilegeCheckForSingleCaseSuccess) in TEST() function 47 TEST(PrivilegeTest, PrivilegeCheckForSingleCaseFailure) in TEST() function 57 TEST(PrivilegeTest, PrivilegeCheckForANDCaseSuccess) in TEST() function 69 TEST(PrivilegeTest, PrivilegeCheckForANDCaseFailure) in TEST() function 80 TEST(PrivilegeTest, PrivilegeCheckForORCaseSuccess) in TEST() function 90 TEST(PrivilegeTest, PrivilegeCheckForORCaseFailure) in TEST() function 100 TEST(PrivilegeTest, DefaultPrivilegeBitsetsAreEmpty) in TEST() function 111 TEST(PrivilegeTest, GetActivePrivilegeNames) in TEST() function [all …]
|
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/ |
H A D | firmware_json_unittest.cpp | 20 TEST(FirmwareJsonTest, InvalidHandlerType) in TEST() function 48 TEST(FirmwareJsonTest, InvalidPreparationType) in TEST() function 77 TEST(FirmwareJsonTest, InvalidVerificationType) in TEST() function 106 TEST(FirmwareJsonTest, InvalidUpdateType) in TEST() function 135 TEST(FirmwareJsonTest, MissingHandler) in TEST() function 160 TEST(FirmwareJsonTest, MissingActions) in TEST() function 175 TEST(FirmwareJsonTest, MissingActionPreparation) in TEST() function 200 TEST(FirmwareJsonTest, MissingActionVerification) in TEST() function 224 TEST(FirmwareJsonTest, MissingActionUpdate) in TEST() function 250 TEST(FirmwareJsonTest, TwoConfigsOneInvalidReturnsValid) in TEST() function [all …]
|
/openbmc/sdbusplus/test/message/ |
H A D | types.cpp | 14 TEST(MessageTypes, Integer) in TEST() function 19 TEST(MessageTypes, Double) in TEST() function 24 TEST(MessageTypes, MultipleParameter) in TEST() function 30 TEST(MessageTypes, StringReferences) in TEST() function 39 TEST(MessageTypes, ObjectPath) in TEST() function 44 TEST(MessageTypes, ObjectPathFilename) in TEST() function 64 TEST(MessageTypes, ObjectPathParent) in TEST() function 76 TEST(MessageTypes, ObjectPathOperatorSlash) in TEST() function 102 TEST(MessageTypes, ObjectPathOperatorSlashEqual) in TEST() function 113 TEST(MessageTypes, Signature) in TEST() function [all …]
|
/openbmc/linux/tools/testing/selftests/filesystems/epoll/ |
H A D | epoll_wakeup_test.c | 163 TEST(epoll1) in TEST() function 194 TEST(epoll2) in TEST() function 225 TEST(epoll3) in TEST() function 263 TEST(epoll4) in TEST() function 301 TEST(epoll5) in TEST() function 340 TEST(epoll6) in TEST() function 380 TEST(epoll7) in TEST() function 426 TEST(epoll8) in TEST() function 472 TEST(epoll9) in TEST() function 515 TEST(epoll10) in TEST() function [all …]
|
/openbmc/phosphor-host-ipmid/test/message/ |
H A D | pack.cpp | 23 TEST(PackBasics, Uint8) in TEST() function 35 TEST(PackBasics, Uint16) in TEST() function 47 TEST(PackBasics, Uint32) in TEST() function 59 TEST(PackBasics, Uint64) in TEST() function 71 TEST(PackBasics, Uint24) in TEST() function 83 TEST(PackBasics, Uint3Uint5) in TEST() function 100 TEST(PackBasics, Boolx8) in TEST() function 115 TEST(PackBasics, Bitset8) in TEST() function 129 TEST(PackBasics, Bitset3Bitset5) in TEST() function 144 TEST(PackBasics, Bitset32) in TEST() function [all …]
|
H A D | unpack.cpp | 21 TEST(Uints, Uint8) in TEST() function 35 TEST(Uints, Uint8TooManyBytes) in TEST() function 49 TEST(Uints, Uint8InsufficientBytes) in TEST() function 62 TEST(Uints, Uint16) in TEST() function 76 TEST(Uints, Uint16TooManyBytes) in TEST() function 90 TEST(Uints, Uint16InsufficientBytes) in TEST() function 103 TEST(Uints, Uint32) in TEST() function 117 TEST(Uints, Uint32TooManyBytes) in TEST() function 131 TEST(Uints, Uint32InsufficientBytes) in TEST() function 144 TEST(Uints, Uint64) in TEST() function [all …]
|
/openbmc/dbus-sensors/src/tests/ |
H A D | test_IpmbSensor.cpp | 12 TEST(IPMBSensor, Byte0) in TEST() function 24 TEST(IPMBSensor, NineBitValidPositive) in TEST() function 38 TEST(IPMBSensor, NineBitValidNegative) in TEST() function 52 TEST(IPMBSensor, NineBitMin) in TEST() function 68 TEST(IPMBSensor, NineBitMax) in TEST() function 82 TEST(IPMBSensor, NineBitTooShort) in TEST() function 93 TEST(IPMBSensor, NineBitTooLong) in TEST() function 106 TEST(IPMBSensor, NineBitInvalid) in TEST() function 118 TEST(IPMBSensor, TenBitValid1) in TEST() function 132 TEST(IPMBSensor, TenBitValid2) in TEST() function [all …]
|
H A D | test_MCTPEndpoint.cpp | 8 TEST(I2CMCTPDDevice, matchEmptyConfig) in TEST() function 14 TEST(I2CMCTPDDevice, matchIrrelevantConfig) in TEST() function 20 TEST(I2CMCTPDDevice, matchRelevantConfig) in TEST() function 26 TEST(I2CMCTPDDevice, fromBadIfaceNoType) in TEST() function 32 TEST(I2CMCTPDDevice, fromBadIfaceWrongType) in TEST() function 38 TEST(I2CMCTPDDevice, fromBadIfaceNoAddress) in TEST() function 48 TEST(I2CMCTPDDevice, fromBadIfaceBadAddress) in TEST() function 59 TEST(I2CMCTPDDevice, fromBadIfaceNoBus) in TEST() function 69 TEST(I2CMCTPDDevice, fromBadIfaceBadBus) in TEST() function 80 TEST(I2CMCTPDDevice, fromBadIfaceNoName) in TEST() function
|
/openbmc/libpldm/tests/ |
H A D | msgbuf.cpp | 15 TEST(msgbuf, init_bad_minsize) in TEST() function 25 TEST(msgbuf, init_bad_len) in TEST() function 34 TEST(msgbuf, init_overflow) in TEST() function 44 TEST(msgbuf, init_success) in TEST() function 53 TEST(msgbuf, destroy_none) in TEST() function 63 TEST(msgbuf, destroy_exact) in TEST() function 76 TEST(msgbuf, destroy_over) in TEST() function 90 TEST(msgbuf, destroy_under) in TEST() function 103 TEST(msgbuf, extract_one_uint8) in TEST() function 116 TEST(msgbuf, extract_over_uint8) in TEST() function [all …]
|
/openbmc/phosphor-pid-control/test/ |
H A D | util_unittest.cpp | 13 TEST(UtilTest, WriteTypeEmptyString_ReturnsNONE) in TEST() function 20 TEST(UtilTest, WriteTypeNonePath_ReturnsNONE) in TEST() function 27 TEST(UtilTest, WriteTypeSysfs_ReturnsSYSFS) in TEST() function 35 TEST(UtilTest, WriteTypeUnknown_ReturnsUNKNOWN) in TEST() function 43 TEST(UtilTest, ReadTypeEmptyString_ReturnsNONE) in TEST() function 50 TEST(UtilTest, ReadTypeNonePath_ReturnsNONE) in TEST() function 57 TEST(UtilTest, ReadTypeExternalSensors_ReturnsEXTERNAL) in TEST() function 65 TEST(UtilTest, ReadTypeOpenBMCSensor_ReturnsDBUSPASSIVE) in TEST() function 73 TEST(UtilTest, ReadTypeSysfsPath_ReturnsSYSFS) in TEST() function 81 TEST(UtilTest, ReadTypeUnknownDefault_ReturnsUNKNOWN) in TEST() function
|
/openbmc/phosphor-dbus-monitor/src/test/ |
H A D | propertygentest.cpp | 64 TEST(PropertyGenTest, MetaSameSize) in TEST() function 69 TEST(PropertyGenTest, IfacesSameSize) in TEST() function 74 TEST(PropertyGenTest, PropertiesSameSize) in TEST() function 79 TEST(PropertyGenTest, GroupsSameSize) in TEST() function 84 TEST(PropertyGenTest, TypesSameSize) in TEST() function 89 TEST(PropertyGenTest, MetaSameContent) in TEST() function 98 TEST(PropertyGenTest, IfacesSameContent) in TEST() function 107 TEST(PropertyGenTest, PropertiesSameContent) in TEST() function 116 TEST(PropertyGenTest, GroupsSameContent) in TEST() function 141 TEST(PropertyGenTest, TypesSameContent) in TEST() function
|
/openbmc/libpldm/tests/dsp/ |
H A D | base.cpp | 18 TEST(PackPLDMMessage, BadPathTest) in TEST() function 55 TEST(PackPLDMMessage, RequestMessageGoodPath) in TEST() function 99 TEST(PackPLDMMessage, ResponseMessageGoodPath) in TEST() function 132 TEST(UnpackPLDMMessage, BadPathTest) in TEST() function 141 TEST(UnpackPLDMMessage, RequestMessageGoodPath) in TEST() function 174 TEST(UnpackPLDMMessage, ResponseMessageGoodPath) in TEST() function 199 TEST(GetPLDMCommands, testEncodeRequest) in TEST() function 215 TEST(GetPLDMCommands, testDecodeRequest) in TEST() function 237 TEST(GetPLDMCommands, testEncodeResponse) in TEST() function 261 TEST(GetPLDMType function 283 TEST(GetPLDMTypes, testGoodDecodeResponse) TEST() function 307 TEST(GetPLDMTypes, testBadDecodeResponse) TEST() function 327 TEST(GetPLDMCommands, testGoodDecodeResponse) TEST() function 351 TEST(GetPLDMCommands, testBadDecodeResponse) TEST() function 372 TEST(GetPLDMVersion, testGoodEncodeRequest) TEST() function 394 TEST(GetPLDMVersion, testBadEncodeRequest) TEST() function 406 TEST(GetPLDMVersion, testEncodeResponse) TEST() function 432 TEST(GetPLDMVersion, testDecodeRequest) TEST() function 461 TEST(GetPLDMVersion, testDecodeResponse) TEST() function 499 TEST(GetTID, testEncodeRequest) TEST() function 507 TEST(GetTID, testEncodeResponse) TEST() function 523 TEST(GetTID, testDecodeResponse) TEST() function 543 TEST(MultipartReceive, testDecodeRequestPass) TEST() function 589 TEST(MultipartReceive, testDecodeRequestFailNullData) TEST() function 596 TEST(MultipartReceive, testDecodeRequestFailBadLength) TEST() function 628 TEST(MultipartReceive, testDecodeRequestFailBadPldmType) TEST() function 660 TEST(MultipartReceive, testDecodeRequestFailBadTransferFlag) TEST() function 692 TEST(MultipartReceive, testDecodeRequestFailBadOffset) TEST() function 728 TEST(MultipartReceive, testDecodeRequestFailBadHandle) TEST() function 765 TEST(EncodeMultipartReceiveRequest, GoodTest) TEST() function 794 TEST(EncodeMultipartReceiveRequest, BadTestUnAllocatedPtrParams) TEST() function 814 TEST(EncodeMultipartReceiveRequest, BadTestInvalidExpectedOutputMsgLength) TEST() function 831 TEST(DecodeMultipartReceiveResponse, GoodTest) TEST() function 881 TEST(DecodeMultipartReceiveResponse, BadTestUnAllocatedPtrParams) TEST() function 929 TEST(DecodeMultipartReceiveResponse, BadTestInvalidExpectedInputMsgLength) TEST() function 971 TEST(CcOnlyResponse, testEncode) TEST() function 992 TEST(SetTID, testGoodEncodeRequest) TEST() function 1011 TEST(SetTID, testBadEncodeRequest) TEST() function 1029 TEST(PldmMsgHdr, correlateSuccess) TEST() function 1055 TEST(PldmMsgHdr, correlateFailInstanceID) TEST() function 1081 TEST(PldmMsgHdr, correlateFailRequest) TEST() function 1107 TEST(PldmMsgHdr, correlateFailType) TEST() function 1133 TEST(PldmMsgHdr, correlateFailCommand) TEST() function 1159 TEST(PldmMsgHdr, correlateFailRequestIsResponse) TEST() function [all...] |
/openbmc/phosphor-ipmi-flash/bmc/log-handler/test/ |
H A D | log_json_unittest.cpp | 32 TEST(LogJsonTest, ValidConfigurationNoLogHandler) in TEST() function 58 TEST(LogJsonTest, ValidConfigurationLogBlobName) in TEST() function 84 TEST(LogJsonTest, MissingHandlerType) in TEST() function 104 TEST(LogJsonTest, BadBlobName) in TEST() function 125 TEST(LogJsonTest, MissingActions) in TEST() function 141 TEST(LogJsonTest, MissingOpenAction) in TEST() function 158 TEST(LogJsonTest, OneInvalidTwoValidSucceeds) in TEST() function 214 TEST(LogJsonTest, BlobNameIsTooShort) in TEST() function 236 TEST(LogJsonTest, OpenSkipAction) in TEST() function 261 TEST(LogJsonTest, OpenActionsWithDifferentModes) in TEST() function
|
/openbmc/phosphor-ipmi-flash/bmc/version-handler/test/ |
H A D | version_json_unittest.cpp | 18 TEST(VersionJsonTest, ValidConfigurationNoVersionHandler) in TEST() function 44 TEST(VersionJsonTest, ValidConfigurationVersionBlobName) in TEST() function 70 TEST(VersionJsonTest, MissingHandlerType) in TEST() function 90 TEST(VersionJsonTest, BadBlobName) in TEST() function 111 TEST(VersionJsonTest, MissingActions) in TEST() function 127 TEST(VersionJsonTest, MissingOpenAction) in TEST() function 144 TEST(VersionJsonTest, OneInvalidTwoValidSucceeds) in TEST() function 200 TEST(VersionJsonTest, BlobNameIsTooShort) in TEST() function 222 TEST(VersionJsonTest, OpenSkipAction) in TEST() function 247 TEST(VersionJsonTest, OpenActionsWithDifferentModes) in TEST() function
|
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/test/ |
H A D | util_test.cpp | 22 TEST(IsNumericPath, invalidNumericPath) in TEST() function 30 TEST(IsNumericPath, validNumericPath) in TEST() function 38 TEST(ReadFileThenGrepIntoString, goodFile) in TEST() function 50 TEST(ReadFileThenGrepIntoString, inexistentFile) in TEST() function 57 TEST(GetTcommUtimeStime, validInput) in TEST() function 76 TEST(GetTcommUtimeStime, invalidInput) in TEST() function 92 TEST(ParseMeminfoValue, validInput) in TEST() function 120 TEST(ParseMeminfoValue, invalidInput) in TEST() function 130 TEST(ParseProcUptime, validInput) in TEST() function 142 TEST(TrimStringRight, nonEmptyResult) in TEST() function [all …]
|
/openbmc/slpd-lite/test/ |
H A D | slp_parser_test.cpp | 18 TEST(parseHeaderTest, BasicGoodPath) in TEST() function 31 TEST(parseHeaderTest, InvalidBufferSize) in TEST() function 44 TEST(parseHeaderTest, ValidLangTagLength) in TEST() function 57 TEST(parseHeaderTest, InvalidLangTagLength) in TEST() function 81 TEST(parseSrvTypeRqst, BasicGoodPath) in TEST() function 94 TEST(parseSrvTypeRqst, GoodPathWithData) in TEST() function 119 TEST(parseSrvTypeRqst, GoodPathMatchSlptoolFindSrvTypes) in TEST() function 141 TEST(parseSrvTypeRqst, BadPathSizes) in TEST() function 189 TEST(parseSrvRqst, BasicGoodPath) in TEST() function 203 TEST(parseSrvRqst, GoodPathWithData) in TEST() function [all …]
|
/openbmc/libbej/test/ |
H A D | bej_tree_test.cpp | 10 TEST(BejTreeTest, InitSet) in TEST() function 27 TEST(BejTreeTest, InitArray) in TEST() function 44 TEST(BejTreeTest, InitAnnotatedProp) in TEST() function 61 TEST(BejTreeTest, ChildLinking) in TEST() function 86 TEST(BejTreeTest, AddInteger) in TEST() function 104 TEST(BejTreeTest, SetInteger) in TEST() function 118 TEST(BejTreeTest, AddEnum) in TEST() function 137 TEST(BejTreeTest, AddString) in TEST() function 156 TEST(BejTreeTest, AddReal) in TEST() function 175 TEST(BejTreeTest, AddBool) in TEST() function [all …]
|