/openbmc/dbus-sensors/src/tests/ |
H A D | test_MCTPReactor.cpp | 56 class MCTPReactorFixture : public testing::Test 64 .WillRepeatedly(testing::Return("mock device")); in SetUp() 68 .WillRepeatedly(testing::Return(device)); in SetUp() 70 .WillRepeatedly(testing::Return("mock endpoint")); in SetUp() 71 EXPECT_CALL(*endpoint, eid()).WillRepeatedly(testing::Return(9)); in SetUp() 72 EXPECT_CALL(*endpoint, network()).WillRepeatedly(testing::Return(1)); in SetUp() 78 EXPECT_TRUE(testing::Mock::VerifyAndClearExpectations(endpoint.get())); in TearDown() 79 EXPECT_TRUE(testing::Mock::VerifyAndClearExpectations(device.get())); in TearDown() 97 EXPECT_CALL(*device, setup(testing::_)) in TEST_F() 98 .WillOnce(testing::InvokeArgument<0>( in TEST_F() [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 021.out | 4 == testing writev -P -1 == 7 == testing read -P -1 == 10 == testing write -P -1 == 13 == testing readv -P -1 == 16 == testing aio_read -P -1 == 19 == testing aio_write -P -1 == 22 == testing writev -P 300 == 25 == testing read -P 300 == 28 == testing write -P 300 == 31 == testing readv -P 300 == [all …]
|
/openbmc/phosphor-logging/test/ |
H A D | elog_quiesce_test.cpp | 22 class TestQuiesceOnError : public testing::Test 106 EXPECT_CALL(sdbusMock, sd_bus_emit_object_added(testing::_, testing::_)) in TEST_F() 107 .Times(testing::AnyNumber()); in TEST_F() 111 testing::_, testing::HasSubstr( in TEST_F() 132 EXPECT_CALL(sdbusMock, sd_bus_emit_object_removed(testing::_, testing::_)) in TEST_F() 133 .Times(testing::AnyNumber()); in TEST_F() 136 testing::_, testing::HasSubstr( in TEST_F() 163 EXPECT_CALL(sdbusMock, sd_bus_emit_object_added(testing::_, testing::_)) in TEST_F() 164 .Times(testing::AnyNumber()); in TEST_F() 168 testing::_, testing::HasSubstr( in TEST_F() [all …]
|
/openbmc/sdeventplus/test/source/ |
H A D | event.cpp | 24 using testing::DoAll; 25 using testing::Return; 26 using testing::ReturnPointee; 27 using testing::SaveArg; 28 using testing::SetArgPointee; 32 class EventTest : public testing::Test 35 testing::StrictMock<test::SdEventMock> mock; 67 testing::InSequence seq; in TEST_F() 69 testing::_)) in TEST_F() 72 sd_event_source_set_userdata(expected_source, testing::_)) in TEST_F() [all …]
|
H A D | child.cpp | 25 using testing::DoAll; 26 using testing::Return; 27 using testing::ReturnPointee; 28 using testing::SaveArg; 29 using testing::SetArgPointee; 33 class ChildTest : public testing::Test 36 testing::StrictMock<test::SdEventMock> mock; 69 EXPECT_CALL(mock, sd_event_add_child(expected_event, testing::_, pid, in TEST_F() 70 options, testing::_, nullptr)) in TEST_F() 76 testing::InSequence seq; in TEST_F() [all …]
|
H A D | io.cpp | 24 using testing::DoAll; 25 using testing::Return; 26 using testing::ReturnPointee; 27 using testing::SaveArg; 28 using testing::SetArgPointee; 32 class IOTest : public testing::Test 35 testing::StrictMock<test::SdEventMock> mock; 68 EXPECT_CALL(mock, sd_event_add_io(expected_event, testing::_, fd, events, in TEST_F() 69 testing::_, nullptr)) in TEST_F() 75 testing::InSequence seq; in TEST_F() [all …]
|
H A D | signal.cpp | 25 using testing::DoAll; 26 using testing::Return; 27 using testing::ReturnPointee; 28 using testing::SaveArg; 29 using testing::SetArgPointee; 33 class SignalTest : public testing::Test 36 testing::StrictMock<test::SdEventMock> mock; 68 EXPECT_CALL(mock, sd_event_add_signal(expected_event, testing::_, sig, in TEST_F() 69 testing::_, nullptr)) in TEST_F() 75 testing::InSequence seq; in TEST_F() [all …]
|
H A D | time.cpp | 25 using testing::DoAll; 26 using testing::Return; 27 using testing::ReturnPointee; 28 using testing::SaveArg; 29 using testing::SetArgPointee; 33 class TimeTest : public testing::Test 36 testing::StrictMock<test::SdEventMock> mock; 75 sd_event_add_time(expected_event, testing::_, CLOCK_REALTIME, in TEST_F() 76 2000000, 50000, testing::_, nullptr)) in TEST_F() 82 testing::InSequence seq; in TEST_F() [all …]
|
H A D | base.cpp | 29 using testing::DoAll; 30 using testing::Return; 31 using testing::SaveArg; 32 using testing::SetArgPointee; 64 class BaseTest : public testing::Test 67 testing::StrictMock<test::SdEventMock> mock; 97 testing::InSequence seq; in make_base() 99 mock, sd_event_source_set_destroy_callback(source, testing::_)) in make_base() 101 EXPECT_CALL(mock, sd_event_source_set_userdata(source, testing::_)) in make_base() 117 EXPECT_CALL(mock, sd_event_source_set_prepare(base.get(), testing::_)) in set_prepare_placeholder() [all …]
|
/openbmc/phosphor-user-manager/test/ |
H A D | user_mgr_test.cpp | 21 using ::testing::Return; 22 using ::testing::Throw; 29 class TestUserMgr : public testing::Test 50 .WillByDefault(testing::Return(true)); in createLocalUser() 55 .WillByDefault(testing::Return(false)); in createLocalUser() 157 using ::testing::_; in TEST_F() 252 class UserMgrInTest : public testing::Test, public UserMgr 274 ON_CALL(*this, executeUserAdd(testing::_, testing::_, testing in UserMgrInTest() [all...] |
/openbmc/gpioplus/test/ |
H A D | event.cpp | 22 using testing::Assign; 23 using testing::DoAll; 24 using testing::Return; 25 using testing::SaveArgPointee; 26 using testing::SetArgPointee; 27 using testing::WithArg; 42 class EventTest : public testing::Test 47 testing::StrictMock<test::SysMock> mock; 52 EXPECT_CALL(mock, open(testing::_, testing::_)) in SetUp() 75 EXPECT_CALL(mock, gpio_get_lineevent(chip_fd, testing::_)) in TEST_F() [all …]
|
H A D | handle.cpp | 22 using testing::DoAll; 23 using testing::Return; 24 using testing::SaveArgPointee; 25 using testing::SetArgPointee; 56 class HandleTest : public testing::Test 61 testing::StrictMock<test::SysMock> mock; 66 EXPECT_CALL(mock, open(testing::_, testing::_)) in SetUp() 89 EXPECT_CALL(mock, gpio_get_linehandle(chip_fd, testing::_)) in TEST_F() 135 EXPECT_CALL(mock, gpio_get_linehandle(chip_fd, testing::_)) in TEST_F() 163 EXPECT_CALL(mock, gpio_get_linehandle(chip_fd, testing::_)) in SetUp() [all …]
|
H A D | chip.cpp | 21 using testing::DoAll; 22 using testing::Return; 23 using testing::SaveArgPointee; 24 using testing::SetArgPointee; 25 using testing::StrEq; 45 class ChipMethodTest : public testing::Test 49 testing::StrictMock<test::SysMock> mock; 85 EXPECT_CALL(mock, gpio_get_chipinfo(expected_fd, testing::_)) in TEST_F() 95 EXPECT_CALL(mock, gpio_get_chipinfo(expected_fd, testing::_)) in TEST_F() 111 EXPECT_CALL(mock, gpio_get_lineinfo(expected_fd, testing::_)) in TEST_F() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-gnome/recipes-gnome/libpeas/libpeas-1/ |
H A D | 0001-Remove-builddir-and-srcdir-paths-from-test-binaries.patch | 17 tests/libpeas-gtk/testing/meson.build | 4 ++-- 18 tests/libpeas/testing/meson.build | 4 ++-- 19 tests/testing-util/meson.build | 4 ++-- 35 diff --git a/tests/libpeas-gtk/testing/meson.build b/tests/libpeas-gtk/testing/meson.build 37 --- a/tests/libpeas-gtk/testing/meson.build 38 +++ b/tests/libpeas-gtk/testing/meson.build 50 diff --git a/tests/libpeas/testing/meson.build b/tests/libpeas/testing/meson.build 52 --- a/tests/libpeas/testing/meson.build 53 +++ b/tests/libpeas/testing/meson.build 65 diff --git a/tests/testing-util/meson.build b/tests/testing-util/meson.build [all …]
|
/openbmc/sdbusplus/test/message/ |
H A D | read.cpp | 23 using testing::DoAll; 24 using testing::Return; 25 using testing::StrEq; 33 class ReadTest : public testing::Test 36 testing::StrictMock<sdbusplus::SdBusMock> mock; 40 EXPECT_CALL(mock, sd_bus_message_new_method_call(testing::_, testing::_, in SetUp() 54 EXPECT_CALL(mock, sd_bus_message_read_basic(nullptr, type, testing::_)) in expect_basic_error() 61 EXPECT_CALL(mock, sd_bus_message_read_basic(nullptr, type, testing::_)) in expect_basic() 179 testing::InSequence seq; in TEST_F() 230 testing::InSequence seq; in TEST_F() [all …]
|
H A D | append.cpp | 23 using testing::Eq; 24 using testing::MatcherCast; 25 using testing::Pointee; 26 using testing::Return; 27 using testing::SafeMatcherCast; 28 using testing::StrEq; 36 class AppendTest : public testing::Test 39 testing::StrictMock<sdbusplus::SdBusMock> mock; 43 EXPECT_CALL(mock, sd_bus_message_new_method_call(testing::_, testing::_, in SetUp() 238 testing::InSequence seq; in TEST_F() [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | zynqmp-mini-nand.dts | 54 partition@0 { /* for testing purpose */ 58 partition@1 { /* for testing purpose */ 62 partition@2 { /* for testing purpose */ 66 partition@3 { /* for testing purpose */ 70 partition@4 { /* for testing purpose */ 74 partition@5 { /* for testing purpose */ 78 partition@6 { /* for testing purpose */ 82 partition@7 { /* for testing purpose */ 86 partition@8 { /* for testing purpose */ 90 partition@9 { /* for testing purpose */ [all …]
|
H A D | zynqmp-zc1751-xm016-dc2.dts | 123 partition@0 { /* for testing purpose */ 127 partition@1 { /* for testing purpose */ 131 partition@2 { /* for testing purpose */ 135 partition@3 { /* for testing purpose */ 139 partition@4 { /* for testing purpose */ 143 partition@5 { /* for testing purpose */ 148 partition@6 { /* for testing purpose */ 152 partition@7 { /* for testing purpose */ 156 partition@8 { /* for testing purpose */ 160 partition@9 { /* for testing purpose */ [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/net-snmp/net-snmp/ |
H A D | 0003-testing-add-the-output-format-for-ptest.patch | 4 Subject: [PATCH] testing: add the output format for ptest 10 testing/RUNTESTS | 4 ++++ 13 diff --git a/testing/RUNTESTS b/testing/RUNTESTS 15 --- a/testing/RUNTESTS 16 +++ b/testing/RUNTESTS 19 for i in "${srcdir}"/testing/fulltests/default/T*$1*; do 22 ${srcdir}/testing/fulltests/support/simple_run $i
|
/openbmc/phosphor-health-monitor/test/ |
H A D | test_health_metric.cpp | 15 using ::testing::_; 16 using ::testing::InSequence; 17 using ::testing::Invoke; 18 using ::testing::IsNull; 19 using ::testing::NotNull; 20 using ::testing::Pair; 21 using ::testing::StrEq; 23 class HealthMetricTest : public ::testing::Test 69 EXPECT_THAT(properties, testing::Contains(names[0])); in TEST_F() 78 EXPECT_THAT(thresholdProperties, testing::Contains(names[0])); in TEST_F()
|
/openbmc/sdbusplus/test/ |
H A D | unpack_properties.cpp | 52 using ContainerTypes = testing::Types< 74 struct UnpackPropertiesTest : public testing::Test 94 using namespace testing; in TYPED_TEST() 111 using namespace testing; in TYPED_TEST() 124 using namespace testing; in TYPED_TEST() 139 using namespace testing; in TYPED_TEST() 163 using ContainerTypesThrowing = testing::Types<TestingTypes< 170 using namespace testing; in TYPED_TEST() 188 using namespace testing; in TYPED_TEST() 206 using namespace testing; in TYPED_TEST() [all …]
|
/openbmc/sdeventplus/test/ |
H A D | clock.cpp | 20 using testing::DoAll; 21 using testing::Return; 22 using testing::SetArgPointee; 24 class ClockTest : public testing::Test 27 testing::StrictMock<test::SdEventMock> mock; 38 EXPECT_CALL(mock, sd_event_now(expected_event, CLOCK_REALTIME, testing::_)) in TEST_F() 53 EXPECT_CALL(mock, sd_event_now(expected_event, CLOCK_MONOTONIC, testing::_)) in TEST_F()
|
/openbmc/sdeventplus/test/utility/ |
H A D | timer.cpp | 27 using testing::DoAll; 28 using testing::Return; 29 using testing::ReturnPointee; 30 using testing::SaveArg; 31 using testing::SetArgPointee; 47 class TimerTest : public testing::Test 50 testing::StrictMock<test::SdEventMock> mock; 70 static_cast<clockid_t>(testClock), testing::_)) in expectNow() 91 sd_event_source_get_enabled(expected_source, testing::_)) in expectGetEnabled() 125 testing::_)) in SetUp() [all …]
|
/openbmc/phosphor-pid-control/test/ |
H A D | helpers.hpp | 15 using ::testing::_; 16 using ::testing::Invoke; 17 using ::testing::IsNull; 18 using ::testing::NotNull; 19 using ::testing::Return; 20 using ::testing::StrEq;
|
/openbmc/phosphor-ipmi-flash/tools/test/ |
H A D | tools_net_unittest.cpp | 19 using ::testing::_; 20 using ::testing::AllOf; 21 using ::testing::ContainerEq; 22 using ::testing::DoAll; 23 using ::testing::Field; 24 using ::testing::Ge; 25 using ::testing::Gt; 26 using ::testing::InSequence; 27 using ::testing::NotNull; 28 using ::testing::Pointee; [all …]
|