Lines Matching refs:kError
86 const Status kError = statusFromErrno(EINVAL, "test"); in TEST_F() local
87 EXPECT_CALL(mSyscalls, getsockname(kFd, _, _)).WillOnce(Return(kError)); in TEST_F()
88 EXPECT_EQ(kError, sys.getsockname<sockaddr_nl>(kFd).status()); in TEST_F()
104 const Status kError = statusFromErrno(EINVAL, "test"); in TEST_F() local
106 .WillOnce(Return(kError)); in TEST_F()
107 EXPECT_EQ(kError, sys.setsockopt(kFd, kLevel, kOptname, expected)); in TEST_F()
124 const Status kError = statusFromErrno(EINVAL, "test"); in TEST_F() local
126 .WillOnce(Return(kError)); in TEST_F()
127 EXPECT_EQ(kError, sys.getsockopt(kFd, kLevel, kOptname, &expected, &optLen)); in TEST_F()
141 const Status kError = statusFromErrno(EINVAL, "test"); in TEST_F() local
143 .WillOnce(Return(kError)); in TEST_F()
144 EXPECT_EQ(kError, sys.bind(kFd, expected)); in TEST_F()
158 const Status kError = statusFromErrno(EINVAL, "test"); in TEST_F() local
160 .WillOnce(Return(kError)); in TEST_F()
161 EXPECT_EQ(kError, sys.connect(kFd, expected)); in TEST_F()