Searched refs:GetParam (Results 1 - 8 of 8) sorted by relevance

/gem5/ext/googletest/googletest/samples/
H A Dsample8_unittest.cc100 // tie(force_on_the_fly, max_precalculated) = GetParam();
104 bool force_on_the_fly = ::testing::get<0>(GetParam());
105 int max_precalculated = ::testing::get<1>(GetParam());
116 // Inside the test body, you can refer to the test parameter by GetParam().
H A Dsample7_unittest.cc65 // can refer to the test parameter by GetParam(). In this case, the test
71 virtual void SetUp() { table_ = (*GetParam())(); }
/gem5/ext/googletest/googletest/test/
H A Dgtest-param-test_test.cc635 current_parameter_ = GetParam();
639 EXPECT_EQ(current_parameter_, GetParam());
643 EXPECT_EQ(current_parameter_, GetParam());
690 EXPECT_EQ(current_parameter_, GetParam());
691 collected_parameters_.push_back(GetParam());
717 EXPECT_EQ(1, GetParam());
730 EXPECT_EQ(GetParam(), 33);
741 EXPECT_EQ(0, GetParam() % 33);
758 EXPECT_EQ(0, GetParam() % 42);
804 index_stream << "TestsReportCorrectNamesAndParameters/" << GetParam();
[all...]
H A Dgtest_output_test_.cc96 EXPECT_EQ(1, GetParam());
770 EXPECT_EQ("a", GetParam());
774 EXPECT_EQ("b", GetParam()) << "Expected failure";
H A Dgtest_repeat_test.cc132 GTEST_CHECK_INT_EQ_(g_param_test_count % kNumberOfParamTests, GetParam());
/gem5/ext/googletest/googletest/include/gtest/
H A Dgtest.h1717 // the GetParam() method.
1725 // // Can use GetParam() here.
1728 // // Can use GetParam() here.
1731 // // Can use GetParam() here.
1734 // // Can use GetParam() here.
1738 // // Can use GetParam() method here.
1740 // ASSERT_TRUE(foo.DoesBar(GetParam()));
1753 // like writing 'WithParamInterface<bool>::GetParam()' for a test that
1755 const ParamType& GetParam() const { function in class:testing::WithParamInterface
1757 << "GetParam() ca
[all...]
H A Dgtest-param-test.h69 // Inside a test, access the test parameter with the GetParam() method
71 EXPECT_TRUE(foo.Blah(GetParam()));
176 // GetParam works just the same here as if you inherit from TestWithParam.
177 EXPECT_TRUE(foo.Blah(GetParam()));
1215 // external_flag = GetParam();
1263 // tie(external_flag_1, external_flag_2) = GetParam();
1415 // returns the value of testing::PrintToString(GetParam()). It does not work
/gem5/ext/googletest/googlemock/test/
H A Dgmock-matchers_test.cc5103 int nodes = GetParam();
5156 size_t nlhs = GetParam().first;
5157 size_t nrhs = GetParam().second;
5187 int nodes = GetParam().first;
5188 int iters = GetParam().second;

Completed in 53 milliseconds