• Home
  • Raw
  • Download

Lines Matching refs:line

49   char* line;  in TEST_F()  local
51 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
52 ASSERT_STREQ("Single line with newline.", line); in TEST_F()
55 ASSERT_FALSE(line_buf.GetLine(&line, &line_len)); in TEST_F()
68 char* line; in TEST_F() local
70 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
71 ASSERT_STREQ("Single line with no newline.", line); in TEST_F()
74 ASSERT_FALSE(line_buf.GetLine(&line, &line_len)); in TEST_F()
89 char* line; in TEST_F() local
91 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
92 ASSERT_STREQ("The first line.", line); in TEST_F()
95 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
96 ASSERT_STREQ("Second line here.", line); in TEST_F()
99 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
100 ASSERT_STREQ("Third line is last.", line); in TEST_F()
103 ASSERT_FALSE(line_buf.GetLine(&line, &line_len)); in TEST_F()
118 char* line; in TEST_F() local
120 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
121 ASSERT_STREQ("The first line.", line); in TEST_F()
124 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
125 ASSERT_STREQ("Second line here.", line); in TEST_F()
128 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
129 ASSERT_STREQ("Third line is last no newline.", line); in TEST_F()
132 ASSERT_FALSE(line_buf.GetLine(&line, &line_len)); in TEST_F()
148 char* line; in TEST_F() local
150 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
151 ASSERT_STREQ("The first line.", line); in TEST_F()
154 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
155 ASSERT_STREQ("Second line here.", line); in TEST_F()
158 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
159 ASSERT_STREQ("Third line is last.", line); in TEST_F()
163 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
164 ASSERT_STREQ("The fourth line.", line); in TEST_F()
167 ASSERT_FALSE(line_buf.GetLine(&line, &line_len)); in TEST_F()
183 char* line; in TEST_F() local
185 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
186 ASSERT_STREQ("The first line.", line); in TEST_F()
189 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
190 ASSERT_STREQ("Second line here.", line); in TEST_F()
193 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
194 ASSERT_STREQ("Third line is last.", line); in TEST_F()
198 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
199 ASSERT_STREQ("The fourth line.", line); in TEST_F()
202 ASSERT_FALSE(line_buf.GetLine(&line, &line_len)); in TEST_F()
218 char* line; in TEST_F() local
220 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
221 ASSERT_STREQ("The first line.", line); in TEST_F()
224 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
225 ASSERT_STREQ("Second line here.", line); in TEST_F()
228 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
229 ASSERT_STREQ("This is a really, really", line); in TEST_F()
231 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
232 ASSERT_STREQ(", really, kind of long.", line); in TEST_F()
236 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
237 ASSERT_STREQ("The fourth line.", line); in TEST_F()
240 ASSERT_FALSE(line_buf.GetLine(&line, &line_len)); in TEST_F()