Home
last modified time | relevance | path

Searched refs:GetParam (Results 1 – 24 of 24) 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.cc224 mutator = writer_from_str(GetParam()); in TEST_P()
381 mutator = writer_from_str(GetParam()); in TEST_P()
H A Ddev_fuse_poll.cc70 m_pm = poll_method_from_string(GetParam()); in SetUp()
H A Dbmap.cc204 ngetattrs = GetParam(); in TEST_P()
H A Dwrite.cc172 m_time_gran = 1 << GetParam(); in SetUp()
558 oflag = GetParam(); in TEST_P()
595 oflag = GetParam(); in TEST_P()
668 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.cc114 int cache_mode = GetParam(); in SetUp()
/freebsd/contrib/googletest/googletest/test/
H A Dgoogletest-param-test-test.cc679 current_parameter_ = GetParam(); in TestGenerationTest()
683 EXPECT_EQ(current_parameter_, GetParam()); in SetUp()
687 EXPECT_EQ(current_parameter_, GetParam()); in TearDown()
735 EXPECT_EQ(current_parameter_, GetParam()); in TEST_P()
736 collected_parameters_.push_back(GetParam()); in TEST_P()
762 EXPECT_EQ(1, GetParam()); in TEST_P()
774 EXPECT_EQ(GetParam(), 33); in TEST_P()
784 EXPECT_EQ(0, GetParam() % 33); in TEST_P()
800 EXPECT_EQ(0, GetParam() % 42); in TEST_P()
845 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/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.cc500 size_t nodes = GetParam(); in TEST_P()
551 size_t nlhs = GetParam().first; in TEST_P()
552 size_t nrhs = GetParam().second; in TEST_P()
576 int nodes = GetParam().first; in TEST_P()
577 int iters = GetParam().second; in TEST_P()
1742 Matcher<std::function<void()>> matcher = GetParam(); in TEST_P()
1751 Matcher<std::function<void()>> matcher = GetParam(); in TEST_P()
1759 Matcher<std::function<void()>> matcher = GetParam(); in TEST_P()
1768 Matcher<std::function<void()>> matcher = GetParam(); in TEST_P()
1776 Matcher<std::function<void()>> matcher = GetParam(); in TEST_P()
H A Dgmock-matchers_test.h166 const bool use_gtest_matcher_ = GetParam();
/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/docs/reference/
H A Dtesting.md69 body, the test parameter can be accessed with the `GetParam()` function (see
75 EXPECT_TRUE(DoSomething(GetParam()));
1316 has support for accessing the test parameter value via the `GetParam()` method:
1319 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.md1081 // To access the test parameter, call GetParam() from class
1101 // Inside a test, access the test parameter with the GetParam() method
1103 EXPECT_TRUE(foo.Blah(GetParam()));
1224 returns the value of `testing::PrintToString(GetParam())`. It does not work for
1237 std::cout << "Example Test Param: " << GetParam() << std::endl;