Home
last modified time | relevance | path

Searched refs:GetParam (Results 1 – 17 of 17) sorted by relevance

/freebsd-12.1/contrib/googletest/googletest/test/
H A Dgoogletest-param-test-test.cc673 current_parameter_ = GetParam(); in TestGenerationTest()
677 EXPECT_EQ(current_parameter_, GetParam()); in SetUp()
681 EXPECT_EQ(current_parameter_, GetParam()); in TearDown()
728 EXPECT_EQ(current_parameter_, GetParam()); in TEST_P()
755 EXPECT_EQ(1, GetParam()); in TEST_P()
768 EXPECT_EQ(GetParam(), 33); in TEST_P()
779 EXPECT_EQ(0, GetParam() % 33); in TEST_P()
796 EXPECT_EQ(0, GetParam() % 42); in TEST_P()
1017 sum_ += GetParam(); in TEST_P()
1081 EXPECT_EQ(GetParam(), global_count_++); in TEST_P()
[all …]
H A Dgoogletest-output-test_.cc90 EXPECT_EQ(1, GetParam()); in TEST_P()
779 EXPECT_EQ("a", GetParam()); in TEST_P()
783 EXPECT_EQ("b", GetParam()) << "Expected failure"; in TEST_P()
H A Dgtest_repeat_test.cc121 GTEST_CHECK_INT_EQ_(g_param_test_count % kNumberOfParamTests, GetParam()); in TEST_P()
H A Dgoogletest-output-test-golden-lin.txt878 GetParam()
882 [ FAILED ] PrintingFailingParams/FailingParamTest.Fails/0, where GetParam() = 2
890 GetParam()
895 [ FAILED ] PrintingStrings/ParamTest.Failure/a, where GetParam() = "a"
960 [ FAILED ] PrintingFailingParams/FailingParamTest.Fails/0, where GetParam() = 2
961 [ FAILED ] PrintingStrings/ParamTest.Failure/a, where GetParam() = "a"
/freebsd-12.1/lib/libdevdctl/tests/
H A Dlibdevdctl_unittest.cc84 DevNameTestParams param = GetParam(); in TEST_P()
93 DevNameTestParams param = GetParam(); in TEST_P()
/freebsd-12.1/contrib/googletest/googletest/samples/
H A Dsample8_unittest.cc103 bool force_on_the_fly = ::testing::get<0>(GetParam()); in SetUp()
104 int max_precalculated = ::testing::get<1>(GetParam()); in SetUp()
H A Dsample7_unittest.cc69 virtual void SetUp() { table_ = (*GetParam())(); } in SetUp()
/freebsd-12.1/tests/sys/fs/fusefs/
H A Dmount.cc76 flag = mntflag_from_string(GetParam()); in TEST_P()
116 flag = mntflag_from_string(GetParam()); in TEST_P()
H A Dio.cc124 if (get<0>(GetParam())) in SetUp()
126 m_maxwrite = get<1>(GetParam()); in SetUp()
127 switch (get<2>(GetParam())) { in SetUp()
151 cache_mode_to_s(get<2>(GetParam()))); in SetUp()
H A Ddev_fuse_poll.cc72 m_pm = poll_method_from_string(GetParam()); in SetUp()
H A Dread.cc100 m_maxreadahead = val * get<1>(GetParam()); in SetUp()
101 m_noclusterr = get<0>(GetParam()); in SetUp()
H A Dwrite.cc176 m_time_gran = 1 << GetParam(); in SetUp()
/freebsd-12.1/contrib/googletest/googletest/include/gtest/
H A Dgtest-param-test.h.pump67 // Inside a test, access the test parameter with the GetParam() method
69 EXPECT_TRUE(foo.Blah(GetParam()));
174 // GetParam works just the same here as if you inherit from TestWithParam.
175 EXPECT_TRUE(foo.Blah(GetParam()));
366 // external_flag = GetParam();
414 // tie(external_flag_1, external_flag_2) = GetParam();
473 // returns the value of testing::PrintToString(GetParam()).
H A Dgtest.h1822 const ParamType& GetParam() const { in GetParam() function
H A Dgtest-param-test.h70 EXPECT_TRUE(foo.Blah(GetParam()));
176 EXPECT_TRUE(foo.Blah(GetParam()));
/freebsd-12.1/contrib/googletest/googletest/docs/
H A Dadvanced.md1354 // To access the test parameter, call GetParam() from class
1374 // Inside a test, access the test parameter with the GetParam() method
1376 EXPECT_TRUE(foo.Blah(GetParam()));
1487 returns the value of `testing::PrintToString(GetParam())`. It does not work for
1499 std::cout << "Example Test Param: " << GetParam() << std::endl;
/freebsd-12.1/contrib/googletest/googlemock/test/
H A Dgmock-matchers_test.cc6084 int nodes = GetParam(); in TEST_P()
6137 size_t nlhs = GetParam().first; in TEST_P()
6138 size_t nrhs = GetParam().second; in TEST_P()
6168 int nodes = GetParam().first; in TEST_P()
6169 int iters = GetParam().second; in TEST_P()