Home
last modified time | relevance | path

Searched refs:expectation (Results 1 – 13 of 13) sorted by relevance

/Zephyr-latest/tests/subsys/dfu/mcuboot/src/
Dmain.c61 const uint32_t expectation[6] = { in ZTEST() local
69 uint32_t readout[ARRAY_SIZE(expectation)]; in ZTEST()
80 ret = flash_area_read(fa, fa->fa_size - sizeof(expectation), in ZTEST()
84 zassert(memcmp(expectation, readout, sizeof(expectation)) == 0, in ZTEST()
92 ret = flash_area_read(fa, fa->fa_size - sizeof(expectation), in ZTEST()
96 zassert(memcmp(&expectation[2], &readout[2], sizeof(expectation) - in ZTEST()
97 2 * sizeof(expectation[0])) == 0, "pass", "fail"); in ZTEST()
/Zephyr-latest/tests/subsys/dfu/mcuboot_multi/src/
Dmain.c40 const uint32_t expectation[6] = { in _test_request_upgrade_n() local
48 uint32_t readout[ARRAY_SIZE(expectation)]; in _test_request_upgrade_n()
60 ret = flash_area_read(fa, fa->fa_size - sizeof(expectation), in _test_request_upgrade_n()
65 zassert_true(memcmp(&expectation[2], &readout[2], in _test_request_upgrade_n()
66 sizeof(expectation) - in _test_request_upgrade_n()
67 2 * sizeof(expectation[0])) == 0, in _test_request_upgrade_n()
72 zassert_true(memcmp(expectation, readout, in _test_request_upgrade_n()
73 sizeof(expectation)) == 0, "unexpected trailer value"); in _test_request_upgrade_n()
/Zephyr-latest/tests/net/dhcpv4/client/src/
Dmain.c506 char expectation[] = "fi.intel.com"; in option_domain_cb() local
509 zassert_equal(length, sizeof(expectation), "Incorrect data length"); in option_domain_cb()
510 zassert_mem_equal(buffer, expectation, sizeof(expectation), in option_domain_cb()
523 uint8_t expectation[4]; in option_pop3_cb() local
525 expectation[0] = 198; in option_pop3_cb()
526 expectation[1] = 51; in option_pop3_cb()
527 expectation[2] = 100; in option_pop3_cb()
528 expectation[3] = 16; in option_pop3_cb()
531 zassert_equal(length, sizeof(expectation), "Incorrect data length"); in option_pop3_cb()
532 zassert_mem_equal(buffer, expectation, sizeof(expectation), in option_pop3_cb()
[all …]
/Zephyr-latest/doc/kernel/data_structures/
Dindex.rst16 expectation is that the node will be itself embedded within a
25 synchronization primitives. The expectation is that any locking
/Zephyr-latest/tests/cmake/yaml/
DCMakeLists.txt46 COMMENT "yaml key value does not match expectation."
54 COMMENT "yaml list length does not match expectation."
72 COMMENT "yaml key value does not match expectation."
80 COMMENT "yaml list length does not match expectation."
98 COMMENT "yaml key value does not match expectation."
140 COMMENT "yaml key value does not match expectation."
147 COMMENT "yaml key value does not match expectation."
/Zephyr-latest/subsys/testsuite/ztest/include/zephyr/
Dztest_test.h68 #define __ZTEST_EXPECT(_suite_name, _test_name, expectation) \ argument
74 .expected_result = expectation, \
/Zephyr-latest/subsys/testsuite/ztest/src/
Dztest.c337 for (struct ztest_expected_result_entry *expectation = in get_final_test_result() local
339 expectation < _ztest_expected_result_entry_list_end; ++expectation) { in get_final_test_result()
340 if (strcmp(expectation->test_name, test->name) == 0 && in get_final_test_result()
341 strcmp(expectation->test_suite_name, test->test_suite_name) == 0) { in get_final_test_result()
342 expected_result = expectation->expected_result; in get_final_test_result()
/Zephyr-latest/doc/kernel/services/smp/
Dsmp.rst190 scheduler will get invoked on those CPUs. The expectation is that these
223 involve severe lock contention) for new threads. The expectation is
293 context. The expectation is that :c:func:`arch_curr_cpu` will be
311 switch to. The expectation has always been that the scheduler has
/Zephyr-latest/doc/develop/test/
Dztest.rst149 Ztest will mark both as passed due to the expectation.
504 These macros will continue test execution if the related expectation fails and subsequently fail the
505 test at the end of its execution. When an expectation fails, it will print the current file, line,
/Zephyr-latest/doc/contribute/
Dcontributor_expectations.rst25 Draft PRs have no review expectation and PRs created as drafts from the start
/Zephyr-latest/doc/safety/
Dsafety_overview.rst109 Quality is a mandatory expectation for software across the industry. The code base of the project
/Zephyr-latest/doc/kernel/services/timing/
Dclocks.rst26 read operation is very fast. The expectation is that very sensitive
/Zephyr-latest/doc/releases/
Dmigration-guide-3.7.rst969 exit actions from the current state to the topmost parent, with the expectation the topmost exit