/openbmc/sdbusplus/test/message/ |
H A D | types.cpp | 46 EXPECT_EQ(sdbusplus::message::object_path("/abc/def").filename(), "def"); in TEST() 47 EXPECT_EQ(sdbusplus::message::object_path("/abc/").filename(), ""); in TEST() 48 EXPECT_EQ(sdbusplus::message::object_path("/abc").filename(), "abc"); in TEST() 49 EXPECT_EQ(sdbusplus::message::object_path("/_61bc").filename(), "abc"); in TEST() 52 EXPECT_EQ(sdbusplus::message::object_path("abc").filename(), ""); in TEST() 66 EXPECT_EQ(sdbusplus::message::object_path("/abc/def").parent_path(), in TEST() 67 sdbusplus::message::object_path("/abc")); in TEST() 68 EXPECT_EQ(sdbusplus::message::object_path("/abc/").parent_path(), in TEST() 69 sdbusplus::message::object_path("/abc")); in TEST() 70 EXPECT_EQ(sdbusplus::message::object_path("/abc").parent_path(), in TEST() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/ |
H A D | namedtuple_with_abc.py | 9 * named tuple mix-in + ABC (abstract base class) recipe, 13 -- enriching it with the 'abc' attribute (an abstract base class + mix-in 15 newly created named tuple as a subclass of namedtuple.abc. 28 class Credentials(namedtuple.abc): 39 from abc import ABCMeta, abstractproperty 69 _namedtuple.abc = _NamedTupleABC 74 '''Named tuple factory with namedtuple.abc subclass registration.''' 90 class MyRecord(namedtuple.abc): 104 class MyAbstractRecord(namedtuple.abc): 214 # All that record classes are real subclasses of namedtuple.abc: [all …]
|
/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | src_callouts_test.cpp | 106 CalloutPriority::high, loc, "1234567", "ABCD", "123456789ABC"); in TEST() 121 "1234567", "ABCD", "123456789ABC"); in TEST() 135 "1234567", "ABC", "123456789ABC"); in TEST() 140 "1234567", "ABCD", "123456789ABC"); in TEST() 145 "1234567", "ABCDE", "123456789ABC"); in TEST() 150 "1234567", "ABCDE1", "123456789ABC"); in TEST() 155 "1234567", "ABCDE2", "123456789ABC"); in TEST() 160 "1234567", "ABCDE2", "123456789ABC"); in TEST() 165 "1234567", "ABCD2", "123456789ABC"); in TEST() 170 "1234567", "ABCDE3", "123456789ABC"); in TEST() [all …]
|
H A D | src_callout_test.cpp | 54 EXPECT_EQ(callout.fruIdentity()->getSN(), "123456789ABC"); in TEST() 92 EXPECT_EQ(callout.fruIdentity()->getSN(), "123456789ABC"); in TEST() 129 EXPECT_EQ(callout.fruIdentity()->getSN(), "123456789ABC"); in TEST() 170 "ABCD", "123456789ABC"}; in TEST() 188 EXPECT_EQ(fru->getSN().value(), "123456789ABC"); in TEST() 194 "123456789ABC"}; in TEST() 205 "123456789ABC"}; in TEST() 217 "123456789ABC"}; in TEST() 232 "123456789ABC"}; in TEST() 246 "123456789ABC"}; in TEST() [all …]
|
H A D | service_indicators_test.cpp | 75 "123456789ABC"); in TEST() 98 "1234567", "aaaa", "123456789ABC")); in TEST() 149 "1234567", "aaaa", "123456789ABC")); in TEST() 152 "1234567", "aaaa", "123456789ABC")); in TEST() 155 "1234567", "aaaa", "123456789ABC")); in TEST() 160 "1234567", "aaaa", "123456789ABC")); in TEST() 171 "1234567", "aaaa", "123456789ABC")); in TEST() 174 "1234567", "aaaa", "123456789ABC")); in TEST() 185 "123456789ABC")); in TEST() 189 "123456789ABC")); in TEST() [all …]
|
H A D | mtms_test.cpp | 31 std::string sn{"123456789ABC"}; in TEST() 42 EXPECT_EQ("123456789ABC", mtms.machineSerialNumber()); in TEST() 88 EXPECT_EQ("123456789ABC", mtms.machineSerialNumber()); in TEST() 95 std::string sn{"123456789ABC"}; in TEST() 122 EXPECT_EQ("123456789ABC", mtms.machineSerialNumber()); in TEST()
|
H A D | fru_identity_test.cpp | 43 EXPECT_EQ(fru.getSN().value(), "123456789ABC"); in TEST() 130 testHWCallout("1234567", "1234", "123456789ABC", in TEST() 132 "1234567", "1234", "123456789ABC"); in TEST() 137 "1234567", "1234", "123456789ABC"); in TEST() 149 testHWCallout(" 567", "1234", "123456789ABC", in TEST() 151 "567", "1234", "123456789ABC"); in TEST() 154 testHWCallout(" ", "1234", "123456789ABC", in TEST() 156 "", "1234", "123456789ABC"); in TEST()
|
/openbmc/phosphor-certificate-manager/test/ |
H A D | argument_test.cpp | 17 "--endpoint", "abc", "--path", in TEST() 21 EXPECT_EQ(arguments.endpoint, "abc"); in TEST() 30 "--endpoint", "abc", "--path", in TEST() 34 EXPECT_EQ(arguments.endpoint, "abc"); in TEST() 43 "--endpoint", "abc", "--path", in TEST() 47 EXPECT_EQ(arguments.endpoint, "abc"); in TEST() 56 "abc", "--path", "def"}; in TEST() 59 EXPECT_EQ(arguments.endpoint, "abc"); in TEST() 68 "--endpoint", "abc", "--path", in TEST() 72 EXPECT_EQ(arguments.endpoint, "abc"); in TEST() [all …]
|
/openbmc/pldm/libpldmresponder/test/ |
H A D | libpldmresponder_bios_string_attribute_test.cpp | 58 "default_string" : "abc", in TEST_F() 63 "object_path" : "/xyz/abc/def", in TEST_F() 85 "default_string" : "abc", in TEST_F() 121 "default_string" : "abc", in TEST_F() 126 "object_path" : "/xyz/abc/def", in TEST_F() 140 getDbusPropertyVariant(StrEq("/xyz/abc/def"), StrEq("Str_example1"), in TEST_F() 149 getDbusPropertyVariant(StrEq("/xyz/abc/def"), StrEq("Str_example1"), in TEST_F() 171 "default_string" : "abc", in TEST_F() 176 "object_path" : "/xyz/abc/def", in TEST_F() 187 DBusMapping dbusMapping{"/xyz/abc/def", in TEST_F()
|
H A D | libpldmresponder_bios_enum_attribute_test.cpp | 76 "object_path" : "/xyz/abc/def", in TEST_F() 144 "object_path" : "/xyz/abc/def", in TEST_F() 145 "interface" : "xyz.openbmc.abc.def", in TEST_F() 155 getDbusPropertyVariant(StrEq("/xyz/abc/def"), StrEq("Policy"), in TEST_F() 156 StrEq("xyz.openbmc.abc.def"))) in TEST_F() 167 getDbusPropertyVariant(StrEq("/xyz/abc/def"), StrEq("Policy"), in TEST_F() 168 StrEq("xyz.openbmc.abc.def"))) in TEST_F() 197 "object_path" : "/xyz/abc/def", in TEST_F() 198 "interface" : "xyz.openbmc.abc.def", in TEST_F() 204 DBusMapping dbusMapping{"/xyz/abc/def", "xyz.openbmc.abc.def", "Policy", in TEST_F()
|
/openbmc/pldm/libpldmresponder/test/event_jsons/good/ |
H A D | event_state_sensor.json | 11 "object_path": "/xyz/abc/def", 30 "object_path": "/xyz/abc/def", 45 "object_path": "/xyz/abc/ghi", 60 "object_path": "/xyz/abc/jkl", 74 "object_path": "/xyz/abc/mno", 89 "object_path": "/xyz/abc/opk", 104 "object_path": "/xyz/abc/ijl",
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-slip-dbus/ |
H A D | 9b939c0b534c1b7958fa0a3c7aedf30bca910431.patch | 4 Subject: [PATCH] Python 3.10+ fix: Use collections.abc.Callable instead of 27 +import collections.abc 36 + assert(func is None or isinstance(func, collections.abc.Callable)) 44 + isinstance(authfail_callback, collections.abc.Callable)) 57 +import collections.abc 66 + assert(isinstance(hook, collections.abc.Callable)) 75 + assert isinstance(hook, collections.abc.Callable)
|
/openbmc/linux/tools/testing/selftests/efivarfs/ |
H A D | efivarfs.sh | 154 local file_list="abc dump-type0-11-1-1362436005 1234 -" 177 -1234-1234-1234-123456789abc 183 -12345678-1234-1234-1234-123456789abc 184 a-12345678=1234-1234-1234-123456789abc 185 a-12345678-1234=1234-1234-123456789abc 186 a-12345678-1234-1234=1234-123456789abc 187 a-12345678-1234-1234-1234=123456789abc 188 1112345678-1234-1234-1234-123456789abc"
|
/openbmc/estoraged/src/test/ |
H A D | util_test.cpp | 115 std::filesystem::create_directories("abc/device"); in TEST() 116 const std::string dummyTypeFileName("abc/device/type"); in TEST() 151 EXPECT_EQ(3U, std::filesystem::remove_all("abc")); in TEST() 173 std::filesystem::create_directories("abc/device"); in TEST() 174 const std::string dummyTypeFileName("abc/device/type"); in TEST() 209 EXPECT_EQ(3U, std::filesystem::remove_all("abc")); in TEST() 222 std::filesystem::create_directories("abc/device"); in TEST() 223 const std::string dummyTypeFileName("abc/device/type"); in TEST() 246 EXPECT_EQ(3U, std::filesystem::remove_all("abc")); in TEST() 261 std::filesystem::create_directories("abc/device"); in TEST() [all …]
|
/openbmc/pldm/libpldmresponder/test/system_type1/bios_jsons/ |
H A D | bios_attrs.json | 12 "object_path": "/xyz/abc/def", 31 "object_path": "/xyz/abc/def", 47 "object_path": "/xyz/abc/def", 108 "default_string": "abc", 113 "object_path": "/xyz/abc/def", 130 "object_path": "/xyz/abc/def",
|
/openbmc/pldm/libpldmresponder/test/bios_jsons/ |
H A D | bios_attrs.json | 12 "object_path": "/xyz/abc/def", 31 "object_path": "/xyz/abc/def", 47 "object_path": "/xyz/abc/def", 108 "default_string": "abc", 113 "object_path": "/xyz/abc/def", 130 "object_path": "/xyz/abc/def",
|
/openbmc/pldm/requester/test/ |
H A D | mctp_endpoint_discovery_test.cpp | 56 pldm::MctpInfo(12, pldm::emptyUUID, "abc", 1)}; in TEST() 64 EXPECT_EQ(std::get<2>(mctpInfo), "abc"); in TEST() 87 pldm::MctpInfo(12, pldm::emptyUUID, "abc", 1)}; in TEST() 95 EXPECT_EQ(std::get<2>(mctpInfo), "abc"); in TEST() 99 remainMctpInfos.emplace_back(pldm::MctpInfo(12, pldm::emptyUUID, "abc", 1)); in TEST() 106 EXPECT_EQ(std::get<2>(mctpInfo), "abc"); in TEST() 121 pldm::MctpInfo(12, pldm::emptyUUID, "abc", 1)}; in TEST() 129 EXPECT_EQ(std::get<2>(mctpInfo), "abc"); in TEST()
|
/openbmc/openpower-occ-control/test/ |
H A D | occ_dbus_test.cpp | 9 std::string tmpPath = "/abc/def"; in TEST() 23 std::string tmpPath = "/abc/def"; in TEST() 37 std::string tmpPath = "/abc/def"; in TEST() 51 std::string tmpPath = "/abc/def"; in TEST() 65 std::string tmpPath = "/abc/def"; in TEST()
|
/openbmc/qemu/scripts/codeconverter/codeconverter/ |
H A D | utils.py | 62 assert line_col('abc\ndefg\nhijkl', 0) == (1, 1) 63 assert line_col('abc\ndefg\nhijkl', 2) == (1, 3) 64 assert line_col('abc\ndefg\nhijkl', 3) == (1, 4) 65 assert line_col('abc\ndefg\nhijkl', 4) == (2, 1) 66 assert line_col('abc\ndefg\nhijkl', 10) == (3, 2)
|
H A D | regexps.py | 34 >>> NAMED('mygroup', 'xyz', 'abc') 61 r = OPTIONAL_PARS('abc')+'$' 62 assert re.match(r, 'abc') 63 assert re.match(r, '(abc)') 65 assert not re.match(r, '(abc') 66 assert not re.match(r, 'abc)')
|
/openbmc/pldm/libpldmresponder/examples/effecter/ |
H A D | dbus_to_terminus_effecter.json | 27 "object_path": "/xyz/abc/def", 45 "object_path": "/xyz/abc/def", 58 "object_path": "/abc/def/xyz", 83 "object_path": "/def/abc/xyz",
|
/openbmc/openpower-pnor-code-mgmt/test/ |
H A D | msl_verify.cpp | 57 versionStr = "nomatch-1.2.3-abc"; in TEST_F() 63 versionStr = "xyzformat-v1.2.3-4.5abc"; in TEST_F() 69 versionStr = "xyformat-system-v6.7-abc"; in TEST_F() 81 versionStr = "Vendor-Model-v-4.1-abc"; in TEST_F()
|
/openbmc/qemu/python/qemu/qmp/ |
H A D | models.py | 10 from collections import abc 68 self._check_member('QMP', abc.Mapping, "JSON object") 98 self._check_member('version', abc.Mapping, "JSON object") 101 self._check_member('capabilities', abc.Sequence, "JSON array") 120 self._check_member('error', abc.Mapping, "JSON object")
|
/openbmc/pldm/libpldmresponder/examples/bios/ |
H A D | string_attrs.json | 12 "default_string": "abc", 15 "object_path": "/xyz/abc/def", 29 "object_path": "/xyz/abc/def",
|
/openbmc/pldm/libpldmresponder/examples/events/ |
H A D | event_state_sensor.json | 15 "object_path": "/xyz/abc/def", 32 "object_path": "/xyz/abc/def", 46 "object_path": "/xyz/abc/ghi",
|