Searched refs:mock_ (Results 1 – 2 of 2) sorted by relevance
/system/core/fastboot/ |
D | tcp_test.cpp | 98 mock_ = new SocketMock; in SetUp() 99 mock_->ExpectSend("FB01"); in SetUp() 100 mock_->AddReceive("FB01"); in SetUp() 103 transport_ = tcp::internal::Connect(std::unique_ptr<Socket>(mock_), &error); in SetUp() 124 SocketMock* mock_ = nullptr; member in TcpTest 129 mock_->ExpectSend(std::string{0, 0, 0, 0, 0, 0, 0, 3} + "foo"); in TEST_F() 135 mock_->AddReceive(std::string{0, 0, 0, 0, 0, 0, 0, 3}); in TEST_F() 136 mock_->AddReceive("foo"); in TEST_F() 143 mock_->AddReceive(std::string{0, 0, 0, 0}); in TEST_F() 144 mock_->AddReceive(std::string{0, 0, 0, 3}); in TEST_F() [all …]
|
/system/tpm/trunks/ |
D | Makefile | 29 TEST_OBJS := $(filter %_test.o trunks_testrunner.o mock_%.o, $(CXX_OBJECTS))
|