Lines Matching refs:parts

27   std::vector<std::string> parts = android::base::Split("", ",");  in TEST()  local
28 ASSERT_EQ(1U, parts.size()); in TEST()
29 ASSERT_EQ("", parts[0]); in TEST()
33 std::vector<std::string> parts = android::base::Split("foo", ","); in TEST() local
34 ASSERT_EQ(1U, parts.size()); in TEST()
35 ASSERT_EQ("foo", parts[0]); in TEST()
39 std::vector<std::string> parts = android::base::Split("foo,bar,baz", ","); in TEST() local
40 ASSERT_EQ(3U, parts.size()); in TEST()
41 ASSERT_EQ("foo", parts[0]); in TEST()
42 ASSERT_EQ("bar", parts[1]); in TEST()
43 ASSERT_EQ("baz", parts[2]); in TEST()
47 std::vector<std::string> parts = android::base::Split("foo,,bar", ","); in TEST() local
48 ASSERT_EQ(3U, parts.size()); in TEST()
49 ASSERT_EQ("foo", parts[0]); in TEST()
50 ASSERT_EQ("", parts[1]); in TEST()
51 ASSERT_EQ("bar", parts[2]); in TEST()
55 std::vector<std::string> parts = android::base::Split("foo,bar,", ","); in TEST() local
56 ASSERT_EQ(3U, parts.size()); in TEST()
57 ASSERT_EQ("foo", parts[0]); in TEST()
58 ASSERT_EQ("bar", parts[1]); in TEST()
59 ASSERT_EQ("", parts[2]); in TEST()
63 std::vector<std::string> parts = in TEST() local
65 ASSERT_EQ(2U, parts.size()); in TEST()
66 ASSERT_EQ("foo", parts[0]); in TEST()
67 ASSERT_EQ("bar", parts[1]); in TEST()
71 std::vector<std::string> parts = android::base::Split("foo:bar,baz", ",:"); in TEST() local
72 ASSERT_EQ(3U, parts.size()); in TEST()
73 ASSERT_EQ("foo", parts[0]); in TEST()
74 ASSERT_EQ("bar", parts[1]); in TEST()
75 ASSERT_EQ("baz", parts[2]); in TEST()
79 std::vector<std::string> parts = android::base::Split("foo:,bar", ",:"); in TEST() local
80 ASSERT_EQ(3U, parts.size()); in TEST()
81 ASSERT_EQ("foo", parts[0]); in TEST()
82 ASSERT_EQ("", parts[1]); in TEST()
83 ASSERT_EQ("bar", parts[2]); in TEST()