• Home
  • Raw
  • Download

Lines Matching refs:GetFlag

234   EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_01), true);  in TEST_F()
235 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_02), 1234); in TEST_F()
236 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_03), -34); in TEST_F()
237 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_04), 189); in TEST_F()
238 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_05), 10765); in TEST_F()
239 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_06), 40000); in TEST_F()
240 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_07), -1234567); in TEST_F()
241 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_08), 9876543); in TEST_F()
242 EXPECT_NEAR(absl::GetFlag(FLAGS_test_flag_09), -9.876e-50, 1e-55); in TEST_F()
243 EXPECT_NEAR(absl::GetFlag(FLAGS_test_flag_10), 1.234e12f, 1e5f); in TEST_F()
244 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_11), ""); in TEST_F()
251 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_01), false); in TEST_F()
254 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_02), 321); in TEST_F()
257 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_03), 67); in TEST_F()
260 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_04), 1); in TEST_F()
263 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_05), -908); in TEST_F()
266 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_06), 4001); in TEST_F()
269 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_07), -23456); in TEST_F()
272 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_08), 975310); in TEST_F()
275 EXPECT_NEAR(absl::GetFlag(FLAGS_test_flag_09), 1.00001, 1e-10); in TEST_F()
278 EXPECT_NEAR(absl::GetFlag(FLAGS_test_flag_10), -3.54f, 1e-6f); in TEST_F()
281 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_11), "asdf"); in TEST_F()
297 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_12), 1); in TEST_F()
298 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_13), "AAABBB"); in TEST_F()
325 cb_test_value = absl::GetFlag(FLAGS_test_flag_with_lambda_cb) + in __anon12c351c10602()
326 absl::GetFlag(FLAGS_test_flag_with_cb); in __anon12c351c10602()
331 void TestFlagCB() { cb_test_value = absl::GetFlag(FLAGS_test_flag_with_cb); } in TestFlagCB()
335 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_with_cb), 100); in TEST_F()
336 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_with_lambda_cb), 200); in TEST_F()
382 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_15), CustomUDT(1, 1)); in TEST_F()
384 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_15), CustomUDT(2, 3)); in TEST_F()
395 static_cast<void>(absl::GetFlag(FLAGS_mistyped_int_flag)), in TEST_F()
402 EXPECT_DEATH(static_cast<void>(absl::GetFlag(FLAGS_mistyped_string_flag)), in TEST_F()
449 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_16).a, 10); in TEST_F()
452 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_16).a, 11); in TEST_F()
487 EXPECT_EQ(absl::GetFlag(FLAGS_ndc_flag1).value, '1' + 100); in TEST_F()
488 EXPECT_EQ(absl::GetFlag(FLAGS_ndc_flag2).value, 0); in TEST_F()
493 EXPECT_EQ(absl::GetFlag(FLAGS_ndc_flag1).value, 'A' + 100); in TEST_F()
494 EXPECT_EQ(absl::GetFlag(FLAGS_ndc_flag2).value, 25); in TEST_F()