Lines Matching refs:output
26 std::string output; in TEST() local
27 …_TRUE(normalize_path("/../root///dir/.///dir2/somedir/../zipfile!/dir/dir9//..///afile", &output)); in TEST()
28 ASSERT_EQ("/root/dir/dir2/zipfile!/dir/afile", output); in TEST()
30 …RUE(normalize_path("/../root///dir/.///dir2/somedir/.../zipfile!/.dir/dir9//..///afile", &output)); in TEST()
31 ASSERT_EQ("/root/dir/dir2/somedir/.../zipfile!/.dir/afile", output); in TEST()
33 ASSERT_TRUE(normalize_path("/root/..", &output)); in TEST()
34 ASSERT_EQ("/", output); in TEST()
36 ASSERT_TRUE(normalize_path("/root/notroot/..", &output)); in TEST()
37 ASSERT_EQ("/root/", output); in TEST()
39 ASSERT_TRUE(normalize_path("/a/../../b", &output)); in TEST()
40 ASSERT_EQ("/b", output); in TEST()
42 output = "unchanged"; in TEST()
43 …ERT_FALSE(normalize_path("root///dir/.///dir2/somedir/../zipfile!/dir/dir9//..///afile", &output)); in TEST()
44 ASSERT_EQ("unchanged", output); in TEST()