Lines Matching refs:m_pTestee

21   m_pTestee = new Path();  in PathTest()
26 delete m_pTestee; in ~PathTest()
43 m_pTestee->assign(root); in TEST_F()
44 EXPECT_TRUE(exists(*m_pTestee)); in TEST_F()
46 delete m_pTestee; in TEST_F()
47 m_pTestee = new Path(root); in TEST_F()
48 EXPECT_TRUE(exists(*m_pTestee)); in TEST_F()
53 m_pTestee->assign(root); in TEST_F()
54 EXPECT_FALSE(exists(*m_pTestee)); in TEST_F()
56 delete m_pTestee; in TEST_F()
57 m_pTestee = new Path(root); in TEST_F()
58 EXPECT_FALSE(exists(*m_pTestee)); in TEST_F()
63 m_pTestee->assign(root); in TEST_F()
64 EXPECT_TRUE(exists(*m_pTestee)); in TEST_F()
65 EXPECT_TRUE(is_directory(*m_pTestee)); in TEST_F()
66 delete m_pTestee; in TEST_F()
67 m_pTestee = new Path(root); in TEST_F()
68 EXPECT_TRUE(exists(*m_pTestee)); in TEST_F()
69 EXPECT_TRUE(is_directory(*m_pTestee)); in TEST_F()
74 m_pTestee->assign(root); in TEST_F()
75 EXPECT_FALSE(exists(*m_pTestee)); in TEST_F()
76 EXPECT_FALSE(is_directory(*m_pTestee)); in TEST_F()
77 delete m_pTestee; in TEST_F()
78 m_pTestee = new Path(root); in TEST_F()
79 EXPECT_FALSE(exists(*m_pTestee)); in TEST_F()
80 EXPECT_FALSE(is_directory(*m_pTestee)); in TEST_F()
85 m_pTestee->assign(root); in TEST_F()
89 EXPECT_TRUE(*m_pTestee == *p2); in TEST_F()
91 delete m_pTestee; in TEST_F()
92 m_pTestee = new Path(root); in TEST_F()
93 EXPECT_TRUE(*m_pTestee == *m_pTestee); in TEST_F()
101 m_pTestee->assign(root); in TEST_F()
102 EXPECT_TRUE(*m_pTestee != *p2); in TEST_F()
104 delete m_pTestee; in TEST_F()
105 m_pTestee = new Path(root); in TEST_F()
106 EXPECT_TRUE(*m_pTestee != *p2); in TEST_F()
112 m_pTestee->assign(root); in TEST_F()
113 m_pTestee->append("aaa"); in TEST_F()
115 EXPECT_TRUE(m_pTestee->native() == "aa/aaa"); in TEST_F()
116 delete m_pTestee; in TEST_F()
117 m_pTestee = new Path("aa/"); in TEST_F()
118 m_pTestee->append("/aaa"); in TEST_F()
119 EXPECT_TRUE(m_pTestee->native() == "aa/aaa"); in TEST_F()
120 delete m_pTestee; in TEST_F()
121 m_pTestee = new Path("aa"); in TEST_F()
122 m_pTestee->append("/aaa"); in TEST_F()
123 EXPECT_TRUE(m_pTestee->native() == "aa/aaa"); in TEST_F()
124 delete m_pTestee; in TEST_F()
125 m_pTestee = new Path("aa"); in TEST_F()
126 m_pTestee->append("aaa"); in TEST_F()
127 EXPECT_TRUE(m_pTestee->native() == "aa/aaa"); in TEST_F()
131 m_pTestee->assign("/etc/../dev/../usr//lib//"); in TEST_F()
132 EXPECT_STREQ("/usr/lib/", m_pTestee->generic_string().c_str()); in TEST_F()
136 m_pTestee->assign("aa/bb/cc/dd"); in TEST_F()
137 EXPECT_STREQ("aa/bb/cc", m_pTestee->parent_path().c_str()); in TEST_F()
138 delete m_pTestee; in TEST_F()
139 m_pTestee = new Path("/aa/bb/"); in TEST_F()
140 EXPECT_STREQ("/aa/bb", m_pTestee->parent_path().c_str()); in TEST_F()
141 delete m_pTestee; in TEST_F()
142 m_pTestee = new Path("/aa/bb"); in TEST_F()
143 EXPECT_STREQ("/aa", m_pTestee->parent_path().c_str()); in TEST_F()
144 delete m_pTestee; in TEST_F()
145 m_pTestee = new Path("aa/"); in TEST_F()
146 EXPECT_STREQ("aa", m_pTestee->parent_path().c_str()); in TEST_F()
147 delete m_pTestee; in TEST_F()
148 m_pTestee = new Path("aa"); in TEST_F()
149 EXPECT_TRUE(m_pTestee->parent_path().empty()); in TEST_F()
153 m_pTestee->assign("aa/bb/cc"); in TEST_F()
154 EXPECT_STREQ("cc", m_pTestee->filename().c_str()); in TEST_F()
156 m_pTestee->assign("aa/bb/"); in TEST_F()
157 EXPECT_STREQ("", m_pTestee->filename().c_str()); in TEST_F()
159 m_pTestee->assign("aa"); in TEST_F()
160 EXPECT_STREQ("aa", m_pTestee->filename().c_str()); in TEST_F()