Home
last modified time | relevance | path

Searched refs:EXPECT_FALSE (Results 1 – 25 of 163) sorted by relevance

1234567

/openbmc/phosphor-power/phosphor-regulators/test/
H A Derror_history_tests.cpp31 EXPECT_FALSE(history.wasLogged(ErrorType::configFile)); in TEST()
32 EXPECT_FALSE(history.wasLogged(ErrorType::dbus)); in TEST()
33 EXPECT_FALSE(history.wasLogged(ErrorType::i2c)); in TEST()
34 EXPECT_FALSE(history.wasLogged(ErrorType::internal)); in TEST()
35 EXPECT_FALSE(history.wasLogged(ErrorType::pmbus)); in TEST()
36 EXPECT_FALSE(history.wasLogged(ErrorType::writeVerification)); in TEST()
37 EXPECT_FALSE(history.wasLogged(ErrorType::phaseFaultN)); in TEST()
38 EXPECT_FALSE(history.wasLogged(ErrorType::phaseFaultNPlus1)); in TEST()
65 EXPECT_FALSE(history.wasLogged(ErrorType::configFile)); in TEST()
66 EXPECT_FALSE(history.wasLogged(ErrorType::dbus)); in TEST()
[all …]
H A Dpresence_detection_tests.cpp103 EXPECT_FALSE(detection.getCachedPresence().has_value()); in TEST()
122 EXPECT_FALSE(detection->getCachedPresence().has_value()); in TEST()
136 EXPECT_FALSE(detection->getCachedPresence().has_value()); in TEST()
158 EXPECT_FALSE(detection->getCachedPresence().has_value()); in TEST()
197 EXPECT_FALSE(detection->getCachedPresence().has_value()); in TEST()
211 EXPECT_FALSE(detection->execute(services, *system, *chassis, *device)); in TEST()
214 EXPECT_FALSE(detection->getCachedPresence().value()); in TEST()
229 EXPECT_FALSE(detection->execute(services, *system, *chassis, *device)); in TEST()
236 EXPECT_FALSE(detection->getCachedPresence().has_value()); in TEST()
307 EXPECT_FALSE(detection->getCachedPresence().has_value()); in TEST()
[all …]
/openbmc/entity-manager/test/
H A Dtest_entity-manager.cpp260 EXPECT_FALSE(matchProbe(j, v)); in TEST()
267 EXPECT_FALSE(matchProbe(j, v)); in TEST()
275 EXPECT_FALSE(matchProbe(j, v1)); in TEST()
283 EXPECT_FALSE(matchProbe(j, v)); in TEST()
290 EXPECT_FALSE(matchProbe(j, v)); in TEST()
297 EXPECT_FALSE(matchProbe(j, v)); in TEST()
304 EXPECT_FALSE(matchProbe(j, v)); in TEST()
311 EXPECT_FALSE(matchProbe(j, v)); in TEST()
318 EXPECT_FALSE(matchProbe(j, v)); in TEST()
325 EXPECT_FALSE(matchProbe(j, v)); in TEST()
[all …]
/openbmc/phosphor-watchdog/test/
H A Dwatchdog.cpp44 EXPECT_FALSE(wdog->enabled()); in WdogTest()
91 EXPECT_FALSE(wdog->enabled()); in TEST_F()
93 EXPECT_FALSE(wdog->timerExpired()); in TEST_F()
94 EXPECT_FALSE(wdog->timerEnabled()); in TEST_F()
111 EXPECT_FALSE(wdog->enabled()); in TEST_F()
113 EXPECT_FALSE(wdog->timerExpired()); in TEST_F()
114 EXPECT_FALSE(wdog->timerEnabled()); in TEST_F()
122 EXPECT_FALSE(wdog->timerExpired()); in TEST_F()
133 EXPECT_FALSE(wdog->timerExpired()); in TEST_F()
146 EXPECT_FALSE(wdog->enabled(false)); in TEST_F()
[all …]
/openbmc/phosphor-logging/test/openpower-pels/
H A Dfru_identity_test.cpp44 EXPECT_FALSE(fru.getMaintProc()); in TEST()
70 EXPECT_FALSE(fru.getPN()); in TEST()
71 EXPECT_FALSE(fru.getCCIN()); in TEST()
72 EXPECT_FALSE(fru.getSN()); in TEST()
105 EXPECT_FALSE(fru.getMaintProc()); in testHWCallout()
123 EXPECT_FALSE(newFRU.getMaintProc()); in testHWCallout()
169 EXPECT_FALSE(fru.getPN()); in TEST()
170 EXPECT_FALSE(fru.getCCIN()); in TEST()
171 EXPECT_FALSE(fru.getSN()); in TEST()
187 EXPECT_FALSE(newFRU.getPN()); in TEST()
[all …]
H A Dtemporary_file_test.cpp101 EXPECT_FALSE(path.empty()); in TEST_F()
116 EXPECT_FALSE(path.empty()); in TEST_F()
131 EXPECT_FALSE(tmpFile->getPath().empty()); in TEST_F()
155 EXPECT_FALSE(tmpFile->getPath().empty()); in TEST_F()
162 EXPECT_FALSE(tmpFileNoData->getPath().empty()); in TEST_F()
182 EXPECT_FALSE(fs::exists(path2)); in TEST_F()
189 EXPECT_FALSE(tmpFile->getPath().empty()); in TEST_F()
207 EXPECT_FALSE(tmpFile->getPath().empty()); in TEST_F()
214 EXPECT_FALSE(tmpFileNoData->getPath().empty()); in TEST_F()
271 EXPECT_FALSE(fs::exists(path)); in TEST_F()
[all …]
/openbmc/phosphor-inventory-manager/test/
H A Dutils_test.cpp28 EXPECT_FALSE(c(p2, p1)); in TEST()
29 EXPECT_FALSE(c(p2, 1)); in TEST()
30 EXPECT_FALSE(c(2, p1)); in TEST()
35 EXPECT_FALSE(c(p3, p4)); in TEST()
36 EXPECT_FALSE(c(1, p4)); in TEST()
38 EXPECT_FALSE(c(p4, p3)); in TEST()
39 EXPECT_FALSE(c(p4, 1)); in TEST()
40 EXPECT_FALSE(c(2, p3)); in TEST()
50 EXPECT_FALSE(comp(s1, s2)); in TEST()
55 EXPECT_FALSE(comp(s4, s3)); in TEST()
[all …]
/openbmc/bmcweb/test/redfish-core/lib/
H A Dsystems_logservices_postcode.cpp26 EXPECT_FALSE(parsePostCode("", currentValue, index)); in TEST()
27 EXPECT_FALSE(parsePostCode("B", currentValue, index)); in TEST()
28 EXPECT_FALSE(parsePostCode("B1", currentValue, index)); in TEST()
29 EXPECT_FALSE(parsePostCode("B1-", currentValue, index)); in TEST()
30 EXPECT_FALSE(parsePostCode("B1A-2", currentValue, index)); in TEST()
31 EXPECT_FALSE(parsePostCode("B1A-2", currentValue, index)); in TEST()
32 EXPECT_FALSE(parsePostCode("B1A-2z", currentValue, index)); in TEST()
34 EXPECT_FALSE(parsePostCode("B65536-1", currentValue, index)); in TEST()
37 EXPECT_FALSE(parsePostCode("B1-18446744073709551616", currentValue, index)); in TEST()
40 EXPECT_FALSE(parsePostCode("B-1-2", currentValue, index)); in TEST()
[all …]
/openbmc/bmcweb/test/include/
H A Dopenbmc_dbus_rest_test.cpp32 EXPECT_FALSE(validateFilename("")); in TEST()
33 EXPECT_FALSE(validateFilename("Bad@file")); in TEST()
34 EXPECT_FALSE(validateFilename("/../../../../../etc/badpath")); in TEST()
35 EXPECT_FALSE(validateFilename("/../../etc/badpath")); in TEST()
36 EXPECT_FALSE(validateFilename("/mydir/configFile")); in TEST()
37 EXPECT_FALSE(validateFilename("/")); in TEST()
38 EXPECT_FALSE(validateFilename(".leadingdot")); in TEST()
39 EXPECT_FALSE(validateFilename("Two..Dots")); in TEST()
40 EXPECT_FALSE(validateFilename("../../../../../../etc/shadow")); in TEST()
41 EXPECT_FALSE(validateFilename(".")); in TEST()
/openbmc/phosphor-power/test/
H A Dtemporary_subdirectory_tests.cpp33 EXPECT_FALSE(path.empty()); in TEST()
48 EXPECT_FALSE(subdirectory1.getPath().empty()); in TEST()
71 EXPECT_FALSE(subdirectory1.getPath().empty()); in TEST()
79 EXPECT_FALSE(subdirectory2.getPath().empty()); in TEST()
100 EXPECT_FALSE(fs::exists(path2)); in TEST()
107 EXPECT_FALSE(subdirectory.getPath().empty()); in TEST()
125 EXPECT_FALSE(subdirectory1.getPath().empty()); in TEST()
133 EXPECT_FALSE(subdirectory2.getPath().empty()); in TEST()
179 EXPECT_FALSE(fs::exists(path)); in TEST()
190 EXPECT_FALSE(fs::exists(path)); in TEST()
[all …]
H A Dtemporary_file_tests.cpp72 EXPECT_FALSE(path.empty()); in TEST()
88 EXPECT_FALSE(file1.getPath().empty()); in TEST()
111 EXPECT_FALSE(file1.getPath().empty()); in TEST()
119 EXPECT_FALSE(file2.getPath().empty()); in TEST()
139 EXPECT_FALSE(fs::exists(path2)); in TEST()
146 EXPECT_FALSE(file.getPath().empty()); in TEST()
164 EXPECT_FALSE(file1.getPath().empty()); in TEST()
172 EXPECT_FALSE(file2.getPath().empty()); in TEST()
218 EXPECT_FALSE(fs::exists(path)); in TEST()
229 EXPECT_FALSE(fs::exists(path)); in TEST()
[all …]
H A Dfile_descriptor_tests.cpp60 EXPECT_FALSE(descriptor.operator bool()); in TEST()
119 EXPECT_FALSE(isValid(fd1)); in TEST()
162 EXPECT_FALSE(isValid(fd)); in TEST()
164 EXPECT_FALSE(isValid(fd)); in TEST()
177 EXPECT_FALSE(isValid(fd)); in TEST()
197 EXPECT_FALSE(descriptor.operator bool()); in TEST()
214 EXPECT_FALSE(descriptor.operator bool()); in TEST()
230 EXPECT_FALSE(isValid(fd)); in TEST()
261 EXPECT_FALSE(isValid(fd1)); in TEST()
269 EXPECT_FALSE(isValid(fd2)); in TEST()
/openbmc/bmcweb/test/include/ibm/
H A Dconfigfile_test.cpp25 EXPECT_FALSE(isValidConfigFileName("Bad@file", res)); in TEST()
31 EXPECT_FALSE(isValidConfigFileName("/../../../../../etc/badpath", res)); in TEST()
32 EXPECT_FALSE(isValidConfigFileName("/../../etc/badpath", res)); in TEST()
33 EXPECT_FALSE(isValidConfigFileName("/mydir/configFile", res)); in TEST()
39 EXPECT_FALSE(isValidConfigFileName("", res)); in TEST()
45 EXPECT_FALSE(isValidConfigFileName("/", res)); in TEST()
50 EXPECT_FALSE(isValidConfigFileName("BadfileBadfileBadfile", res)); in TEST()
/openbmc/phosphor-fan-presence/monitor/test/
H A Dpower_off_cause_test.cpp15 EXPECT_FALSE(cause.satisfied(health)); in TEST()
18 EXPECT_FALSE(cause.satisfied(health)); in TEST()
40 EXPECT_FALSE(cause.satisfied(health)); in TEST()
43 EXPECT_FALSE(cause.satisfied(health)); in TEST()
54 EXPECT_FALSE(cause.satisfied(health)); in TEST()
66 EXPECT_FALSE(cause.satisfied(health)); in TEST()
76 EXPECT_FALSE(cause.satisfied(health)); in TEST()
86 EXPECT_FALSE(cause.satisfied(health)); in TEST()
/openbmc/bmcweb/test/http/
H A Dparsing_test.cpp27 EXPECT_FALSE(isJsonContentType("application/xml")); in TEST()
28 EXPECT_FALSE(isJsonContentType("")); in TEST()
29 EXPECT_FALSE(isJsonContentType(";")); in TEST()
30 EXPECT_FALSE(isJsonContentType("application/json;")); in TEST()
31 EXPECT_FALSE(isJsonContentType("application/json; ")); in TEST()
32 EXPECT_FALSE(isJsonContentType("json")); in TEST()
/openbmc/phosphor-networkd/test/
H A Dtest_config_parser.cpp37 EXPECT_FALSE(parseBool("tru").has_value()); in TEST()
40 EXPECT_FALSE(parseBool("ye").has_value()); in TEST()
44 EXPECT_FALSE(parseBool("fAlse").value()); in TEST()
45 EXPECT_FALSE(parseBool("fal").has_value()); in TEST()
46 EXPECT_FALSE(parseBool("f").value()); in TEST()
47 EXPECT_FALSE(parseBool("No").value()); in TEST()
48 EXPECT_FALSE(parseBool("n").value()); in TEST()
49 EXPECT_FALSE(parseBool("oFf").value()); in TEST()
115 EXPECT_FALSE(parser.getFileExists()); in TEST_F()
124 EXPECT_FALSE(parser.getFileExists()); in TEST_F()
[all …]
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/
H A Dfirmware_json_unittest.cpp395 EXPECT_FALSE(h[0].handler == nullptr); in TEST()
396 EXPECT_FALSE(h[0].actions == nullptr); in TEST()
397 EXPECT_FALSE(h[0].actions->preparation == nullptr); in TEST()
398 EXPECT_FALSE(h[0].actions->verification == nullptr); in TEST()
399 EXPECT_FALSE(h[0].actions->update == nullptr); in TEST()
486 EXPECT_FALSE(h[0].handler == nullptr); in TEST()
487 EXPECT_FALSE(h[0].actions == nullptr); in TEST()
488 EXPECT_FALSE(h[0].actions->preparation == nullptr); in TEST()
489 EXPECT_FALSE(h[0].actions->verification == nullptr); in TEST()
493 EXPECT_FALSE(h[0].actions->update == nullptr); in TEST()
[all …]
H A Dfirmware_state_uploadinprogress_unittest.cpp78 EXPECT_FALSE(handler->stat(activeImageBlobId, &meta)); in TEST_F()
90 EXPECT_FALSE(handler->stat(activeHashBlobId, &meta)); in TEST_F()
151 EXPECT_FALSE(handler->open(2, flags, blob)); in TEST_F()
161 EXPECT_FALSE(handler->open(2, flags, blob)); in TEST_F()
175 EXPECT_FALSE(handler->canHandleBlob(verifyBlobId)); in TEST_F()
187 EXPECT_FALSE(handler->canHandleBlob(verifyBlobId)); in TEST_F()
193 EXPECT_FALSE(handler->canHandleBlob(verifyBlobId)); in TEST_F()
214 EXPECT_FALSE(handler->writeMeta(session, 0, bytes)); in TEST_F()
256 EXPECT_FALSE(handler->commit(session, {})); in TEST_F()
262 EXPECT_FALSE(handler->commit(session, {})); in TEST_F()
[all …]
H A Dfirmware_state_verificationcompleted_unittest.cpp61 EXPECT_FALSE(handler->deleteBlob(b)); in TEST_F()
76 EXPECT_FALSE(handler->canHandleBlob(updateBlobId)); in TEST_F()
83 EXPECT_FALSE(handler->canHandleBlob(updateBlobId)); in TEST_F()
108 EXPECT_FALSE(handler->stat(activeImageBlobId, &meta)); in TEST_F()
118 EXPECT_FALSE(handler->canHandleBlob(activeHashBlobId)); in TEST_F()
134 EXPECT_FALSE(handler->stat(verifyBlobId, &meta)); in TEST_F()
205 EXPECT_FALSE(handler->open(session + 1, flags, blob)); in TEST_F()
217 EXPECT_FALSE(handler->open(session + 1, flags, blob)); in TEST_F()
230 EXPECT_FALSE(handler->writeMeta(session, 0, bytes)); in TEST_F()
242 EXPECT_FALSE(handler->write(session, 0, bytes)); in TEST_F()
[all …]
/openbmc/bmcweb/test/redfish-core/include/
H A Dfilter_expr_parser_test.cpp133 EXPECT_FALSE(parseFilter("(")); in TEST()
134 EXPECT_FALSE(parseFilter(")")); in TEST()
135 EXPECT_FALSE(parseFilter("()")); in TEST()
136 EXPECT_FALSE(parseFilter("")); in TEST()
137 EXPECT_FALSE(parseFilter(" ")); in TEST()
138 EXPECT_FALSE(parseFilter("ProcessorSummary/Count eq")); in TEST()
139 EXPECT_FALSE(parseFilter("eq ProcessorSummary/Count")); in TEST()
140 EXPECT_FALSE(parseFilter("not(ProcessorSummary/Count)")); in TEST()
/openbmc/phosphor-host-ipmid/test/session/
H A Dclosesession_unittest.cpp29 EXPECT_FALSE( in TEST()
39 EXPECT_FALSE( in TEST()
70 EXPECT_FALSE(isSessionObjectMatched(objectPath, sessionId, sessionHandle)); in TEST()
80 EXPECT_FALSE(isSessionObjectMatched(objectPath, sessionId, sessionHandle)); in TEST()
90 EXPECT_FALSE(isSessionObjectMatched(objectPath, sessionId, sessionHandle)); in TEST()
104 EXPECT_FALSE(isSessionObjectMatched(objectPath, sessionId, sessionHandle)); in TEST()
113 EXPECT_FALSE(isSessionObjectMatched(objectPath, sessionId, sessionHandle)); in TEST()
/openbmc/bmcweb/test/redfish-core/include/utils/
H A Dip_utils_test.cpp111 EXPECT_FALSE(ipv4VerifyIpAndGetBitcount("256.0.0.0", &bits)); in TEST()
112 EXPECT_FALSE(ipv4VerifyIpAndGetBitcount("1.256.0.0", &bits)); in TEST()
113 EXPECT_FALSE(ipv4VerifyIpAndGetBitcount("1.1.256.0", &bits)); in TEST()
114 EXPECT_FALSE(ipv4VerifyIpAndGetBitcount("1.1.1.256", &bits)); in TEST()
117 EXPECT_FALSE(ipv4VerifyIpAndGetBitcount("255.0.255.0", &bits)); in TEST()
120 EXPECT_FALSE(ipv4VerifyIpAndGetBitcount("1.1.1.1.1", &bits)); in TEST()
122 EXPECT_FALSE(ipv4VerifyIpAndGetBitcount("1.1.1", &bits)); in TEST()
125 EXPECT_FALSE(ipv4VerifyIpAndGetBitcount("", &bits)); in TEST()
H A Dquery_param_test.cpp40 EXPECT_FALSE(query.isOnly); in TEST()
54 EXPECT_FALSE(delegated.isOnly); in TEST()
69 EXPECT_FALSE(delegated.isOnly); in TEST()
166 EXPECT_FALSE(isSelectedPropertyAllowed("?")); in TEST()
167 EXPECT_FALSE(isSelectedPropertyAllowed("!")); in TEST()
168 EXPECT_FALSE(isSelectedPropertyAllowed("-")); in TEST()
169 EXPECT_FALSE(isSelectedPropertyAllowed("/")); in TEST()
174 EXPECT_FALSE(isSelectedPropertyAllowed("")); in TEST()
185 EXPECT_FALSE(isSelectedPropertyAllowed(strUnderTest)); in TEST()
200 EXPECT_FALSE(getSelectParam("", query)); in TEST()
[all …]
/openbmc/gpioplus/test/
H A Dchip.cpp32 EXPECT_FALSE(line_flags.output); in TEST()
33 EXPECT_FALSE(line_flags.active_low); in TEST()
38 EXPECT_FALSE(line_flags.kernel); in TEST()
41 EXPECT_FALSE(line_flags.open_drain); in TEST()
42 EXPECT_FALSE(line_flags.open_source); in TEST()
116 EXPECT_FALSE(retrieved_info.flags.kernel); in TEST_F()
117 EXPECT_FALSE(retrieved_info.flags.output); in TEST_F()
119 EXPECT_FALSE(retrieved_info.flags.open_drain); in TEST_F()
120 EXPECT_FALSE(retrieved_info.flags.open_source); in TEST_F()
/openbmc/phosphor-objmgr/src/test/
H A Dneed_to_introspect.cpp10 EXPECT_FALSE(needToIntrospect(processName)); in TEST()
26 EXPECT_FALSE(needToIntrospect(processName)); in TEST()
34 EXPECT_FALSE(needToIntrospect(processName)); in TEST()
50 EXPECT_FALSE(needToIntrospect(processName)); in TEST()
58 EXPECT_FALSE(needToIntrospect(processName)); in TEST()

1234567