| /openbmc/phosphor-power/phosphor-regulators/src/ |
| H A D | config_file_parser.hpp | 81 * Parses a JSON element containing an action. 87 * @param element JSON element 90 std::unique_ptr<Action> parseAction(const nlohmann::json& element); 93 * Parses a JSON element containing an array of actions. 99 * @param element JSON element in getRequiredProperty() 103 const nlohmann::json& element); in getRequiredProperty() 106 * Parses a JSON element containing an and action. 112 * @param element JSO 94 getRequiredProperty(const nlohmann::json & element,const std::string & property) getRequiredProperty() argument 153 parseBitPosition(const nlohmann::json & element) parseBitPosition() argument 178 parseBitValue(const nlohmann::json & element) parseBitValue() argument 203 parseBoolean(const nlohmann::json & element) parseBoolean() argument 312 parseDouble(const nlohmann::json & element) parseDouble() argument 337 parseHexByte(const nlohmann::json & element) parseHexByte() argument 495 parseInt8(const nlohmann::json & element) parseInt8() argument 782 parseString(const nlohmann::json & element,bool isEmptyValid=false) parseString() argument 807 parseUint8(const nlohmann::json & element) parseUint8() argument 832 parseUnsignedInteger(const nlohmann::json & element) parseUnsignedInteger() argument 861 verifyIsArray(const nlohmann::json & element) verifyIsArray() argument 876 verifyIsObject(const nlohmann::json & element) verifyIsObject() argument 895 verifyPropertyCount(const nlohmann::json & element,unsigned int expectedCount) verifyPropertyCount() argument [all...] |
| H A D | config_file_parser.cpp | 60 std::unique_ptr<Action> parseAction(const json& element) in parseAction() 62 verifyIsObject(element); in parseAction() 66 if (element.contains("comments")) in parseAction() 73 if (element.contains("and")) in parseAction() 75 action = parseAnd(element["and"]); in parseAction() 78 else if (element.contains("compare_presence")) in parseAction() 80 action = parseComparePresence(element["compare_presence"]); in parseAction() 83 else if (element.contains("compare_vpd")) in parseAction() 85 action = parseCompareVPD(element["compare_vpd"]); in parseAction() 88 else if (element in parseAction() 55 parseAction(const json & element) parseAction() argument 170 parseActionArray(const json & element) parseActionArray() argument 181 parseAnd(const json & element) parseAnd() argument 196 parseChassis(const json & element) parseChassis() argument 237 parseChassisArray(const json & element) parseChassisArray() argument 248 parseComparePresence(const json & element) parseComparePresence() argument 269 parseCompareVPD(const json & element) parseCompareVPD() argument 311 parseConfiguration(const json & element) parseConfiguration() argument 342 parseDevice(const json & element) parseDevice() argument 431 parseDeviceArray(const json & element) parseDeviceArray() argument 442 parseHexByteArray(const json & element) parseHexByteArray() argument 453 parseI2CCaptureBytes(const json & element) parseI2CCaptureBytes() argument 478 parseI2CCompareBit(const json & element) parseI2CCompareBit() argument 504 parseI2CCompareByte(const json & element) parseI2CCompareByte() argument 534 parseI2CCompareBytes(const json & element) parseI2CCompareBytes() argument 574 parseI2CInterface(const json & element) parseI2CInterface() argument 598 parseI2CWriteBit(const json & element) parseI2CWriteBit() argument 624 parseI2CWriteByte(const json & element) parseI2CWriteByte() argument 654 parseI2CWriteBytes(const json & element) parseI2CWriteBytes() argument 694 parseIf(const json & element) parseIf() argument 727 parseInventoryPath(const json & element) parseInventoryPath() argument 739 parseLogPhaseFault(const json & element) parseLogPhaseFault() argument 755 parseNot(const json & element) parseNot() argument 763 parseOr(const json & element) parseOr() argument 779 parsePhaseFaultDetection(const json & element) parsePhaseFaultDetection() argument 810 parsePhaseFaultType(const json & element) parsePhaseFaultType() argument 831 parsePMBusReadSensor(const json & element) parsePMBusReadSensor() argument 868 parsePMBusWriteVoutCommand(const json & element) parsePMBusWriteVoutCommand() argument 917 parsePresenceDetection(const json & element) parsePresenceDetection() argument 939 parseRail(const json & element) parseRail() argument 980 parseRailArray(const json & element) parseRailArray() argument 993 parseRoot(const json & element) parseRoot() argument 1025 parseRule(const json & element) parseRule() argument 1053 parseRuleArray(const json & element) parseRuleArray() argument 1065 parseRuleIDOrActionsProperty(const json & element) parseRuleIDOrActionsProperty() argument 1090 parseRunRule(const json & element) parseRunRule() argument 1098 parseSensorDataFormat(const json & element) parseSensorDataFormat() argument 1123 parseSensorMonitoring(const json & element) parseSensorMonitoring() argument 1145 parseSensorType(const json & element) parseSensorType() argument 1194 parseSetDevice(const json & element) parseSetDevice() argument 1202 parseVoutDataFormat(const json & element) parseVoutDataFormat() argument [all...] |
| /openbmc/phosphor-power/phosphor-power-sequencer/src/ |
| H A D | config_file_parser.hpp | 92 * Parses a JSON element containing a chassis object. in getRequiredProperty() argument 98 * @param element JSON element in getRequiredProperty() 104 const json& element, 109 * Parses a JSON element containing an array of chassis objects. 115 * @param element JSON element in parseBoolean() 121 const json& element, in parseBoolean() 126 * Parses a JSON element containing the properties of a chassis. 128 * The JSON element ma 114 parseBoolean(const nlohmann::json & element) parseBoolean() argument 184 parseString(const nlohmann::json & element,bool isEmptyValid=false) parseString() argument 209 parseUint8(const nlohmann::json & element) parseUint8() argument 234 parseUnsignedInteger(const nlohmann::json & element) parseUnsignedInteger() argument 251 verifyIsArray(const nlohmann::json & element) verifyIsArray() argument 266 verifyIsObject(const nlohmann::json & element) verifyIsObject() argument 285 verifyPropertyCount(const nlohmann::json & element,unsigned int expectedCount) verifyPropertyCount() argument [all...] |
| H A D | config_file_parser.cpp | 100 const json& element, in parseGPIO() 104 verifyIsObject(element); in parseGPIO() 107 if (!element.contains("template_id")) in parseGPIO() 110 return parseChassisProperties(element, isChassisTemplate, NO_VARIABLES, in parseGPIO() 118 if (element.contains("comments")) in parseRail() 124 const json& templateIDElement = getRequiredProperty(element, "template_id"); in parseRail() 130 getRequiredProperty(element, "template_variable_values"); in parseRail() 136 verifyPropertyCount(element, propertyCount); in parseRail() 154 const json& element, in parseRail() 158 verifyIsArray(element); in parseRail() 91 parseGPIO(const json & element) parseGPIO() argument 116 parseRail(const json & element) parseRail() argument 194 parseRailArray(const json & element) parseRailArray() argument 205 parseRoot(const json & element) parseRoot() argument [all...] |
| /openbmc/phosphor-power/phosphor-regulators/test/ |
| H A D | config_file_parser_tests.cpp | 217 const json element = R"( in TEST() 225 std::unique_ptr<Action> action = parseAction(element); in TEST() 231 const json element = R"( in TEST() 238 std::unique_ptr<Action> action = parseAction(element); in TEST() local 244 const json element = R"( in TEST() 252 std::unique_ptr<Action> action = parseAction(element); in TEST() local 258 const json element = R"( in TEST() 267 std::unique_ptr<Action> action = parseAction(element); in TEST() 273 const json element = R"( in TEST() 283 std::unique_ptr<Action> action = parseAction(element); in TEST() 216 const json element = R"( { "format": "linear" } )"_json; TEST() local 224 const json element = R"( { "volts": 1.03 } )"_json; TEST() local 265 const json element = R"( TEST() local 279 const json element = R"( TEST() local 294 const json element = R"( TEST() local 310 const json element = R"( TEST() local 324 const json element = R"( TEST() local 339 const json element = R"( TEST() local 353 const json element = R"( TEST() local 367 const json element = R"( TEST() local 382 const json element = R"( TEST() local 396 const json element = R"( TEST() local 410 const json element = R"( TEST() local 426 const json element = R"( TEST() local 439 const json element = R"( TEST() local 451 const json element = R"( TEST() local 465 const json element = R"( TEST() local 480 const json element = R"( TEST() local 493 const json element = R"( TEST() local 504 const json element = R"( TEST() local 516 const json element = R"( [ "0xFF", "0x01" ] )"_json; TEST() local 528 const json element = R"( TEST() local 544 const json element = R"( TEST() local 561 const json element = R"( TEST() local 582 const json element = R"( TEST() local 596 const json element = R"( TEST() local 614 const json element = R"( TEST() local 627 const json element = R"( TEST() local 643 const json element = R"( TEST() local 661 const json element = R"( 0 )"_json; TEST() local 668 const json element = R"( 7 )"_json; TEST() local 676 const json element = R"( 1.03 )"_json; TEST() local 688 const json element = R"( -1 )"_json; TEST() local 700 const json element = R"( 8 )"_json; TEST() local 714 const json element = R"( 0 )"_json; TEST() local 721 const json element = R"( 1 )"_json; TEST() local 729 const json element = R"( 0.5 )"_json; TEST() local 741 const json element = R"( -1 )"_json; TEST() local 753 const json element = R"( 2 )"_json; TEST() local 767 const json element = R"( true )"_json; TEST() local 774 const json element = R"( false )"_json; TEST() local 782 const json element = R"( 1 )"_json; TEST() local 796 const json element = R"( TEST() local 811 const json element = R"( TEST() local 841 const json element = R"( TEST() local 858 const json element = R"( TEST() local 875 const json element = R"( TEST() local 892 const json element = R"( TEST() local 910 const json element = R"( TEST() local 926 const json element = R"( TEST() local 942 const json element = R"( [ "0xFF", "0x01" ] )"_json; TEST() local 954 const json element = R"( TEST() local 971 const json element = R"( TEST() local 991 const json element = R"( TEST() local 1011 const json element = R"( TEST() local 1029 const json element = R"( TEST() local 1046 const json element = R"( [ "0xFF", "0x01" ] )"_json; TEST() local 1058 const json element = R"( TEST() local 1076 const json element = R"( TEST() local 1092 const json element = R"( TEST() local 1108 const json element = R"( TEST() local 1125 const json element = R"( TEST() local 1144 const json element = R"( TEST() local 1162 const json element = R"( TEST() local 1179 const json element = R"( TEST() local 1196 const json element = R"( TEST() local 1214 const json element = R"( [ "0xFF", "0x01" ] )"_json; TEST() local 1226 const json element = R"( TEST() local 1245 const json element = R"( TEST() local 1262 const json element = R"( TEST() local 1279 const json element = R"( TEST() local 1297 const json element = R"( TEST() local 1317 const json element = R"( TEST() local 1335 const json element = R"( TEST() local 1353 const json element = R"( TEST() local 1371 const json element = R"( TEST() local 1391 const json element = R"( TEST() local 1410 const json element = R"( TEST() local 1429 const json element = R"( TEST() local 1445 const json element = R"( TEST() local 1468 const json element = R"( TEST() local 1485 const json element = R"( TEST() local 1502 const json element = R"( TEST() local 1519 const json element = R"( TEST() local 1544 const json element = R"( [ "0xFF", "0x01" ] )"_json; TEST() local 1556 const json element = R"( TEST() local 1576 const json element = R"( TEST() local 1598 const json element = R"( TEST() local 1645 const json element = R"( TEST() local 1673 const json element = R"( TEST() local 1707 const json element = R"( TEST() local 1730 const json element = R"( TEST() local 1753 const json element = R"( TEST() local 1776 const json element = R"( TEST() local 1795 const json element = R"( TEST() local 1817 const json element = R"( TEST() local 1839 const json element = R"( TEST() local 1861 const json element = R"( TEST() local 1879 const json element = R"( [ "0xFF", "0x01" ] )"_json; TEST() local 1891 const json element = R"( TEST() local 1913 const json element = R"( TEST() local 1939 const json element = R"( TEST() local 1957 const json element = R"( 1.03 )"_json; TEST() local 1964 const json element = R"( 24 )"_json; TEST() local 1972 const json element = R"( true )"_json; TEST() local 1986 const json element = R"( "0xFF" )"_json; TEST() local 1993 const json element = R"( "0xff" )"_json; TEST() local 2000 const json element = R"( "0xf" )"_json; TEST() local 2008 const json element = R"( "0xfff" )"_json; TEST() local 2020 const json element = R"( "0xAG" )"_json; TEST() local 2032 const json element = R"( "ff" )"_json; TEST() local 2044 const json element = ""; TEST() local 2056 const json element = R"( "f" )"_json; TEST() local 2068 const json element = R"( "0x" )"_json; TEST() local 2080 const json element = R"( "0XFF" )"_json; TEST() local 2094 const json element = R"( [ "0xCC", "0xFF" ] )"_json; TEST() local 2103 const json element = 0; TEST() local 2117 const json element = R"( TEST() local 2132 const json element = R"( [ "0xFF", "0x01" ] )"_json; TEST() local 2144 const json element = R"( TEST() local 2161 const json element = R"( TEST() local 2178 const json element = R"( TEST() local 2194 const json element = R"( TEST() local 2210 const json element = R"( TEST() local 2230 const json element = R"( TEST() local 2247 const json element = R"( TEST() local 2266 const json element = R"( [ "0xFF", "0x01" ] )"_json; TEST() local 2278 const json element = R"( TEST() local 2296 const json element = R"( TEST() local 2314 const json element = R"( TEST() local 2332 const json element = R"( TEST() local 2349 const json element = R"( TEST() local 2366 const json element = R"( TEST() local 2385 const json element = R"( TEST() local 2400 const json element = R"( TEST() local 2417 const json element = R"( [ "0xFF", "0x01" ] )"_json; TEST() local 2429 const json element = R"( TEST() local 2448 const json element = R"( TEST() local 2466 const json element = R"( TEST() local 2484 const json element = R"( TEST() local 2502 const json element = R"( TEST() local 2519 const json element = R"( TEST() local 2538 const json element = R"( TEST() local 2557 const json element = R"( TEST() local 2578 const json element = R"( [ "0xFF", "0x01" ] )"_json; TEST() local 2590 const json element = R"( TEST() local 2609 const json element = R"( TEST() local 2627 const json element = R"( TEST() local 2645 const json element = R"( TEST() local 2663 const json element = R"( TEST() local 2681 const json element = R"( TEST() local 2697 const json element = R"( TEST() local 2715 const json element = R"( TEST() local 2731 const json element = R"( TEST() local 2750 const json element = R"( [ "0xFF", "0x01" ] )"_json; TEST() local 2762 const json element = R"( TEST() local 2780 const json element = R"( TEST() local 2798 const json element = R"( TEST() local 2816 const json element = R"( TEST() local 2833 const json element = R"( TEST() local 2850 const json element = R"( TEST() local 2869 const json element = R"( TEST() local 2883 const json element = R"( TEST() local 2899 const json element = R"( [ "0xFF", "0x01" ] )"_json; TEST() local 2911 const json element = R"( TEST() local 2930 const json element = R"( TEST() local 2948 const json element = R"( TEST() local 2966 const json element = R"( TEST() local 2984 const json element = R"( TEST() local 3001 const json element = R"( TEST() local 3020 const json element = R"( TEST() local 3037 const json element = R"( TEST() local 3058 const json element = R"( [ "0xFF", "0x01" ] )"_json; TEST() local 3070 const json element = R"( TEST() local 3089 const json element = R"( TEST() local 3107 const json element = R"( TEST() local 3125 const json element = R"( TEST() local 3143 const json element = R"( TEST() local 3161 const json element = R"( TEST() local 3177 const json element = R"( TEST() local 3195 const json element = R"( TEST() local 3210 const json element = R"( TEST() local 3226 const json element = R"( TEST() local 3243 const json element = R"( TEST() local 3260 const json element = R"( TEST() local 3278 const json element = R"( TEST() local 3296 const json element = R"( TEST() local 3314 const json element = R"( TEST() local 3332 const json element = R"( [ "0xFF", "0x01" ] )"_json; TEST() local 3346 const json element = R"( -128 )"_json; TEST() local 3353 const json element = R"( 127 )"_json; TEST() local 3361 const json element = R"( 1.03 )"_json; TEST() local 3373 const json element = R"( -129 )"_json; TEST() local 3385 const json element = R"( 128 )"_json; TEST() local 3399 const json element = "/system/chassis/motherboard/cpu3"; TEST() local 3408 const json element = "system/chassis/motherboard/cpu1"; TEST() local 3418 const json element = R"( { "foo": "bar" } )"_json; TEST() local 3430 const json element = ""; TEST() local 3444 const json element = R"( TEST() local 3457 const json element = R"( [ "0xFF", "0x01" ] )"_json; TEST() local 3469 const json element = R"( TEST() local 3484 const json element = R"( TEST() local 3500 const json element = R"( TEST() local 3519 const json element = R"( TEST() local 3529 const json element = R"( [ "0xFF", "0x01" ] )"_json; TEST() local 3543 const json element = R"( TEST() local 3556 const json element = R"( TEST() local 3572 const json element = R"( TEST() local 3590 const json element = R"( TEST() local 3605 const json element = R"( TEST() local 3621 const json element = R"( [ "foo", "bar" ] )"_json; TEST() local 3633 const json element = R"( TEST() local 3650 const json element = R"( TEST() local 3666 const json element = R"( TEST() local 3682 const json element = R"( TEST() local 3699 const json element = R"( TEST() local 3719 const json element = R"( TEST() local 3740 const json element = "n"; TEST() local 3747 const json element = "n+1"; TEST() local 3755 const json element = "n+2"; TEST() local 3767 const json element = R"( { "foo": "bar" } )"_json; TEST() local 3781 const json element = R"( TEST() local 3799 const json element = R"( TEST() local 3820 const json element = R"( [ "0xFF", "0x01" ] )"_json; TEST() local 3832 const json element = R"( TEST() local 3851 const json element = R"( TEST() local 3868 const json element = R"( TEST() local 3885 const json element = R"( TEST() local 3902 const json element = R"( TEST() local 3920 const json element = R"( TEST() local 3938 const json element = R"( TEST() local 3956 const json element = R"( TEST() local 3977 const json element = R"( TEST() local 3992 const json element = R"( TEST() local 4013 const json element = R"( [ "0xFF", "0x01" ] )"_json; TEST() local 4025 const json element = R"( TEST() local 4042 const json element = R"( TEST() local 4059 const json element = R"( TEST() local 4075 const json element = R"( TEST() local 4092 const json element = R"( TEST() local 4109 const json element = R"( TEST() local 4128 const json element = R"( TEST() local 4142 const json element = R"( TEST() local 4156 const json element = R"( TEST() local 4172 const json element = R"( TEST() local 4188 const json element = R"( TEST() local 4205 const json element = R"( TEST() local 4225 const json element = R"( [ "foo", "bar" ] )"_json; TEST() local 4237 const json element = R"( TEST() local 4258 const json element = R"( TEST() local 4271 const json element = R"( TEST() local 4301 const json element = R"( TEST() local 4326 const json element = R"( TEST() local 4352 const json element = R"( [ "0xFF", "0x01" ] )"_json; TEST() local 4364 const json element = R"( TEST() local 4381 const json element = R"( TEST() local 4409 const json element = R"( TEST() local 4428 const json element = R"( TEST() local 4443 const json element = R"( TEST() local 4461 const json element = R"( TEST() local 4477 const json element = R"( TEST() local 4504 const json element = R"( [ "0xFF", "0x01" ] )"_json; TEST() local 4516 const json element = R"( TEST() local 4539 const json element = R"( TEST() local 4560 const json element = R"( TEST() local 4577 const json element = R"( TEST() local 4595 const json element = R"( [ "0xFF", "0x01" ] )"_json; TEST() local 4607 const json element = R"( TEST() local 4625 const json element = R"( TEST() local 4644 const json element = R"( TEST() local 4661 const json element = R"( TEST() local 4678 const json element = R"( TEST() local 4700 const json element = R"( TEST() local 4728 const json element = R"( { "id": "set_voltage_rule" } )"_json; TEST() local 4742 const json element = R"( TEST() local 4757 const json element = R"( TEST() local 4770 const json element = R"( [ "foo", "bar" ] )"_json; TEST() local 4782 const json element = R"( TEST() local 4796 const json element = R"( TEST() local 4810 const json element = R"( TEST() local 4827 const json element = R"( TEST() local 4854 const json element = "vdd_regulator"; TEST() local 4862 const json element = 1; TEST() local 4874 const json element = ""; TEST() local 4888 const json element = "linear_11"; TEST() local 4897 const json element = "linear_16"; TEST() local 4907 const json element = "foo"; TEST() local 4919 const json element = R"( { "foo": "bar" } )"_json; TEST() local 4933 const json element = R"( TEST() local 4947 const json element = R"( TEST() local 4961 const json element = R"( TEST() local 4977 const json element = R"( TEST() local 4993 const json element = R"( TEST() local 5010 const json element = R"( TEST() local 5030 const json element = R"( [ "foo", "bar" ] )"_json; TEST() local 5042 const json element = R"( TEST() local 5063 const json element = "iout"; TEST() local 5070 const json element = "iout_peak"; TEST() local 5077 const json element = "iout_valley"; TEST() local 5084 const json element = "pout"; TEST() local 5091 const json element = "temperature"; TEST() local 5098 const json element = "temperature_peak"; TEST() local 5105 const json element = "vout"; TEST() local 5112 const json element = "vout_peak"; TEST() local 5119 const json element = "vout_valley"; TEST() local 5127 const json element = "foo"; TEST() local 5139 const json element = R"( { "foo": "bar" } )"_json; TEST() local 5153 const json element = "regulator1"; TEST() local 5161 const json element = 1; TEST() local 5173 const json element = ""; TEST() local 5187 const json element = ""; TEST() local 5194 const json element = "vdd_regulator"; TEST() local 5202 const json element = R"( { "foo": "bar" } )"_json; TEST() local 5214 const json element = ""; TEST() local 5228 const json element = R"( 0 )"_json; TEST() local 5235 const json element = R"( 255 )"_json; TEST() local 5243 const json element = R"( 1.03 )"_json; TEST() local 5255 const json element = R"( -1 )"_json; TEST() local 5267 const json element = R"( 256 )"_json; TEST() local 5281 const json element = R"( 1 )"_json; TEST() local 5289 const json element = R"( 1.5 )"_json; TEST() local 5301 const json element = R"( -1 )"_json; TEST() local 5315 const json element = "linear"; TEST() local 5324 const json element = "vid"; TEST() local 5332 const json element = "direct"; TEST() local 5341 const json element = "ieee"; TEST() local 5350 const json element = "foo"; TEST() local 5362 const json element = R"( { "foo": "bar" } )"_json; TEST() local 5377 const json element = R"( [ "foo", "bar" ] )"_json; TEST() local 5388 const json element = R"( { "foo": "bar" } )"_json; TEST() local 5403 const json element = R"( { "foo": "bar" } )"_json; TEST() local 5414 const json element = R"( [ "foo", "bar" ] )"_json; TEST() local 5429 const json element = R"( TEST() local 5445 const json element = R"( TEST() local [all...] |
| /openbmc/openbmc-test-automation/gui/test/gui_header/ |
| H A D | test_obmc_gui_server_health.robot | |
| H A D | test_obmc_gui_ip_refresh_check.robot | |
| /openbmc/openbmc-test-automation/gui/gui_test/hardware_status_menu/ |
| H A D | test_sensors_sub_menu.robot | 29 Page Should Contain Element ${xpath_sensor_heading} 43 Page Should Contain Element ${xpath_sensors_filter} 44 Click Element ${xpath_sensors_filter} 47 Page Should Contain Element ${xpath_sensors_search} 53 [Teardown] Click Element ${xpath_clear_search_input} 55 Wait Until Page Contains Element ${xpath_sensors_search} 64 Wait Until Page Contains Element ${xpath_sensors_filter} timeout=15s 65 Click Element ${xpath_sensors_filter} 67 Page Should Contain Element ${xpath_filter_ok} 68 Page Should Contain Element ${xpath_filter_warning} [all …]
|
| /openbmc/openbmc/poky/bitbake/lib/bs4/builder/ |
| H A D | _html5lib.py | 17 from bs4.element import ( 26 from bs4.element import ( 61 # original file is the source of an element. 156 return Element(self.soup, self.soup, None) 177 return Element(tag, self.soup, namespace) 188 return Element(self.soup, self.soup, None) 192 self.soup.append(node.element) 198 return treebuilder_base.TreeBuilder.getFragment(self).element 200 def testSerializer(self, element): argument 205 def serializeElement(element, indent=0): argument [all …]
|
| /openbmc/phosphor-power/phosphor-power-sequencer/test/ |
| H A D | config_file_parser_tests.cpp | 365 const json element = R"( in TEST() 381 auto chassis = parseChassis(element, chassisTemplates, services); in TEST() 393 const json element = R"( in TEST() 404 auto chassis = parseChassis(element, chassisTemplates, services); in TEST() 416 const json element = R"( in TEST() 428 auto chassis = parseChassis(element, chassisTemplates, services); in TEST() 438 // Test where fails: Element is not an object in TEST() 441 const json element = R"( [ "vdda", "vddb" ] )"_json; in TEST() 443 parseChassis(element, chassisTemplates, services); in TEST() 448 EXPECT_STREQ(e.what(), "Element i in TEST() 329 const json element = R"( { "name": "VDD_CPU0" } )"_json; TEST() local 337 const json element = R"( { "foo": 23 } )"_json; TEST() local 351 const json element = R"( true )"_json; TEST() local 358 const json element = R"( false )"_json; TEST() local 366 const json element = R"( 1 )"_json; TEST() local 380 const json element = R"( TEST() local 392 const json element = R"( TEST() local 406 const json element = R"( [ "vdda", "vddb" ] )"_json; TEST() local 418 const json element = R"( TEST() local 434 const json element = R"( TEST() local 451 const json element = R"( TEST() local 468 const json element = R"( TEST() local 487 const json element = R"( TEST() local 504 const json element = R"( TEST() local 533 const json element = R"( [ "vdda", "vddb" ] )"_json; TEST() local 545 const json element = R"( TEST() local 561 const json element = R"( TEST() local 578 const json element = R"( TEST() local 595 const json element = R"( TEST() local 612 const json element = R"( TEST() local 629 const json element = R"( TEST() local 646 const json element = R"( TEST() local 663 const json element = R"( TEST() local 680 const json element = R"( TEST() local 698 const json element = R"( TEST() local 715 const json element = R"( TEST() local 734 const json element = R"( TEST() local 744 const json element = R"( TEST() local 759 const json element = R"( TEST() local 775 const json element = R"( TEST() local 794 const json element = R"( TEST() local 819 const json element = R"( [ "VDD_CPU0", "VCS_CPU1" ] )"_json; TEST() local 831 const json element = R"( TEST() local 846 const json element = R"( TEST() local 862 const json element = R"( TEST() local 887 const json element = ""; TEST() local 894 const json element = "vdd_cpu1"; TEST() local 902 const json element = R"( { "foo": "bar" } )"_json; TEST() local 914 const json element = ""; TEST() local 928 const json element = R"( 0 )"_json; TEST() local 935 const json element = R"( 255 )"_json; TEST() local 943 const json element = R"( 1.03 )"_json; TEST() local 955 const json element = R"( -1 )"_json; TEST() local 967 const json element = R"( 256 )"_json; TEST() local 981 const json element = R"( 1 )"_json; TEST() local 989 const json element = R"( 1.5 )"_json; TEST() local 1001 const json element = R"( -1 )"_json; TEST() local 1015 const json element = R"( [ "foo", "bar" ] )"_json; TEST() local 1022 const json element = R"( { "foo": "bar" } )"_json; TEST() local 1036 const json element = R"( { "foo": "bar" } )"_json; TEST() local 1043 const json element = R"( [ "foo", "bar" ] )"_json; TEST() local 1057 const json element = R"( TEST() local 1069 const json element = R"( TEST() local [all...] |
| /openbmc/openbmc-test-automation/gui/lib/ |
| H A D | gui_resource.robot | 99 Wait Until Element Is Enabled ${xpath_login_username_input} 102 Wait Until Element Is Enabled ${xpath_login_button} 103 Click Element ${xpath_login_button} 105 Wait Until Element Is Not Visible 125 Click Element ${xpath_root_button_menu} 126 Click Element ${xpath_logout_button} 127 Wait Until Page Contains Element ${xpath_login_button} 143 Wait Until Page Contains Element ${xpath_root_button_menu} 144 Click Element ${xpath_root_button_menu} 145 Click Element ${xpath_profile_settings} [all …]
|
| /openbmc/openbmc-test-automation/gui/gui_test/operations_menu/ |
| H A D | test_server_power_operations_sub_menu.robot | 36 Page Should Contain Element ${xpath_server_power_heading} 56 Page Should Contain Element ${xpath_enable_onetime_boot_checkbox} 57 Page Should Contain Element ${xpath_boot_option_select} 67 Click Element ${xpath_save_button} 81 Click Element At Coordinates ${xpath_shutdown_immediate_radio} 0 0 82 Click Element ${xpath_shutdown_button} 83 Wait And Click Element ${xpath_confirm_button} 85 …Wait Until Keyword Succeeds 3 min 15 sec Element Should Contain ${xpath_current_power_state} … 93 Click Element At Coordinates ${xpath_shutdown_orderly_radio} 0 0 94 Click Element ${xpath_shutdown_button} [all …]
|
| H A D | test_reboot_bmc_sub_menu.robot | 27 Page Should Contain Element ${xpath_reboot_bmc_heading} 34 Page Should Contain Element ${xpath_reboot_bmc_button} 48 Click Element ${xpath_reboot_bmc_button} 53 Click Element At Coordinates ${xpath_reboot_cancel_button} 0 0 54 Wait Until Element Is Not Visible ${xpath_reboot_cancel_button} timeout=15 61 Click Element ${xpath_reboot_bmc_button} 65 Click Element At Coordinates ${xpath_confirm_button} 0 0 72 Click Element ${xpath_refresh_button} 73 Wait Until Element Is Visible ${xpath_reboot_bmc_button} timeout=10 86 Click Element ${xpath_reboot_bmc_button} [all …]
|
| /openbmc/phosphor-mrw-tools/ |
| H A D | patchxml.py | 6 The patch file is itself an XML file. It can have any root element name, 9 where the fix should be applied. A <targetFile> element is required in the 11 applied to, though the targetFile element is handled outside of this script. 15 top level element. 19 1) Add an element: 20 Put in the element to add, along with the type='add' attribute 21 and an xpath attribute specifying where the new element should go. 27 This will add a new enumerationType element child to the root element. 29 2) Replace an element: 30 Put in the new element, with the type='replace' attribute [all …]
|
| /openbmc/openbmc-test-automation/gui/gui_test/settings_menu/ |
| H A D | test_date_and_time_sub_menu.robot | 33 Page Should Contain Element ${xpath_date_time_heading} 59 Page Should Contain Element ${xpath_select_manual} 60 Page Should Contain Element ${xpath_select_ntp} 61 Page Should Contain Element ${xpath_select_save_settings} 68 Click Element At Coordinates ${xpath_select_manual} 0 0 69 Page Should Contain Element ${xpath_manual_date} 70 Page Should Contain Element ${xpath_manual_time} 72 Click Element At Coordinates ${xpath_select_ntp} 0 0 73 Page Should Contain Element ${xpath_ntp_server1} 74 Page Should Contain Element ${xpath_ntp_server2} [all …]
|
| H A D | test_factory_reset_sub_menu.robot | 28 Page Should Contain Element ${xpath_factory_reset_heading} 42 Page Should Contain Element ${xpath_reset_button} 55 Page Should Contain Element ${xpath_reset_server_radio_button} 56 Page Should Contain Element ${xpath_reset_bmc_server_radio_button} 70 Click Element ${xpath_reset_button} 71 Wait And Click Element ${xpath_reset_server_settings} 89 Click Element ${xpath_reset_button} 90 Wait And Click Element ${xpath_cancel_button} 106 Click Element At Coordinates ${xpath_reset_bmc_server_radio_button} 0 0 107 Wait And Click Element ${xpath_reset_button} [all …]
|
| /openbmc/openbmc-test-automation/gui/gui_test/security_and_access_menu/ |
| H A D | test_user_management_sub_menu.robot | 49 Page Should Contain Element ${xpath_user_management_heading} 72 Page Should Contain Element ${xpath_edit_user} 73 Page Should Contain Element ${xpath_delete_user} 79 [Teardown] Click Element ${xpath_cancel_button} 81 Click Element ${xpath_add_user} 82 Wait Until Page Contains Element ${xpath_add_user_heading} 83 Page Should Contain Element ${xpath_account_status_enabled_button} 84 Page Should Contain Element ${xpath_account_status_disabled_button} 85 Page Should Contain Element ${xpath_username_input_button} 86 Page Should Contain Element ${xpath_privilege_list_button} [all …]
|
| /openbmc/bmcweb/include/ |
| H A D | event_service_store.hpp | 50 for (const auto& element : j) in fromJson() local 52 if (element.first == "Id") in fromJson() 55 element.second.get_ptr<const std::string*>(); in fromJson() 62 else if (element.first == "Destination") in fromJson() 65 element.second.get_ptr<const std::string*>(); in fromJson() 78 else if (element.first == "Protocol") in fromJson() 81 element.second.get_ptr<const std::string*>(); in fromJson() 88 else if (element.first == "VerifyCertificate") in fromJson() 90 const bool* value = element.second.get_ptr<const bool*>(); in fromJson() 97 else if (element.first == "DeliveryRetryPolicy") in fromJson() [all …]
|
| /openbmc/openbmc-test-automation/gui/gui_test/overview_menu/ |
| H A D | test_overview_menu.robot | 73 Element Should Contain ${xpath_machine_model} ${redfish_machine_model} 77 Element Should Contain ${xpath_serial_number} ${redfish_serial_number} 81 Element Should Contain ${xpath_asset_tag} ${redfish_asset_tag} 85 Element Should Contain ${xpath_operating_mode} ${redfish_operating_mode['pvm_system_operating_mode']} 100 Click Element ${xpath_network_information_view_more_button} 101 Wait Until Page Contains Element ${xpath_network_heading} 110 Click Element ${xpath_refresh_button} 112 Click Element ${xpath_refresh_button} 113 Wait Until Element Is Not Visible ${xpath_page_loading_progress_bar} timeout=30 124 Click Element [all...] |
| /openbmc/openbmc-test-automation/gui/test/server_config/ |
| H A D | test_obmc_gui_network_settings.robot | |
| H A D | test_obmc_gui_date_and_time_settings.robot | |
| /openbmc/boost-dbus/include/dbus/ |
| H A D | element.hpp | 54 struct element { struct 59 struct element<bool> { struct 64 struct element<byte> { struct 69 struct element<int16> { struct 74 struct element<uint16> { struct 79 struct element<int32> { struct 84 struct element<uint32> { struct 89 struct element<int64> { struct 94 struct element<uint64> { struct 99 struct element<double> { struct [all …]
|
| /openbmc/webui-vue/src/components/Mixins/ |
| H A D | JumpLinkMixin.js | 3 setFocus(element) { argument 4 element.setAttribute('tabindex', '-1'); 5 element.focus(); 7 element.removeAttribute('tabindex'); 10 // Select element to scroll to 12 const element = this.$refs[ref].$el; 14 // Set focus and tabindex on selected element 15 this.setFocus(element); 18 const offset = element.offsetTop - 50;
|
| /openbmc/openbmc-test-automation/gui/test/server_control/ |
| H A D | test_obmc_gui_server_power_operations.robot | |
| /openbmc/openbmc-test-automation/gui/test/access_control/ |
| H A D | test_obmc_gui_ldap.robot | |