/libuv/test/ |
H A D | test-callback-stack.c | 195 ASSERT_NE(connect_cb_called == 1 && \ in TEST_IMPL() 197 ASSERT_NE(write_cb_called == 1 && "write_cb must be called exactly once", in TEST_IMPL() 199 ASSERT_NE(timer_cb_called == 1 && "timer_cb must be called exactly once", in TEST_IMPL() 202 ASSERT_NE(shutdown_cb_called == 1 && \ in TEST_IMPL() 204 ASSERT_NE(close_cb_called == 2 && "close_cb must be called exactly twice", in TEST_IMPL()
|
H A D | test-ip6-addr.c | 116 ASSERT_NE(0, uv_if_indextoname((unsigned int)-1, in TEST_IMPL() 150 ASSERT_NE(0, uv_inet_pton(AF_INET6, ADDR, &addr)); \ 151 ASSERT_NE(0, uv_inet_pton(AF_INET6, ADDR "%en1", &addr)); \ 152 ASSERT_NE(0, uv_inet_pton(AF_INET6, ADDR "%%%%", &addr)); \ 153 ASSERT_NE(0, uv_inet_pton(AF_INET6, ADDR "%en1:1.2.3.4", &addr)); \
|
H A D | test-poll.c | 110 ASSERT_NE(sock, INVALID_SOCKET); in create_bound_socket() 504 ASSERT_NE(sock, INVALID_SOCKET); 585 ASSERT_NE(spurious_writable_wakeups == 0 || 650 ASSERT_NE(fd[0], -1); 659 ASSERT_NE(fd[0], -1); 672 ASSERT_NE(fd[0], -1); 674 ASSERT_NE(fd[1], -1); 695 ASSERT_NE(fd, -1); 699 ASSERT_NE(0, uv_run(uv_default_loop(), UV_RUN_NOWAIT)); 717 ASSERT_NE(fd, -1); [all …]
|
H A D | test-fs-poll.c | 122 ASSERT_NE(0, memcmp(curr, &zero_statbuf, sizeof(zero_statbuf))); in poll_cb() 128 ASSERT_NE(0, memcmp(prev, &zero_statbuf, sizeof(zero_statbuf))); in poll_cb() 129 ASSERT_NE(0, memcmp(curr, &zero_statbuf, sizeof(zero_statbuf))); in poll_cb() 135 ASSERT_NE(0, memcmp(prev, &zero_statbuf, sizeof(zero_statbuf))); in poll_cb() 136 ASSERT_NE(0, memcmp(curr, &zero_statbuf, sizeof(zero_statbuf))); in poll_cb() 142 ASSERT_NE(0, memcmp(prev, &zero_statbuf, sizeof(zero_statbuf))); in poll_cb() 185 ASSERT_NE(0, buf[len - 1]); in TEST_IMPL()
|
H A D | test-fork.c | 112 ASSERT_NE(child_pid, -1); in TEST_IMPL() 148 ASSERT_NE(child_pid, -1); in TEST_IMPL() 201 ASSERT_NE(child_pid, -1); in TEST_IMPL() 271 ASSERT_NE(child_pid, -1); in TEST_IMPL() 289 ASSERT_NE(0, uv_loop_alive(uv_default_loop())); in TEST_IMPL() 329 ASSERT_NE(child_pid, -1); in TEST_IMPL() 353 ASSERT_NE(0, uv_loop_alive(uv_default_loop())); in TEST_IMPL() 394 ASSERT_NE(child_pid, -1); in TEST_IMPL() 540 ASSERT_NE(child_pid, -1); in _do_fork_fs_events_child() 650 ASSERT_NE(child_pid, -1); in TEST_IMPL() [all …]
|
H A D | test-get-passwd.c | 62 ASSERT_NE(pwd.homedir[len - 1], '\\'); in TEST_IMPL() 67 ASSERT_NE(pwd.homedir[len - 1], '/'); in TEST_IMPL() 74 ASSERT_NE(pwd.uid, (unsigned)-1); in TEST_IMPL() 75 ASSERT_NE(pwd.gid, (unsigned)-1); in TEST_IMPL()
|
H A D | test-connect-unspecified.c | 26 ASSERT_NE(status, UV_EADDRNOTAVAIL); in connect_4() 30 ASSERT_NE(status, UV_EADDRNOTAVAIL); in connect_6()
|
H A D | test-homedir.c | 48 ASSERT_NE(homedir[len - 1], '\\'); in TEST_IMPL() 53 ASSERT_NE(homedir[len - 1], '/'); in TEST_IMPL()
|
H A D | test-getnameinfo.c | 86 ASSERT_NE(req.host[0], '\0'); in TEST_IMPL() 87 ASSERT_NE(req.service[0], '\0'); in TEST_IMPL()
|
H A D | test-poll-multiple-handles.c | 60 ASSERT_NE(sock, INVALID_SOCKET); in TEST_IMPL() 62 ASSERT_NE(sock, -1); in TEST_IMPL()
|
H A D | test-tmpdir.c | 49 ASSERT_NE(last, '\\'); in TEST_IMPL() 51 ASSERT_NE(last, '/'); in TEST_IMPL()
|
H A D | test-random.c | 45 ASSERT_NE(0, memcmp(scratch, zero, sizeof(zero))); in random_cb() 90 ASSERT_NE(0, memcmp(buf, zero, sizeof(zero))); in TEST_IMPL()
|
H A D | test-pipe-getsockname.c | 43 ASSERT_NE(handle == (uv_handle_t*) &pipe_client || in pipe_close_cb() 66 ASSERT_NE(0, buf[len - 1]); in pipe_client_connect_cb() 163 ASSERT_NE(0, buf[len - 1]); in TEST_IMPL() 202 ASSERT_NE(0, buf[len - 1]); in TEST_IMPL() 316 ASSERT_NE(r, -1); in TEST_IMPL()
|
H A D | test-udp-create-socket-early.c | 51 ASSERT_NE(fd, INVALID_FD); in TEST_IMPL() 97 ASSERT_NE(fd, INVALID_FD); in TEST_IMPL()
|
H A D | test-gettimeofday.c | 32 ASSERT_NE(0, tv.tv_sec); in TEST_IMPL()
|
H A D | run-tests.c | 225 ASSERT_NE(0, GetHandleInformation(open_fd, &flags)); in maybe_run_test() 229 ASSERT_NE(pCompareObjectHandles == NULL || \ in maybe_run_test()
|
H A D | test-thread-equal.c | 44 ASSERT_NE(0, uv_thread_equal(&main_thread_id, &main_thread_id)); in TEST_IMPL()
|
H A D | test-cwd-and-chdir.c | 44 ASSERT_NE(buffer_orig[size1], '/'); in TEST_IMPL()
|
H A D | test-uname.c | 49 ASSERT_NE(uname(&buf), -1); in TEST_IMPL()
|
H A D | test-tcp-create-socket-early.c | 111 ASSERT_NE(fd, INVALID_FD); in TEST_IMPL() 157 ASSERT_NE(fd, INVALID_FD); in TEST_IMPL()
|
H A D | test-strtok.c | 59 ASSERT_NE((x != NULL && y != NULL && strcmp(x, y) == 0) || (x == y && x == NULL), 0)
|
H A D | test-loop-stop.c | 79 ASSERT_NE(0, uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
|
H A D | test-pipe-server-close.c | 38 ASSERT_NE(handle == (uv_handle_t*) &pipe_client || in pipe_close_cb()
|
H A D | test-poll-closesocket.c | 68 ASSERT_NE(sock, INVALID_SOCKET); in TEST_IMPL()
|
H A D | test-udp-multicast-ttl.c | 30 ASSERT_NE((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client, 0)
|