Home
last modified time | relevance | path

Searched refs:ASSERT_GE (Results 1 – 25 of 46) sorted by relevance

12

/system/utest/fidl-compiler/
A Dconsts_tests.cpp39 ASSERT_GE(errors.size(), 1); in BadConstTestBoolWithString()
55 ASSERT_GE(errors.size(), 1); in BadConstTestBoolWithNumeric()
98 ASSERT_GE(errors.size(), 1); in BadConstTestInt32WithString()
114 ASSERT_GE(errors.size(), 1); in BadConstTestInt32WithBool()
157 ASSERT_GE(errors.size(), 1); in BadConstTestUint64Negative()
173 ASSERT_GE(errors.size(), 1); in BadConstTestUint64Overflow()
229 ASSERT_GE(errors.size(), 1); in BadConstTestFloat32HighLimit()
245 ASSERT_GE(errors.size(), 1); in BadConstTestFloat32LowLimit()
288 ASSERT_GE(errors.size(), 1); in BadConstTestStringWithNumeric()
304 ASSERT_GE(errors.size(), 1); in BadConstTestStringWithBool()
[all …]
A Denums_tests.cpp84 ASSERT_GE(errors.size(), 1); in BadEnumTestUnsignedWithNegativeMember()
103 ASSERT_GE(errors.size(), 1); in BadEnumTestInferredUnsignedWithNegativeMember()
122 ASSERT_GE(errors.size(), 1); in BadEnumTestMemberOverflow()
142 ASSERT_GE(errors.size(), 1); in BadEnumTestDuplicateMember()
/system/utest/events/
A Devents.c95 ASSERT_GE(zx_handle_close(events[0]), 0, "Error during event-0 close"); in basic_test()
96 ASSERT_GE(zx_handle_close(events[1]), 0, "Error during event-1 close"); in basic_test()
97 ASSERT_GE(zx_handle_close(events[2]), 0, "Error during event-2 close"); in basic_test()
127 ASSERT_GE(zx_event_create(0U, &events[0]), 0, "Error during event create"); in user_signals_test()
128 ASSERT_GE(zx_event_create(0U, &events[1]), 0, "Error during event create"); in user_signals_test()
129 ASSERT_GE(zx_event_create(0U, &events[2]), 0, "Error during event create"); in user_signals_test()
147 ASSERT_GE(zx_handle_close(events[0]), 0, "Error during event-0 close"); in user_signals_test()
148 ASSERT_GE(zx_handle_close(events[1]), 0, "Error during event-1 close"); in user_signals_test()
149 ASSERT_GE(zx_handle_close(events[2]), 0, "Error during event-2 close"); in user_signals_test()
232 ASSERT_GE(zx_handle_close(events[0]), 0, "Error during event-0 close"); in wait_signals_test()
[all …]
/system/utest/memfs/
A Dfidl-tests.cpp37 ASSERT_GE(fd.get(), 0); in TestFidlBasic()
42 ASSERT_GE(fd.get(), 0); in TestFidlBasic()
73 ASSERT_GE(fd.get(), 0); in TestFidlOpenReadOnly()
78 ASSERT_GE(fd.get(), 0); in TestFidlOpenReadOnly()
128 ASSERT_GE(fd.get(), 0); in TestFidlQueryFilesystem()
150 ASSERT_GE(fd.get(), 0); in TestFidlQueryFilesystem()
166 ASSERT_GE(fd.get(), 0); in TestFidlQueryFilesystem()
A Dmemfs-tests.cpp63 ASSERT_GE(fd, 0); in TestMemfsBasic()
114 ASSERT_GE(fd.get(), 0); in TestMemfsLimitPages()
133 ASSERT_GE(fd_another, 0); in TestMemfsLimitPages()
158 ASSERT_GE(fd.get(), 0); in TestMemfsLimitPages()
179 ASSERT_GE(fd, 0); in TestMemfsInstall()
187 ASSERT_GE(fd, 0); in TestMemfsInstall()
/system/utest/core/time/
A Dticks.c20 ASSERT_GE(y, x, "Ticks went backwards"); in elapsed_time_using_ticks()
23 ASSERT_GE(seconds, 0u, "Time went backwards"); in elapsed_time_using_ticks()
/system/utest/fdio/
A Dfdio_handle_fd.c77 ASSERT_GE(written, 0, "write() failed"); in pipe_test()
83 ASSERT_GE(status, 0, "ioctl(FIONREAD) failed"); in pipe_test()
89 ASSERT_GE(bytes_read, 0, "read() failed"); in pipe_test()
104 ASSERT_GE(written, 0, "write() failed"); in write_thread()
175 ASSERT_GE(written, 0, "write() failed"); in transfer_fd_test()
193 ASSERT_GE(bytes_read, 0, "read() failed"); in transfer_fd_test()
207 ASSERT_GE(fd, 0, "Failed to open /dev/zero"); in transfer_device_test()
/system/utest/sysinfo/
A Dmain.cpp23 ASSERT_GE(fd, 0, "Can't open sysinfo"); in get_root_resource_succeeds()
54 ASSERT_GE(fd, 0, "Can't open sysinfo"); in get_board_name_succeeds()
79 ASSERT_GE(fd, 0, "Can't open sysinfo"); in get_interrupt_controller_info_succeeds()
/system/utest/core/handle-wait/
A Dhandle-wait.c79 ASSERT_GE(status, 0, "handle wait one failed"); in wait_readable()
100 ASSERT_GE(status, 0, "handle wait one failed"); in wait_event_worker()
143 ASSERT_GE(status, 0, "message write failed"); in send_msg()
167 ASSERT_GE(zx_channel_read(handle, 0, &data, NULL, num_bytes, 0, &num_bytes, NULL), 0, in recv_msg()
232ASSERT_GE(channel_create(&thread1_channel[0], &thread1_channel[1]), 0, "channel creation failed"); in handle_wait_test()
233ASSERT_GE(channel_create(&thread2_channel[0], &thread2_channel[1]), 0, "channel creation failed"); in handle_wait_test()
/system/utest/fs/
A Dtest-access.cpp150 ASSERT_GE(fd, 0); in TestAccessOpath()
156 ASSERT_GE(fd, 0); in TestAccessOpath()
175 ASSERT_GE(fd, 0); in TestAccessOpath()
208 ASSERT_GE(fd, 0); in TestAccessOpath()
252 ASSERT_GE((fd = open(dirname, O_PATH | O_DIRECTORY)), 0); in TestOpathFdcount()
260 ASSERT_GE((fd = open(dirname, O_PATH | O_DIRECTORY)), 0); in TestOpathFdcount()
A Dtest-basic.c86 ASSERT_GE(fd, 0, ""); in test_unclean_close()
/system/utest/fs-management/
A Dfs-management.cpp355 ASSERT_GE(fd, 0); in DoubleMountRoot()
369 ASSERT_GE(mount_fd, 0); in DoubleMountRoot()
371 ASSERT_GE(fd, 0); in DoubleMountRoot()
379 ASSERT_GE(mount_fd, 0); in DoubleMountRoot()
381 ASSERT_GE(fd, 0); in DoubleMountRoot()
407 ASSERT_GE(fd, 0); in MountRemount()
428 ASSERT_GE(fd, 0, "Could not open ramdisk device"); in MountFsck()
531 ASSERT_GE(root_fd, 0); in CreateTestFile()
533 ASSERT_GE(fd, 0); in CreateTestFile()
559 ASSERT_GE(root_fd, 0); in MountReadonly()
[all …]
/system/utest/core/clock/
A Dclock.c22 ASSERT_GE(current, previous, "monotonic time should only advance"); in clock_monotonic_test()
/system/utest/stdio/
A Dstdio.c115 ASSERT_GE(read_to_end(stdout_fds[0], &out, &out_size), 0, "reading stdout failed"); in stdio_launchpad_pipe_test()
116 ASSERT_GE(read_to_end(stderr_fds[0], &err, &err_size), 0, "reading stderr failed"); in stdio_launchpad_pipe_test()
/system/utest/pty/
A Dpty-test.c72 ASSERT_GE(ps, 0, ""); in pty_test()
75 ASSERT_GE(pc, 0, ""); in pty_test()
169 ASSERT_GE(pc1, 0, ""); in pty_test()
/system/utest/kernel-unittests/
A Dkernel-unittests.cpp25 ASSERT_GE(dmctl_fd, 0); in run_kernel_unittests()
/system/utest/fuzz-utils/
A Dfixture.cpp92 ASSERT_GE(write(fd.get(), contents, strlen(contents) + 1), 0); in CreateFile()
123 ASSERT_GE(mkdir(pathname, 0777), 0); in CreateDirectory()
/system/utest/camera/
A Dcamera.cpp57 ASSERT_GE(rc, 0, ""); in TestSupportedModes()
/system/utest/thread-initial-state/
A Dinit-state.c54 ASSERT_GE(status, 0, "Error while thread wait"); in tis_test()
/system/utest/usb/
A Dusb-test.c158 ASSERT_GE(result->num_packets, ISOCH_MIN_PACKETS, in usb_isoch_verify_result()
161 ASSERT_GE(percent_passed, ISOCH_MIN_PASS_PERCENT, "not enough isoch transfers succeeded"); in usb_isoch_verify_result()
/system/utest/vdso-variant/helper/
A Dvdso-variant-helper.c20 ASSERT_GE(vdso_dir_fd, 0, "open of vdso directory failed"); in vdso_open_test()
/system/utest/ramdisk/
A Dramdisk.cpp57 ASSERT_GE(fd, 0, "Could not open ramdisk device"); in GetRamdisk()
135 ASSERT_GE(destroy_ramdisk(path), 0, "Could not destroy ramdisk device"); in RamdiskTestWaitForDevice()
218 ASSERT_GE(fd, 0, "Could not open ramdisk device"); in RamdiskTestFilesystem()
281 ASSERT_GE(devfd, 0, "Ramdisk is not visible in /dev/class/block"); in RamdiskTestFilesystem()
302 ASSERT_GE(fd, 0, "Could not open ramdisk device"); in RamdiskTestRebind()
1344 ASSERT_GE(ioctl_ramdisk_sleep_after(ramdisk->fd(), &one), 0); in RamdiskTestFifoSleepUnavailable()
1368 ASSERT_GE(ioctl_ramdisk_get_blk_counts(ramdisk->fd(), &counts), 0); in RamdiskTestFifoSleepUnavailable()
1374 ASSERT_GE(ioctl_ramdisk_wake_up(ramdisk->fd()), 0); in RamdiskTestFifoSleepUnavailable()
1380 ASSERT_GE(ioctl_ramdisk_sleep_after(ramdisk->fd(), &one), 0); in RamdiskTestFifoSleepUnavailable()
1401 ASSERT_GE(ioctl_ramdisk_wake_up(ramdisk->fd()), 0); in RamdiskTestFifoSleepUnavailable()
[all …]
/system/utest/spawn/
A Dspawn.cpp306 ASSERT_GE(fd, 0); in spawn_actions_fd_test()
328 ASSERT_GE(fd, 0); in spawn_actions_fd_test()
348 ASSERT_GE(fd, 0); in spawn_actions_fd_test()
546 ASSERT_GE(fd, 3); in spawn_errors_test()
563 ASSERT_GE(fd, 3); in spawn_errors_test()
587 ASSERT_GE(fd, 0); in spawn_vmo_test()
/system/utest/fvm/
A Dfvm.cpp468 ASSERT_GE(ioctl_block_get_info(fd, &info), 0); in CheckWriteReadBlock()
482 ASSERT_GE(ioctl_block_get_info(fd, &info), 0); in CheckNoAccessBlock()
894 ASSERT_GE(ioctl_block_get_info(vp_fd, &info), 0); in TestVPartitionExtend()
903 ASSERT_GE(ioctl_block_get_info(vp_fd, &info), 0); in TestVPartitionExtend()
909 ASSERT_GE(ioctl_block_get_info(vp_fd, &info), 0); in TestVPartitionExtend()
937 ASSERT_GE(ioctl_block_get_info(vp_fd, &info), 0); in TestVPartitionExtend()
1056 ASSERT_GE(ioctl_block_get_info(vp_fd, &info), 0); in TestVPartitionShrink()
1074 ASSERT_GE(ioctl_block_get_info(vp_fd, &info), 0); in TestVPartitionShrink()
1674 ASSERT_GE(vparts[i].slices_used, 5); in TestSliceAccessNonContiguousPhysical()
2336 ASSERT_GE(vp_fd, 0); in TestMkfs()
[all …]
/system/utest/fidl-simple/
A Dclient_tests.c32 ASSERT_GE(actual_bytes, sizeof(fidl_message_header_t), ""); in crash_server()

Completed in 49 milliseconds

12