Lines Matching refs:kv_pairs

21   base::StringPairs kv_pairs;  member in base::SplitStringIntoKeyValuePairsTest
28 &kv_pairs)); in TEST_F()
29 EXPECT_TRUE(kv_pairs.empty()); in TEST_F()
36 &kv_pairs)); in TEST_F()
37 ASSERT_EQ(2U, kv_pairs.size()); in TEST_F()
38 EXPECT_TRUE(kv_pairs[0].first.empty()); in TEST_F()
39 EXPECT_TRUE(kv_pairs[0].second.empty()); in TEST_F()
40 EXPECT_EQ("key2", kv_pairs[1].first); in TEST_F()
41 EXPECT_EQ("value2", kv_pairs[1].second); in TEST_F()
48 &kv_pairs)); in TEST_F()
49 ASSERT_EQ(2U, kv_pairs.size()); in TEST_F()
50 EXPECT_TRUE(kv_pairs[0].first.empty()); in TEST_F()
51 EXPECT_EQ("value1", kv_pairs[0].second); in TEST_F()
52 EXPECT_EQ("key2", kv_pairs[1].first); in TEST_F()
53 EXPECT_EQ("value2", kv_pairs[1].second); in TEST_F()
60 &kv_pairs)); in TEST_F()
61 ASSERT_EQ(2U, kv_pairs.size()); in TEST_F()
62 EXPECT_EQ("key1", kv_pairs[0].first); in TEST_F()
63 EXPECT_EQ("value1", kv_pairs[0].second); in TEST_F()
64 EXPECT_EQ("key2", kv_pairs[1].first); in TEST_F()
65 EXPECT_EQ("value2", kv_pairs[1].second); in TEST_F()
72 &kv_pairs)); in TEST_F()
73 ASSERT_EQ(2U, kv_pairs.size()); in TEST_F()
74 EXPECT_EQ("key1", kv_pairs[0].first); in TEST_F()
75 EXPECT_EQ("value1", kv_pairs[0].second); in TEST_F()
76 EXPECT_EQ("key3", kv_pairs[1].first); in TEST_F()
77 EXPECT_EQ("value3", kv_pairs[1].second); in TEST_F()
84 &kv_pairs)); in TEST_F()
85 ASSERT_EQ(2U, kv_pairs.size()); in TEST_F()
86 EXPECT_EQ("key1", kv_pairs[0].first); in TEST_F()
87 EXPECT_EQ("", kv_pairs[0].second); in TEST_F()
88 EXPECT_EQ("key2", kv_pairs[1].first); in TEST_F()
89 EXPECT_EQ("value2", kv_pairs[1].second); in TEST_F()
96 &kv_pairs)); in TEST_F()
97 ASSERT_EQ(1U, kv_pairs.size()); in TEST_F()
98 EXPECT_EQ("key1 ", kv_pairs[0].first); in TEST_F()
99 EXPECT_EQ(" value1", kv_pairs[0].second); in TEST_F()
106 &kv_pairs)); in TEST_F()
107 ASSERT_EQ(2U, kv_pairs.size()); in TEST_F()
108 EXPECT_EQ("key1", kv_pairs[0].first); in TEST_F()
109 EXPECT_EQ("value1", kv_pairs[0].second); in TEST_F()
110 EXPECT_EQ("key2", kv_pairs[1].first); in TEST_F()
111 EXPECT_EQ("value2", kv_pairs[1].second); in TEST_F()
118 &kv_pairs)); in TEST_F()
119 ASSERT_EQ(2U, kv_pairs.size()); in TEST_F()
120 EXPECT_EQ("key1", kv_pairs[0].first); in TEST_F()
121 EXPECT_EQ("value1", kv_pairs[0].second); in TEST_F()
122 EXPECT_EQ("key2", kv_pairs[1].first); in TEST_F()
123 EXPECT_EQ("value2", kv_pairs[1].second); in TEST_F()
131 &kv_pairs)); in TEST_F()
132 ASSERT_EQ(2U, kv_pairs.size()); in TEST_F()
133 EXPECT_EQ(a, kv_pairs[0].first); in TEST_F()
134 EXPECT_EQ(a, kv_pairs[0].second); in TEST_F()
135 EXPECT_EQ(a, kv_pairs[1].first); in TEST_F()
136 EXPECT_EQ(a, kv_pairs[1].second); in TEST_F()
144 &kv_pairs)); in TEST_F()
145 ASSERT_EQ(2U, kv_pairs.size()); in TEST_F()
146 EXPECT_EQ("key1", kv_pairs[0].first); in TEST_F()
147 EXPECT_EQ("va:ue1", kv_pairs[0].second); in TEST_F()
148 EXPECT_EQ("key2", kv_pairs[1].first); in TEST_F()
149 EXPECT_EQ("value2", kv_pairs[1].second); in TEST_F()