Lines Matching refs:IsOpen
56 ASSERT_TRUE(stream->IsOpen()); in TestCreateFile()
133 MOCK_CONST_METHOD0(IsOpen, bool());
163 EXPECT_CALL(fd_mock(), IsOpen()).WillRepeatedly(Return(true)); in CreateStream()
201 TEST_F(FileStreamTest, IsOpen) { in TEST_F() argument
202 EXPECT_TRUE(stream_->IsOpen()); in TEST_F()
203 EXPECT_CALL(fd_mock(), IsOpen()).WillOnce(Return(false)); in TEST_F()
204 EXPECT_FALSE(stream_->IsOpen()); in TEST_F()
210 EXPECT_CALL(fd_mock(), IsOpen()).WillRepeatedly(Return(false)); in TEST_F()
221 EXPECT_CALL(fd_mock(), IsOpen()).WillRepeatedly(Return(false)); in TEST_F()
276 EXPECT_CALL(fd_mock(), IsOpen()).WillOnce(Return(false)); in TEST_F()
304 EXPECT_CALL(fd_mock(), IsOpen()).WillOnce(Return(false)); in TEST_F()
672 EXPECT_CALL(fd_mock(), IsOpen()).WillOnce(Return(false)); in TEST_F()
722 ASSERT_TRUE(stream->IsOpen()); in TEST_F()
748 ASSERT_TRUE(stream->IsOpen()); in TEST_F()
923 EXPECT_TRUE(stream->IsOpen()); in TEST_F()
933 EXPECT_TRUE(stream->IsOpen()); in TEST_F()
943 EXPECT_TRUE(stream->IsOpen()); in TEST_F()
955 EXPECT_TRUE(stream->IsOpen()); in TEST_F()
994 EXPECT_TRUE(stream->IsOpen()); in TEST_F()