Lines Matching refs:LookupAbsolutePath
324 TEST_F(NodeTest, LookupAbsolutePath) { in TEST_F() argument
330 ASSERT_EQ(parent.get(), node::LookupAbsolutePath(parent.get(), "/path")); in TEST_F()
331 ASSERT_EQ(parent.get(), node::LookupAbsolutePath(parent.get(), "/path/")); in TEST_F()
332 ASSERT_EQ(nullptr, node::LookupAbsolutePath(parent.get(), "/path2")); in TEST_F()
334 ASSERT_EQ(child.get(), node::LookupAbsolutePath(parent.get(), "/path/subdir")); in TEST_F()
335 ASSERT_EQ(child.get(), node::LookupAbsolutePath(parent.get(), "/path/subdir/")); in TEST_F()
337 ASSERT_EQ(child.get(), node::LookupAbsolutePath(parent.get(), "/path//subdir")); in TEST_F()
338 ASSERT_EQ(child.get(), node::LookupAbsolutePath(parent.get(), "/path///subdir")); in TEST_F()
340 ASSERT_EQ(child2.get(), node::LookupAbsolutePath(parent.get(), "/path/subdir2")); in TEST_F()
341 ASSERT_EQ(child2.get(), node::LookupAbsolutePath(parent.get(), "/path/subdir2/")); in TEST_F()
343 ASSERT_EQ(nullptr, node::LookupAbsolutePath(parent.get(), "/path/subdir3/")); in TEST_F()
345 ASSERT_EQ(subchild.get(), node::LookupAbsolutePath(parent.get(), "/path/subdir2/subsubdir")); in TEST_F()
346 ASSERT_EQ(nullptr, node::LookupAbsolutePath(parent.get(), "/path/subdir/subsubdir")); in TEST_F()