Lines Matching refs:ASSERT_EQ
29 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds));
44 ASSERT_EQ(static_cast<int>(request.size()),
47 ASSERT_EQ(1U, message_fds.size());
64 ASSERT_EQ(0, sigaction(SIGPIPE, &act, &oldact));
66 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds));
68 ASSERT_EQ(0, IGNORE_EINTR(close(fds[0])));
73 ASSERT_EQ(-1,
76 ASSERT_EQ(EPIPE, errno);
78 ASSERT_EQ(0, sigaction(SIGPIPE, &oldact, NULL));
84 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds));
101 ASSERT_EQ(sizeof(kHello), static_cast<size_t>(nread));
102 ASSERT_EQ(0, memcmp(buf, kHello, sizeof(kHello)));
103 ASSERT_EQ(0U, fd_vec.size());
105 ASSERT_EQ(getpid(), sender_pid);
111 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds));
130 ASSERT_EQ(sizeof(kHello), static_cast<size_t>(nread));
131 ASSERT_EQ(0, memcmp(buf, kHello, sizeof(kHello)));
132 ASSERT_EQ(UnixDomainSocket::kMaxFileDescriptors, recv_fds.size());
134 ASSERT_EQ(getpid(), sender_pid);
141 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds));
154 ASSERT_EQ(0, nread);
155 ASSERT_EQ(-1, sender_pid);
156 ASSERT_EQ(0U, recv_fds.size());