Home
last modified time | relevance | path

Searched refs:ASSERT_NE (Results 1 – 25 of 57) sorted by relevance

123

/libuv/test/
H A Dtest-callback-stack.c195 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 Dtest-ip6-addr.c116 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 Dtest-poll.c110 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 Dtest-fs-poll.c122 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 Dtest-fork.c112 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 Dtest-get-passwd.c62 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 Dtest-connect-unspecified.c26 ASSERT_NE(status, UV_EADDRNOTAVAIL); in connect_4()
30 ASSERT_NE(status, UV_EADDRNOTAVAIL); in connect_6()
H A Dtest-homedir.c48 ASSERT_NE(homedir[len - 1], '\\'); in TEST_IMPL()
53 ASSERT_NE(homedir[len - 1], '/'); in TEST_IMPL()
H A Dtest-getnameinfo.c86 ASSERT_NE(req.host[0], '\0'); in TEST_IMPL()
87 ASSERT_NE(req.service[0], '\0'); in TEST_IMPL()
H A Dtest-poll-multiple-handles.c60 ASSERT_NE(sock, INVALID_SOCKET); in TEST_IMPL()
62 ASSERT_NE(sock, -1); in TEST_IMPL()
H A Dtest-tmpdir.c49 ASSERT_NE(last, '\\'); in TEST_IMPL()
51 ASSERT_NE(last, '/'); in TEST_IMPL()
H A Dtest-random.c45 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 Dtest-pipe-getsockname.c43 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 Dtest-udp-create-socket-early.c51 ASSERT_NE(fd, INVALID_FD); in TEST_IMPL()
97 ASSERT_NE(fd, INVALID_FD); in TEST_IMPL()
H A Dtest-gettimeofday.c32 ASSERT_NE(0, tv.tv_sec); in TEST_IMPL()
H A Drun-tests.c225 ASSERT_NE(0, GetHandleInformation(open_fd, &flags)); in maybe_run_test()
229 ASSERT_NE(pCompareObjectHandles == NULL || \ in maybe_run_test()
H A Dtest-thread-equal.c44 ASSERT_NE(0, uv_thread_equal(&main_thread_id, &main_thread_id)); in TEST_IMPL()
H A Dtest-cwd-and-chdir.c44 ASSERT_NE(buffer_orig[size1], '/'); in TEST_IMPL()
H A Dtest-uname.c49 ASSERT_NE(uname(&buf), -1); in TEST_IMPL()
H A Dtest-tcp-create-socket-early.c111 ASSERT_NE(fd, INVALID_FD); in TEST_IMPL()
157 ASSERT_NE(fd, INVALID_FD); in TEST_IMPL()
H A Dtest-strtok.c59 ASSERT_NE((x != NULL && y != NULL && strcmp(x, y) == 0) || (x == y && x == NULL), 0)
H A Dtest-loop-stop.c79 ASSERT_NE(0, uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
H A Dtest-pipe-server-close.c38 ASSERT_NE(handle == (uv_handle_t*) &pipe_client || in pipe_close_cb()
H A Dtest-poll-closesocket.c68 ASSERT_NE(sock, INVALID_SOCKET); in TEST_IMPL()
H A Dtest-udp-multicast-ttl.c30 ASSERT_NE((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client, 0)

Completed in 25 milliseconds

123