Lines Matching refs:m_pTestee
21 m_pTestee = new FileHandle();
26 delete m_pTestee;
43 ASSERT_TRUE(m_pTestee->open(path, FileHandle::OpenMode(FileHandle::ReadOnly),
45 ASSERT_TRUE(m_pTestee->isOpened());
46 ASSERT_TRUE(m_pTestee->isGood());
47 ASSERT_TRUE(m_pTestee->isOwned());
49 ASSERT_TRUE(27 == m_pTestee->size());
51 ASSERT_TRUE(m_pTestee->close());
52 ASSERT_FALSE(m_pTestee->isOpened());
53 ASSERT_TRUE(m_pTestee->isGood());
55 ASSERT_TRUE(0 == m_pTestee->size());
64 ASSERT_TRUE(m_pTestee->delegate(fd, FileHandle::ReadOnly));
65 ASSERT_TRUE(m_pTestee->isOpened());
66 ASSERT_TRUE(m_pTestee->isGood());
67 ASSERT_FALSE(m_pTestee->isOwned());
69 ASSERT_TRUE(27 == m_pTestee->size());
71 ASSERT_TRUE(m_pTestee->close());
72 ASSERT_FALSE(m_pTestee->isOpened());
73 ASSERT_TRUE(m_pTestee->isGood());
74 ASSERT_TRUE(m_pTestee->isOwned());
76 ASSERT_TRUE(0 == m_pTestee->size());
85 ASSERT_TRUE(m_pTestee->open(path, FileHandle::OpenMode(FileHandle::ReadOnly),
87 ASSERT_TRUE(m_pTestee->isOpened());
88 ASSERT_TRUE(m_pTestee->isGood());
90 ASSERT_TRUE(27 == m_pTestee->size());
92 int close_result = ::close(m_pTestee->handler());
95 ASSERT_FALSE(m_pTestee->close());
96 ASSERT_FALSE(m_pTestee->isOpened());
97 ASSERT_FALSE(m_pTestee->isGood());