/Zephyr-latest/tests/subsys/fs/fat_fs_api/src/ |
D | test_fat_mount.c | 31 return TC_PASS; in test_mount_no_format() 47 return TC_PASS; in test_mount_rd_only_no_sys() 60 return ((fatfs_mnt.flags & FS_MOUNT_FLAG_USE_DISK_ACCESS) ? TC_PASS : TC_FAIL); in test_mount_use_disk_access() 73 return ((fatfs_mnt.flags & FS_MOUNT_FLAG_USE_DISK_ACCESS) ? TC_PASS : TC_FAIL); in test_mount() 78 return (fs_unmount(&fatfs_mnt) >= 0 ? TC_PASS : TC_FAIL); in test_unmount() 83 zassert_true(test_unmount() == TC_PASS); in test_fat_unmount() 89 zassert_false(test_unmount() == TC_PASS); in test_fat_mount() 90 zassert_true(test_mount_no_format() == TC_PASS); in test_fat_mount() 91 zassert_true(test_mount_rd_only_no_sys() == TC_PASS); in test_fat_mount() 92 zassert_true(test_mount_use_disk_access() == TC_PASS); in test_fat_mount() [all …]
|
/Zephyr-latest/tests/drivers/i2s/i2s_api/src/ |
D | test_i2s_dir_both_loopback.c | 36 zassert_equal(ret, TC_PASS); in ZTEST_USER() 40 zassert_equal(ret, TC_PASS); in ZTEST_USER() 47 zassert_equal(ret, TC_PASS); in ZTEST_USER() 51 zassert_equal(ret, TC_PASS); in ZTEST_USER() 59 zassert_equal(ret, TC_PASS); in ZTEST_USER() 63 zassert_equal(ret, TC_PASS); in ZTEST_USER() 91 zassert_equal(ret, TC_PASS); in ZTEST_USER() 98 zassert_equal(ret, TC_PASS); in ZTEST_USER() 101 zassert_equal(ret, TC_PASS); in ZTEST_USER() 111 zassert_equal(ret, TC_PASS); in ZTEST_USER() [all …]
|
D | test_i2s_loopback.c | 33 zassert_equal(ret, TC_PASS); in ZTEST_USER() 37 zassert_equal(ret, TC_PASS); in ZTEST_USER() 49 zassert_equal(ret, TC_PASS); in ZTEST_USER() 53 zassert_equal(ret, TC_PASS); in ZTEST_USER() 61 zassert_equal(ret, TC_PASS); in ZTEST_USER() 69 zassert_equal(ret, TC_PASS); in ZTEST_USER() 99 zassert_equal(ret, TC_PASS); in ZTEST_USER() 111 zassert_equal(ret, TC_PASS); in ZTEST_USER() 114 zassert_equal(ret, TC_PASS); in ZTEST_USER() 126 zassert_equal(ret, TC_PASS); in ZTEST_USER() [all …]
|
D | test_i2s_dir_both_states.c | 36 zassert_equal(ret, TC_PASS); in ZTEST_USER() 43 zassert_equal(ret, TC_PASS); in ZTEST_USER() 46 zassert_equal(ret, TC_PASS); in ZTEST_USER() 60 zassert_equal(ret, TC_PASS); in ZTEST_USER() 80 zassert_equal(ret, TC_PASS); in ZTEST_USER() 86 zassert_equal(ret, TC_PASS); in ZTEST_USER() 89 zassert_equal(ret, TC_PASS); in ZTEST_USER() 108 zassert_equal(ret, TC_PASS); in ZTEST_USER() 135 zassert_equal(ret, TC_PASS); in ZTEST_USER() 142 zassert_equal(ret, TC_PASS); in ZTEST_USER() [all …]
|
D | test_i2s_states.c | 72 zassert_equal(ret, TC_PASS); in ZTEST_USER() 85 zassert_equal(ret, TC_PASS); in ZTEST_USER() 100 zassert_equal(ret, TC_PASS); in ZTEST_USER() 132 zassert_equal(ret, TC_PASS); in ZTEST_USER() 144 zassert_equal(ret, TC_PASS); in ZTEST_USER() 147 zassert_equal(ret, TC_PASS); in ZTEST_USER() 169 zassert_equal(ret, TC_PASS); in ZTEST_USER() 189 zassert_equal(ret, TC_PASS); in ZTEST_USER() 200 zassert_equal(ret, TC_PASS); in ZTEST_USER() 203 zassert_equal(ret, TC_PASS); in ZTEST_USER() [all …]
|
/Zephyr-latest/tests/crypto/tinycrypt_hmac_prng/src/ |
D | hmac_prng.c | 73 unsigned int result = TC_PASS; in do_hmac_prng_pr_false_test() 108 unsigned int result = TC_PASS; in test_1() 170 unsigned int result = TC_PASS; in test_2() 232 unsigned int result = TC_PASS; in test_3() 294 unsigned int result = TC_PASS; in test_4() 356 unsigned int result = TC_PASS; in test_5() 418 unsigned int result = TC_PASS; in test_6() 480 unsigned int result = TC_PASS; in test_7() 542 unsigned int result = TC_PASS; in test_8() 604 unsigned int result = TC_PASS; in test_9() [all …]
|
/Zephyr-latest/tests/subsys/usb/device/src/ |
D | main.c | 96 zassert_equal(usb_disable(), TC_PASS, "usb_disable() failed"); in ZTEST() 101 zassert_equal(usb_deconfig(), TC_PASS, "usb_deconfig() failed"); in ZTEST() 125 zassert_not_equal(usb_dc_ep_set_stall(INVALID_EP), TC_PASS, in ZTEST() 129 zassert_not_equal(usb_dc_ep_clear_stall(INVALID_EP), TC_PASS, in ZTEST() 133 zassert_not_equal(usb_dc_ep_is_stalled(INVALID_EP, &byte), TC_PASS, in ZTEST() 135 zassert_not_equal(usb_dc_ep_is_stalled(VALID_EP, NULL), TC_PASS, in ZTEST() 139 zassert_not_equal(usb_dc_ep_halt(INVALID_EP), TC_PASS, in ZTEST() 143 zassert_not_equal(usb_dc_ep_enable(INVALID_EP), TC_PASS, in ZTEST() 147 zassert_not_equal(usb_dc_ep_disable(INVALID_EP), TC_PASS, in ZTEST() 151 zassert_not_equal(usb_dc_ep_flush(INVALID_EP), TC_PASS, in ZTEST() [all …]
|
/Zephyr-latest/tests/posix/fs/src/ |
D | test_fs_file.c | 28 return TC_PASS; in test_file_open() 123 return TC_PASS; in test_file_read() 236 zassert_true(test_file_open() == TC_PASS); in ZTEST() 247 zassert_true(test_file_open() == TC_PASS); in ZTEST() 248 zassert_true(test_file_write() == TC_PASS); in ZTEST() 259 zassert_true(test_file_open() == TC_PASS); in ZTEST() 260 zassert_true(test_file_write() == TC_PASS); in ZTEST() 261 zassert_true(test_file_read() == TC_PASS); in ZTEST() 272 zassert_true(test_file_open() == TC_PASS); in ZTEST() 273 zassert_true(test_file_write() == TC_PASS); in ZTEST() [all …]
|
/Zephyr-latest/tests/boards/altera_max10/qspi/src/ |
D | qspi_flash.c | 25 zassert_true(!device_is_ready(flash_dev), TC_PASS, "Flash device is not ready!"); in ZTEST() 35 TC_PASS, "Flash erase call failed!"); in ZTEST() 38 TC_PASS, "Flash read call failed!"); in ZTEST() 41 zassert_equal(rd_val != wr_val, TC_PASS, in ZTEST() 51 TC_PASS, "Flash write call failed!"); in ZTEST() 54 TC_PASS, "Flash read call failed!"); in ZTEST() 55 zassert_equal(rd_val != wr_val, TC_PASS, in ZTEST() 64 TC_PASS, "Flash write call failed!"); in ZTEST() 67 TC_PASS, "Flash read call failed!"); in ZTEST() 69 TC_PASS, "Flash Write & Read Test failed!!"); in ZTEST()
|
/Zephyr-latest/tests/subsys/fs/multi-fs/src/ |
D | test_fat_file.c | 18 zassert_true(test_file_open(&test_file, TEST_FILE_PATH) == TC_PASS, in test_fat_open() 25 zassert_true(test_file_write(&test_file, test_str) == TC_PASS, in test_fat_write() 31 zassert_true(test_file_read(&test_file, test_str) == TC_PASS); in test_fat_read() 36 zassert_true(test_file_close(&test_file) == TC_PASS); in test_fat_close() 40 zassert_true(test_file_delete(TEST_FILE_PATH) == TC_PASS); in test_fat_unlink()
|
D | test_littlefs_file.c | 18 zassert_true(test_file_open(&test_file, TEST_FILE_PATH) == TC_PASS, in test_littlefs_open() 25 zassert_true(test_file_write(&test_file, test_str) == TC_PASS, in test_littlefs_write() 31 zassert_true(test_file_read(&test_file, test_str) == TC_PASS); in test_littlefs_read() 36 zassert_true(test_file_close(&test_file) == TC_PASS); in test_littlefs_close() 40 zassert_true(test_file_delete(TEST_FILE_PATH) == TC_PASS); in test_littlefs_unlink()
|
D | test_fat_dir.c | 16 zassert_true(test_mkdir(TEST_DIR_PATH, TEST_FILE) == TC_PASS); in test_fat_mkdir() 21 zassert_true(test_lsdir(TEST_DIR_PATH) == TC_PASS); in test_fat_readdir() 26 zassert_true(test_rmdir(TEST_DIR_PATH) == TC_PASS); in test_fat_rmdir()
|
D | test_littlefs_dir.c | 16 zassert_true(test_mkdir(TEST_DIR_PATH, TEST_FILE) == TC_PASS); in test_littlefs_mkdir() 21 zassert_true(test_lsdir(TEST_DIR_PATH) == TC_PASS); in test_littlefs_readdir() 26 zassert_true(test_rmdir(TEST_DIR_PATH) == TC_PASS); in test_littlefs_rmdir()
|
/Zephyr-latest/tests/subsys/fs/littlefs/src/ |
D | test_lfs_basic.c | 34 return TC_PASS; in mount() 42 TC_PASS, in clear_partition() 45 return TC_PASS; in clear_partition() 69 return TC_PASS; in clean_statvfs() 77 zassert_equal(clear_partition(mp), TC_PASS, in check_medium() 101 return TC_PASS; in check_medium() 109 zassert_equal(clear_partition(mp), TC_PASS, in check_large() 133 return TC_PASS; in check_large() 183 return TC_PASS; in num_files() 233 return TC_PASS; in num_dirs() [all …]
|
/Zephyr-latest/tests/drivers/gpio/gpio_basic_api/src/ |
D | test_callback_trigger.c | 70 return TC_PASS; in test_callback() 115 return TC_PASS; in test_callback() 125 zassert_equal(test_callback(GPIO_INT_EDGE_FALLING), TC_PASS, in ZTEST() 127 zassert_equal(test_callback(GPIO_INT_EDGE_RISING), TC_PASS, in ZTEST() 129 zassert_equal(test_callback(GPIO_INT_EDGE_TO_ACTIVE), TC_PASS, in ZTEST() 131 zassert_equal(test_callback(GPIO_INT_EDGE_TO_INACTIVE), TC_PASS, in ZTEST() 133 zassert_equal(test_callback(GPIO_INT_LEVEL_HIGH), TC_PASS, in ZTEST() 135 zassert_equal(test_callback(GPIO_INT_LEVEL_LOW), TC_PASS, in ZTEST() 137 zassert_equal(test_callback(GPIO_INT_LEVEL_ACTIVE), TC_PASS, in ZTEST() 139 zassert_equal(test_callback(GPIO_INT_LEVEL_INACTIVE), TC_PASS, in ZTEST() [all …]
|
D | test_gpio_port.c | 141 return TC_PASS; in setup() 248 return TC_PASS; in bits_physical() 288 return TC_PASS; in pin_physical() 340 return TC_PASS; in check_raw_output_levels() 393 return TC_PASS; in check_logic_output_levels() 440 return TC_PASS; in check_input_levels() 468 return TC_PASS; in check_pulls() 480 return TC_PASS; in check_pulls() 493 return TC_PASS; in check_pulls() 507 return TC_PASS; in check_pulls() [all …]
|
/Zephyr-latest/tests/subsys/fs/fat_fs_dual_drive/src/ |
D | test_fat_dir.c | 166 zassert_true(test_mkdir(TEST_DIR, TEST_DIR_FILE) == TC_PASS); in ZTEST() 167 zassert_true(test_lsdir(FATFS_MNTP) == TC_PASS); in ZTEST() 168 zassert_true(test_lsdir(TEST_DIR) == TC_PASS); in ZTEST() 169 zassert_true(test_rmdir(TEST_DIR) == TC_PASS); in ZTEST() 170 zassert_true(test_lsdir(FATFS_MNTP) == TC_PASS); in ZTEST() 173 zassert_true(test_mkdir(TEST_DIR1, TEST_DIR_FILE1) == TC_PASS); in ZTEST() 174 zassert_true(test_lsdir(FATFS_MNTP1) == TC_PASS); in ZTEST() 175 zassert_true(test_lsdir(TEST_DIR1) == TC_PASS); in ZTEST() 176 zassert_true(test_rmdir(TEST_DIR1) == TC_PASS); in ZTEST() 177 zassert_true(test_lsdir(FATFS_MNTP1) == TC_PASS); in ZTEST()
|
D | test_fat_file.c | 264 return TC_PASS; in test_file_truncate() 309 zassert_true(test_file_open(TEST_FILE) == TC_PASS); in ZTEST() 310 zassert_true(test_file_write() == TC_PASS); in ZTEST() 311 zassert_true(test_file_sync() == TC_PASS); in ZTEST() 312 zassert_true(test_file_read() == TC_PASS); in ZTEST() 313 zassert_true(test_file_truncate() == TC_PASS); in ZTEST() 314 zassert_true(test_file_close() == TC_PASS); in ZTEST() 315 zassert_true(test_file_delete(TEST_FILE) == TC_PASS); in ZTEST() 318 zassert_true(test_file_open(TEST_FILE1) == TC_PASS); in ZTEST() 319 zassert_true(test_file_write() == TC_PASS); in ZTEST() [all …]
|
D | test_fat_fs.c | 32 return TC_PASS; in test_statvfs() 38 zassert_true(test_statvfs(FATFS_MNTP) == TC_PASS); in ZTEST() 41 zassert_true(test_statvfs(FATFS_MNTP1) == TC_PASS); in ZTEST()
|
/Zephyr-latest/tests/drivers/kscan/kscan_api/src/ |
D | test_kscan.c | 36 return TC_PASS; in test_kb_callback() 53 return TC_PASS; in test_null_callback() 80 return TC_PASS; in test_disable_enable_callback() 86 zassert_true(test_kb_callback() == TC_PASS); in ZTEST() 90 zassert_true(test_null_callback() == TC_PASS); in ZTEST() 96 zassert_true(test_disable_enable_callback() == TC_PASS); in ZTEST()
|
/Zephyr-latest/tests/drivers/uart/uart_basic_api/src/ |
D | test_uart_poll.c | 37 return TC_PASS; in test_poll_in() 55 return TC_PASS; in test_poll_out() 64 zassert_true(test_poll_out() == TC_PASS); in test_uart_poll_out() 73 zassert_true(test_poll_in() == TC_PASS); in test_uart_poll_in()
|
/Zephyr-latest/tests/subsys/fs/common/ |
D | test_fs_basic.c | 84 return TC_PASS; in create_write_hello() 116 return TC_PASS; in verify_hello() 184 return TC_PASS; in seek_within_hello() 250 return TC_PASS; in truncate_hello() 275 return TC_PASS; in unlink_hello() 339 return TC_PASS; in sync_goodbye() 365 return TC_PASS; in verify_goodbye() 374 zassert_equal(create_write_hello(fs_basic_test_mp), TC_PASS, in test_fs_basic() 377 zassert_equal(verify_hello(fs_basic_test_mp), TC_PASS, in test_fs_basic() 380 zassert_equal(seek_within_hello(fs_basic_test_mp), TC_PASS, in test_fs_basic() [all …]
|
/Zephyr-latest/tests/drivers/dma/chan_blen_transfer/src/ |
D | test_dma.c | 88 return TC_PASS; in test_task() 99 zassert_true((test_task(dma, CONFIG_DMA_TRANSFER_CHANNEL_NR_0, 8) == TC_PASS)); \ 105 zassert_true((test_task(dma, CONFIG_DMA_TRANSFER_CHANNEL_NR_1, 8) == TC_PASS)); \ 111 zassert_true((test_task(dma, CONFIG_DMA_TRANSFER_CHANNEL_NR_0, 16) == TC_PASS)); \ 117 zassert_true((test_task(dma, CONFIG_DMA_TRANSFER_CHANNEL_NR_1, 16) == TC_PASS)); \ 124 zassert_true((test_task(dma, CONFIG_DMA_TRANSFER_CHANNEL_NR_0, 8) == TC_PASS)); \ 130 zassert_true((test_task(dma, CONFIG_DMA_TRANSFER_CHANNEL_NR_1, 8) == TC_PASS)); \
|
/Zephyr-latest/tests/crypto/tinycrypt/src/ |
D | hmac.c | 50 uint32_t result = TC_PASS; in do_hmac_test() 65 uint32_t result = TC_PASS; in ZTEST() 98 uint32_t result = TC_PASS; in ZTEST() 132 uint32_t result = TC_PASS; in ZTEST() 172 uint32_t result = TC_PASS; in ZTEST() 214 uint32_t result = TC_PASS; in ZTEST() 248 uint32_t result = TC_PASS; in ZTEST() 306 uint32_t result = TC_PASS; in ZTEST()
|
D | sha256.c | 56 uint32_t result = TC_PASS; in ZTEST() 85 uint32_t result = TC_PASS; in ZTEST() 113 uint32_t result = TC_PASS; in ZTEST() 141 uint32_t result = TC_PASS; in ZTEST() 169 uint32_t result = TC_PASS; in ZTEST() 199 uint32_t result = TC_PASS; in ZTEST() 229 uint32_t result = TC_PASS; in ZTEST() 259 uint32_t result = TC_PASS; in ZTEST() 289 uint32_t result = TC_PASS; in ZTEST() 319 uint32_t result = TC_PASS; in ZTEST() [all …]
|