| /openbmc/phosphor-ipmi-flash/tools/test/ |
| H A D | tools_updater_unittest.cpp | 24 using ::testing::Throw; 93 .WillOnce(Throw(ipmiblob::BlobException("asdf"))); in TEST_F() 185 .WillOnce(Throw(ipmiblob::BlobException("asdf"))); in TEST_F() 195 .WillRepeatedly(Throw(ToolException("asdf"))); in TEST_F() 206 .WillOnce(Throw(ToolException("asdf"))) in TEST_F() 207 .WillOnce(Throw(ToolException("asdf"))) in TEST_F() 227 .WillOnce(Throw(ipmiblob::BlobException("asdf"))); in TEST_F() 262 .WillOnce(Throw(ipmiblob::BlobException("asdf"))); in TEST_F() 299 .WillOnce(Throw(ToolException("asdf"))) in TEST_F() 300 .WillOnce(Throw(ToolException("asdf"))) in TEST_F() [all …]
|
| H A D | tools_bt_unittest.cpp | 27 using ::testing::Throw; 109 .WillOnce(Throw(ipmiblob::BlobException("failure"))); in TEST_F()
|
| /openbmc/phosphor-power/phosphor-regulators/test/ |
| H A D | phase_fault_detection_tests.cpp | 54 using ::testing::Throw; 173 .WillOnce(Throw(error)) in TEST_F() 174 .WillOnce(Throw(error)) in TEST_F() 175 .WillOnce(Throw(error)) in TEST_F() 176 .WillOnce(Throw(error)) in TEST_F() 177 .WillOnce(Throw(error)) in TEST_F() 183 .WillOnce(Throw(error)) in TEST_F() 184 .WillOnce(Throw(error)) in TEST_F() 185 .WillOnce(Throw(error)) in TEST_F() 186 .WillOnce(Throw(error)) in TEST_F() [all …]
|
| H A D | rule_tests.cpp | 35 using ::testing::Throw; 64 .WillOnce(Throw(std::logic_error{"Communication error"})); in TEST()
|
| H A D | sensor_monitoring_tests.cpp | 55 using ::testing::Throw; 152 .WillRepeatedly(Throw( in TEST() 270 .WillRepeatedly(Throw(i2c::I2CException{"Failed to read word data", in TEST()
|
| /openbmc/google-ipmi-sys/test/ |
| H A D | machine_unittest.cpp | 31 using ::testing::Throw; 42 EXPECT_CALL(hMock, getMachineName()).WillOnce(Throw(IpmiException(5))); in TEST()
|
| /openbmc/phosphor-power/phosphor-regulators/test/actions/ |
| H A D | not_action_tests.cpp | 34 using ::testing::Throw; 55 .WillOnce(Throw(std::logic_error{"Communication error"})); in TEST()
|
| H A D | action_utils_tests.cpp | 35 using ::testing::Throw; 66 .WillOnce(Throw(std::logic_error{"Communication error"})); in TEST()
|
| H A D | i2c_action_tests.cpp | 35 using ::testing::Throw; 148 Throw(i2c::I2CException{"Failed to open", "/dev/i2c-1", 0x70})); in TEST()
|
| H A D | i2c_write_bit_action_tests.cpp | 39 using ::testing::Throw; 190 .WillOnce(Throw( in TEST() 248 .WillOnce(Throw( in TEST()
|
| H A D | i2c_write_byte_action_tests.cpp | 39 using ::testing::Throw; 162 .WillOnce(Throw( in TEST() 217 .WillOnce(Throw( in TEST()
|
| H A D | compare_presence_action_tests.cpp | 38 using ::testing::Throw; 165 .WillOnce(Throw(std::runtime_error( in TEST()
|
| H A D | i2c_compare_bit_action_tests.cpp | 39 using ::testing::Throw; 180 .WillOnce(Throw( in TEST()
|
| H A D | compare_vpd_action_tests.cpp | 33 using ::testing::Throw; 147 Throw(std::runtime_error{"D-Bus error: Invalid object path"})); in TEST()
|
| H A D | run_rule_action_tests.cpp | 37 using ::testing::Throw; 75 .WillOnce(Throw(std::logic_error{"Communication error"})); in TEST()
|
| H A D | and_action_tests.cpp | 35 using ::testing::Throw; 76 .WillOnce(Throw(std::logic_error{"Communication error"})); in TEST()
|
| H A D | or_action_tests.cpp | 35 using ::testing::Throw; 77 .WillOnce(Throw(std::logic_error{"Communication error"})); in TEST()
|
| H A D | i2c_compare_byte_action_tests.cpp | 39 using ::testing::Throw; 214 .WillOnce(Throw( in TEST()
|
| H A D | i2c_capture_bytes_action_tests.cpp | 39 using ::testing::Throw; 220 .WillOnce(Throw(i2c::I2CException{"Failed to read i2c block data", in TEST()
|
| /openbmc/phosphor-logging/test/openpower-pels/ |
| H A D | service_indicators_test.cpp | 14 using ::testing::Throw; 325 .WillOnce(Throw(std::runtime_error("Fail"))); in TEST() 352 .WillOnce(Throw(std::runtime_error("Fail"))); in TEST() 371 .WillOnce(Throw(std::runtime_error("Fail"))); in TEST()
|
| /openbmc/phosphor-power/phosphor-power-sequencer/test/ |
| H A D | ucd90x_device_tests.cpp | 39 using ::testing::Throw; 151 .WillOnce(Throw(std::runtime_error{"File does not exist"})); in TEST() 280 .WillOnce(Throw(std::runtime_error{"File does not exist"})); in TEST()
|
| H A D | basic_device_tests.cpp | 37 using ::testing::Throw; 198 .WillOnce(Throw(std::runtime_error{"Unable to release GPIO"})); in TEST() 443 .WillOnce(Throw(std::runtime_error{"Unable to release GPIO"})) in TEST() 482 .WillOnce(Throw(std::runtime_error{"Unable to release GPIO"})) in TEST() 637 .WillOnce(Throw(std::runtime_error{"Unable to write GPIO"})); in TEST() 719 .WillOnce(Throw(std::runtime_error{"Unable to write GPIO"})); in TEST() 820 .WillOnce(Throw(std::runtime_error{"Unable to read GPIO"})); in TEST()
|
| /openbmc/pldm/libpldmresponder/test/ |
| H A D | libpldmresponder_bios_integer_attribute_test.cpp | 19 using ::testing::Throw; 148 .WillOnce(Throw(std::exception())); in TEST_F()
|
| H A D | libpldmresponder_bios_string_attribute_test.cpp | 18 using ::testing::Throw; 142 .WillOnce(Throw(std::exception())); in TEST_F()
|
| H A D | libpldmresponder_bios_enum_attribute_test.cpp | 19 using ::testing::Throw; 157 .WillOnce(Throw(std::exception())); in TEST_F()
|