• Home
  • Raw
  • Download

Lines Matching refs:tests

87     TestInfo const** const tests =  in GetSortedTests()  local
91 tests[i] = test_case->GetTestInfo(i); in GetSortedTests()
93 std::sort(tests, tests + test_case->total_test_count(), in GetSortedTests()
95 return tests; in GetSortedTests()
158 const TestInfo** tests = UnitTestHelper::GetSortedTests(test_case); in TEST() local
160 EXPECT_STREQ("DISABLED_Dummy1", tests[0]->name()); in TEST()
161 EXPECT_STREQ("ApiTest", tests[0]->test_case_name()); in TEST()
162 EXPECT_TRUE(IsNull(tests[0]->value_param())); in TEST()
163 EXPECT_TRUE(IsNull(tests[0]->type_param())); in TEST()
164 EXPECT_FALSE(tests[0]->should_run()); in TEST()
166 EXPECT_STREQ("TestCaseDisabledAccessorsWork", tests[1]->name()); in TEST()
167 EXPECT_STREQ("ApiTest", tests[1]->test_case_name()); in TEST()
168 EXPECT_TRUE(IsNull(tests[1]->value_param())); in TEST()
169 EXPECT_TRUE(IsNull(tests[1]->type_param())); in TEST()
170 EXPECT_TRUE(tests[1]->should_run()); in TEST()
172 EXPECT_STREQ("TestCaseImmutableAccessorsWork", tests[2]->name()); in TEST()
173 EXPECT_STREQ("ApiTest", tests[2]->test_case_name()); in TEST()
174 EXPECT_TRUE(IsNull(tests[2]->value_param())); in TEST()
175 EXPECT_TRUE(IsNull(tests[2]->type_param())); in TEST()
176 EXPECT_TRUE(tests[2]->should_run()); in TEST()
178 EXPECT_STREQ("UnitTestImmutableAccessorsWork", tests[3]->name()); in TEST()
179 EXPECT_STREQ("ApiTest", tests[3]->test_case_name()); in TEST()
180 EXPECT_TRUE(IsNull(tests[3]->value_param())); in TEST()
181 EXPECT_TRUE(IsNull(tests[3]->type_param())); in TEST()
182 EXPECT_TRUE(tests[3]->should_run()); in TEST()
184 delete[] tests; in TEST()
185 tests = NULL; in TEST()
198 tests = UnitTestHelper::GetSortedTests(test_case); in TEST()
200 EXPECT_STREQ("Dummy", tests[0]->name()); in TEST()
201 EXPECT_STREQ("TestCaseWithCommentTest/0", tests[0]->test_case_name()); in TEST()
202 EXPECT_TRUE(IsNull(tests[0]->value_param())); in TEST()
203 EXPECT_STREQ(GetTypeName<int>().c_str(), tests[0]->type_param()); in TEST()
204 EXPECT_TRUE(tests[0]->should_run()); in TEST()
206 delete[] tests; in TEST()
280 const TestInfo** tests = UnitTestHelper::GetSortedTests(test_case); in TearDown() local
281 EXPECT_STREQ("DISABLED_Dummy1", tests[0]->name()); in TearDown()
282 EXPECT_STREQ("ApiTest", tests[0]->test_case_name()); in TearDown()
283 EXPECT_FALSE(tests[0]->should_run()); in TearDown()
285 EXPECT_STREQ("TestCaseDisabledAccessorsWork", tests[1]->name()); in TearDown()
286 EXPECT_STREQ("ApiTest", tests[1]->test_case_name()); in TearDown()
287 EXPECT_TRUE(IsNull(tests[1]->value_param())); in TearDown()
288 EXPECT_TRUE(IsNull(tests[1]->type_param())); in TearDown()
289 EXPECT_TRUE(tests[1]->should_run()); in TearDown()
290 EXPECT_TRUE(tests[1]->result()->Passed()); in TearDown()
291 EXPECT_EQ(0, tests[1]->result()->test_property_count()); in TearDown()
293 EXPECT_STREQ("TestCaseImmutableAccessorsWork", tests[2]->name()); in TearDown()
294 EXPECT_STREQ("ApiTest", tests[2]->test_case_name()); in TearDown()
295 EXPECT_TRUE(IsNull(tests[2]->value_param())); in TearDown()
296 EXPECT_TRUE(IsNull(tests[2]->type_param())); in TearDown()
297 EXPECT_TRUE(tests[2]->should_run()); in TearDown()
298 EXPECT_TRUE(tests[2]->result()->Passed()); in TearDown()
299 EXPECT_EQ(0, tests[2]->result()->test_property_count()); in TearDown()
301 EXPECT_STREQ("UnitTestImmutableAccessorsWork", tests[3]->name()); in TearDown()
302 EXPECT_STREQ("ApiTest", tests[3]->test_case_name()); in TearDown()
303 EXPECT_TRUE(IsNull(tests[3]->value_param())); in TearDown()
304 EXPECT_TRUE(IsNull(tests[3]->type_param())); in TearDown()
305 EXPECT_TRUE(tests[3]->should_run()); in TearDown()
306 EXPECT_TRUE(tests[3]->result()->Passed()); in TearDown()
307 EXPECT_EQ(1, tests[3]->result()->test_property_count()); in TearDown()
308 const TestProperty& property = tests[3]->result()->GetTestProperty(0); in TearDown()
312 delete[] tests; in TearDown()
316 tests = UnitTestHelper::GetSortedTests(test_case); in TearDown()
318 EXPECT_STREQ("Dummy", tests[0]->name()); in TearDown()
319 EXPECT_STREQ("TestCaseWithCommentTest/0", tests[0]->test_case_name()); in TearDown()
320 EXPECT_TRUE(IsNull(tests[0]->value_param())); in TearDown()
321 EXPECT_STREQ(GetTypeName<int>().c_str(), tests[0]->type_param()); in TearDown()
322 EXPECT_TRUE(tests[0]->should_run()); in TearDown()
323 EXPECT_TRUE(tests[0]->result()->Passed()); in TearDown()
324 EXPECT_EQ(0, tests[0]->result()->test_property_count()); in TearDown()
326 delete[] tests; in TearDown()