Searched defs:PrimeTableTest (Results 1 - 12 of 12) sorted by relevance

/external/chromium/testing/gtest/samples/
H A Dsample6_unittest.cc59 class PrimeTableTest : public testing::Test { class in inherits:testing::Test
63 PrimeTableTest() : table_(CreatePrimeTable<T>()) {} function in class:PrimeTableTest
65 virtual ~PrimeTableTest() { delete table_; }
96 TYPED_TEST_CASE(PrimeTableTest, Implementations);
100 TYPED_TEST(PrimeTableTest, ReturnsFalseForNonPrimes) {
116 TYPED_TEST(PrimeTableTest, ReturnsTrueForPrimes) {
125 TYPED_TEST(PrimeTableTest, CanGetNextPrime) {
158 // the PrimeTableTest fixture defined earlier:
161 class PrimeTableTest2 : public PrimeTableTest<T> {
H A Dsample7_unittest.cc68 class PrimeTableTest : public TestWithParam<CreatePrimeTableFunc*> { class in inherits:TestWithParam
70 virtual ~PrimeTableTest() { delete table_; }
81 TEST_P(PrimeTableTest, ReturnsFalseForNonPrimes) {
90 TEST_P(PrimeTableTest, ReturnsTrueForPrimes) {
99 TEST_P(PrimeTableTest, CanGetNextPrime) {
117 PrimeTableTest,
H A Dsample8_unittest.cc93 class PrimeTableTest : public TestWithParam< ::std::tr1::tuple<bool, int> > { class in inherits:TestWithParam
115 TEST_P(PrimeTableTest, ReturnsFalseForNonPrimes) {
130 TEST_P(PrimeTableTest, ReturnsTrueForPrimes) {
139 TEST_P(PrimeTableTest, CanGetNextPrime) {
160 PrimeTableTest,
/external/chromium_org/testing/gtest/samples/
H A Dsample6_unittest.cc59 class PrimeTableTest : public testing::Test { class in inherits:testing::Test
63 PrimeTableTest() : table_(CreatePrimeTable<T>()) {} function in class:PrimeTableTest
65 virtual ~PrimeTableTest() { delete table_; }
96 TYPED_TEST_CASE(PrimeTableTest, Implementations);
100 TYPED_TEST(PrimeTableTest, ReturnsFalseForNonPrimes) {
116 TYPED_TEST(PrimeTableTest, ReturnsTrueForPrimes) {
125 TYPED_TEST(PrimeTableTest, CanGetNextPrime) {
158 // the PrimeTableTest fixture defined earlier:
161 class PrimeTableTest2 : public PrimeTableTest<T> {
H A Dsample7_unittest.cc68 class PrimeTableTest : public TestWithParam<CreatePrimeTableFunc*> { class in inherits:TestWithParam
70 virtual ~PrimeTableTest() { delete table_; }
81 TEST_P(PrimeTableTest, ReturnsFalseForNonPrimes) {
90 TEST_P(PrimeTableTest, ReturnsTrueForPrimes) {
99 TEST_P(PrimeTableTest, CanGetNextPrime) {
117 PrimeTableTest,
H A Dsample8_unittest.cc93 class PrimeTableTest : public TestWithParam< ::std::tr1::tuple<bool, int> > { class in inherits:TestWithParam
115 TEST_P(PrimeTableTest, ReturnsFalseForNonPrimes) {
130 TEST_P(PrimeTableTest, ReturnsTrueForPrimes) {
139 TEST_P(PrimeTableTest, CanGetNextPrime) {
160 PrimeTableTest,
/external/gtest/samples/
H A Dsample6_unittest.cc59 class PrimeTableTest : public testing::Test { class in inherits:testing::Test
63 PrimeTableTest() : table_(CreatePrimeTable<T>()) {} function in class:PrimeTableTest
65 virtual ~PrimeTableTest() { delete table_; }
96 TYPED_TEST_CASE(PrimeTableTest, Implementations);
100 TYPED_TEST(PrimeTableTest, ReturnsFalseForNonPrimes) {
116 TYPED_TEST(PrimeTableTest, ReturnsTrueForPrimes) {
125 TYPED_TEST(PrimeTableTest, CanGetNextPrime) {
158 // the PrimeTableTest fixture defined earlier:
161 class PrimeTableTest2 : public PrimeTableTest<T> {
H A Dsample7_unittest.cc68 class PrimeTableTest : public TestWithParam<CreatePrimeTableFunc*> { class in inherits:TestWithParam
70 virtual ~PrimeTableTest() { delete table_; }
81 TEST_P(PrimeTableTest, ReturnsFalseForNonPrimes) {
90 TEST_P(PrimeTableTest, ReturnsTrueForPrimes) {
99 TEST_P(PrimeTableTest, CanGetNextPrime) {
117 PrimeTableTest,
H A Dsample8_unittest.cc93 class PrimeTableTest : public TestWithParam< ::std::tr1::tuple<bool, int> > { class in inherits:TestWithParam
115 TEST_P(PrimeTableTest, ReturnsFalseForNonPrimes) {
130 TEST_P(PrimeTableTest, ReturnsTrueForPrimes) {
139 TEST_P(PrimeTableTest, CanGetNextPrime) {
160 PrimeTableTest,
/external/protobuf/gtest/samples/
H A Dsample6_unittest.cc59 class PrimeTableTest : public testing::Test { class in inherits:testing::Test
63 PrimeTableTest() : table_(CreatePrimeTable<T>()) {} function in class:PrimeTableTest
65 virtual ~PrimeTableTest() { delete table_; }
96 TYPED_TEST_CASE(PrimeTableTest, Implementations);
100 TYPED_TEST(PrimeTableTest, ReturnsFalseForNonPrimes) {
116 TYPED_TEST(PrimeTableTest, ReturnsTrueForPrimes) {
125 TYPED_TEST(PrimeTableTest, CanGetNextPrime) {
158 // the PrimeTableTest fixture defined earlier:
161 class PrimeTableTest2 : public PrimeTableTest<T> {
H A Dsample7_unittest.cc70 class PrimeTableTest : public TestWithParam<CreatePrimeTableFunc*> { class in inherits:TestWithParam
72 virtual ~PrimeTableTest() { delete table_; }
83 TEST_P(PrimeTableTest, ReturnsFalseForNonPrimes) {
92 TEST_P(PrimeTableTest, ReturnsTrueForPrimes) {
101 TEST_P(PrimeTableTest, CanGetNextPrime) {
119 PrimeTableTest,
H A Dsample8_unittest.cc93 class PrimeTableTest : public TestWithParam< ::std::tr1::tuple<bool, int> > { class in inherits:TestWithParam
115 TEST_P(PrimeTableTest, ReturnsFalseForNonPrimes) {
130 TEST_P(PrimeTableTest, ReturnsTrueForPrimes) {
139 TEST_P(PrimeTableTest, CanGetNextPrime) {
160 PrimeTableTest,

Completed in 317 milliseconds