Home
last modified time | relevance | path

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

/freebsd/tests/sys/fs/fusefs/
H A Dcache.cc60 int cache_mode = get<1>(GetParam()); in SetUp()
146 bool reopen = get<0>(get<0>(GetParam())); in TEST_P()
147 bool cache_lookups = get<1>(get<0>(GetParam())); in TEST_P()
148 bool cache_attrs = get<2>(get<0>(GetParam())); in TEST_P()
149 ssize_t osize = get<2>(GetParam()); in TEST_P()
150 ssize_t nsize = get<3>(GetParam()); in TEST_P()
H A Dio.cc98 if (get<0>(GetParam())) in SetUp()
100 m_maxwrite = get<1>(GetParam()); in SetUp()
101 switch (get<2>(GetParam())) { in SetUp()
116 m_kernel_minor_version = get<3>(GetParam()); in SetUp()
127 cache_mode_to_s(get<2>(GetParam())), in SetUp()
H A Dmount.cc122 flag = mntflag_from_string(GetParam()); in TEST_P()
162 flag = mntflag_from_string(GetParam()); in TEST_P()
H A Dlast_local_modify.cc232 mutator = writer_from_str(GetParam()); in TEST_P()
389 mutator = writer_from_str(GetParam()); in TEST_P()
H A Dpre-init.cc62 m_default_permissions = GetParam(); in SetUp()
H A Ddev_fuse_poll.cc70 m_pm = poll_method_from_string(GetParam()); in SetUp()
H A Dwrite.cc174 m_time_gran = 1 << GetParam(); in SetUp()
560 oflag = GetParam(); in TEST_P()
597 oflag = GetParam(); in TEST_P()
670 ngetattrs = GetParam(); in TEST_P()
H A Dbmap.cc291 ngetattrs = GetParam(); in TEST_P()
H A Dread.cc108 m_maxreadahead = val * get<1>(GetParam()); in SetUp()
109 m_noclusterr = get<0>(GetParam()); in SetUp()
158 m_time_gran = 1 << GetParam(); in SetUp()
H A Dfallocate.cc113 int cache_mode = GetParam(); in SetUp()
/freebsd/contrib/googletest/googletest/test/
H A Dgoogletest-param-test-test.cc749 current_parameter_ = GetParam(); in TestGenerationTest()
753 EXPECT_EQ(current_parameter_, GetParam()); in SetUp()
757 EXPECT_EQ(current_parameter_, GetParam()); in TearDown()
805 EXPECT_EQ(current_parameter_, GetParam()); in TEST_P()
806 collected_parameters_.push_back(GetParam()); in TEST_P()
832 EXPECT_EQ(1, GetParam()); in TEST_P()
844 EXPECT_EQ(GetParam(), 33); in TEST_P()
854 EXPECT_EQ(0, GetParam() % 33); in TEST_P()
870 EXPECT_EQ(0, GetParam() % 42); in TEST_P()
915 index_stream << "TestsReportCorrectNamesAndParameters/" << GetParam(); in TEST_P()
[all …]
H A Dgoogletest-output-test_.cc86 TEST_P(FailingParamTest, Fails) { EXPECT_EQ(1, GetParam()); } in TEST_P()
97 TEST_P(EmptyBasenameParamInst, Passes) { EXPECT_EQ(1, GetParam()); } in TEST_P()
681 TEST_P(ParamTest, Success) { EXPECT_EQ("a", GetParam()); } in TEST_P()
683 TEST_P(ParamTest, Failure) { EXPECT_EQ("b", GetParam()) << "Expected failure"; } in TEST_P()
H A Dgtest_repeat_test.cc105 GTEST_CHECK_INT_EQ_(g_param_test_count % kNumberOfParamTests, GetParam()); in TEST_P()
H A Dgoogletest-output-test-golden-lin.txt979 GetParam()
983 [ FAILED ] PrintingFailingParams/FailingParamTest.Fails/0, where GetParam() = 2
994 GetParam()
999 [ FAILED ] PrintingStrings/ParamTest.Failure/a, where GetParam() = "a"
1108 [ FAILED ] PrintingFailingParams/FailingParamTest.Fails/0, where GetParam() = 2
1109 [ FAILED ] PrintingStrings/ParamTest.Failure/a, where GetParam() = "a"
/freebsd/lib/libdevdctl/tests/
H A Dlibdevdctl_unittest.cc82 DevNameTestParams param = GetParam(); in TEST_P()
91 DevNameTestParams param = GetParam(); in TEST_P()
/freebsd/contrib/googletest/googletest/samples/
H A Dsample7_unittest.cc65 void SetUp() override { table_ = (*GetParam())(); } in SetUp()
H A Dsample8_unittest.cc97 std::tie(force_on_the_fly, max_precalculated) = GetParam(); in SetUp()
/freebsd/contrib/googletest/googletest/include/gtest/
H A Dgtest-param-test.h66 EXPECT_TRUE(foo.Blah(GetParam()));
172 EXPECT_TRUE(foo.Blah(GetParam()));
H A Dgtest.h1696 static const ParamType& GetParam() { in GetParam() function
/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-matchers-misc_test.cc501 size_t nodes = GetParam(); in TEST_P()
552 size_t nlhs = GetParam().first; in TEST_P()
553 size_t nrhs = GetParam().second; in TEST_P()
577 int nodes = GetParam().first; in TEST_P()
578 int iters = GetParam().second; in TEST_P()
1801 Matcher<std::function<void()>> matcher = GetParam(); in TEST_P()
1810 Matcher<std::function<void()>> matcher = GetParam(); in TEST_P()
1818 Matcher<std::function<void()>> matcher = GetParam(); in TEST_P()
1827 Matcher<std::function<void()>> matcher = GetParam(); in TEST_P()
1835 Matcher<std::function<void()>> matcher = GetParam(); in TEST_P()
H A Dgmock-matchers_test.h166 const bool use_gtest_matcher_ = GetParam();
/freebsd/contrib/googletest/docs/reference/
H A Dtesting.md69 body, the test parameter can be accessed with the `GetParam()` function (see
75 EXPECT_TRUE(DoSomething(GetParam()));
1413 has support for accessing the test parameter value via the `GetParam()` method:
1416 static const ParamType& GetParam()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DOpcodes.td416 def GetParam : AccessOpcode;
H A DInterp.h1194 bool GetParam(InterpState &S, CodePtr OpPC, uint32_t I) { in GetParam() function
/freebsd/contrib/googletest/docs/
H A Dadvanced.md1087 // To access the test parameter, call GetParam() from class
1107 // Inside a test, access the test parameter with the GetParam() method
1109 EXPECT_TRUE(foo.Blah(GetParam()));
1230 returns the value of `testing::PrintToString(GetParam())`. It does not work for
1243 std::cout << "Example Test Param: " << GetParam() << std::endl;