/gem5/ext/googletest/googletest/include/gtest/ |
H A D | gtest-printers.h | 43 // foo): 45 // 1. foo::PrintTo(const T&, ostream*) 46 // 2. operator<<(ostream&, const T&) defined in either foo or the 185 // A user can override this behavior for a class type Foo by defining 186 // a << operator in the namespace where Foo is defined. 197 // Foo that supports streaming to std::basic_ostream<Char, 200 // operator<<(std::basic_stream<Char, CharTraits>, const Foo&) is more 236 // Assuming T is defined in namespace foo, in the next statement, 239 // 1. foo::operator<< (thanks to Koenig look-up), 246 // impossible to define #1 (e.g. when foo i [all...] |
H A D | gtest-typed-test.h | 46 class FooTest : public testing::Test { 58 TYPED_TEST_CASE(FooTest, MyTypes); 62 // TYPED_TEST_CASE(FooTest, int); 66 TYPED_TEST(FooTest, DoesBlah) { 69 // visit the members of FooTest via 'this'. 83 TYPED_TEST(FooTest, HasPropertyA) { ... } 106 class FooTest : public testing::Test { 113 TYPED_TEST_CASE_P(FooTest); 117 TYPED_TEST_P(FooTest, DoesBlah) { 123 TYPED_TEST_P(FooTest, HasProperty [all...] |
H A D | gtest.h | 238 // // Verifies that Foo() returns an even number. 239 // EXPECT_PRED_FORMAT1(IsEven, Foo()); 251 // If Foo() returns 5, you will see the following message: 253 // Expected: Foo() is even 360 // class FooTest : public testing::Test { 367 // TEST_F(FooTest, Bar) { ... } 368 // TEST_F(FooTest, Baz) { ... } 385 // Google Test will call Foo::SetUpTestCase() before running the first 386 // test in test case Foo. Hence a sub-class can define its own 393 // Google Test will call Foo [all...] |
/gem5/ext/googletest/googletest/include/gtest/internal/ |
H A D | gtest-filepath.h | 103 // Examples: 'dir/foo_test.xml' or 'dir/foo_test_1.xml'. 174 // For example, "bar///foo" becomes "bar/foo". Does not eliminate other 183 // The script language and operating system may allow paths like "foo//bar" 190 // the primary path separator '\\', so that for example "bar\\/\\foo" becomes 191 // "bar\\foo".
|
H A D | gtest-internal.h | 71 // foo ## __LINE__ 73 // will result in the token foo__LINE__, instead of foo followed by 76 #define GTEST_CONCAT_TOKEN_(foo, bar) GTEST_CONCAT_TOKEN_IMPL_(foo, bar) 77 #define GTEST_CONCAT_TOKEN_IMPL_(foo, bar) foo ## bar 208 // and their values, as strings. For example, for ASSERT_EQ(foo, bar) 209 // where foo is 5 and bar is 6, we have: 211 // expected_expression: "foo" [all...] |
H A D | gtest-linked_ptr.h | 233 // Doing e.g. make_linked_ptr(new FooBarBaz<type>(arg)) is a shorter notation 234 // for linked_ptr<FooBarBaz<type> >(new FooBarBaz<type>(arg))
|
H A D | gtest-param-util.h | 521 // parameter index. For the test SequenceA/FooTest.DoBar/1 FooTest is
|
H A D | gtest-port.h | 850 // struct Foo { 851 // Foo() { ... } 1019 // GTEST_COMPILE_ASSERT_(sizeof(foo) < 128, foo_too_large); 1053 // int foo; 1054 // GTEST_COMPILE_ASSERT_(foo, msg); // not supposed to compile as foo is 1325 // the type hierarchy (e.g. casting a Foo* to a SuperclassOfFoo* or a 1326 // const Foo*). When you use ImplicitCast_, the compiler checks that 1345 // When you upcast (that is, cast a pointer from type Foo t [all...] |
/gem5/ext/googletest/googletest/scripts/ |
H A D | fuse_gtest_files.py | 201 # It's '#include "gtest/foo.h"' where foo is not gtest-spi. 213 # It's '#include "src/foo"' - let's process it recursively.
|
H A D | gtest-config.in | 33 g++ $(gtest-config --cppflags --cxxflags) -o foo.o -c foo.cpp 34 g++ $(gtest-config --ldflags --libs) -o foo foo.o
|
H A D | pump.py | 43 pump.py foo.cc.pump 44 Converts foo.cc.pump to foo.cc.
|
H A D | release_docs.py | 101 # A link to Foo.wiki is in one of the following forms: 102 # [Foo words] 103 # [Foo#Anchor words] 104 # [http://code.google.com/.../wiki/Foo words] 105 # [http://code.google.com/.../wiki/Foo#Anchor words] 106 # We want to replace 'Foo' with 'V2_6_Foo' in the above cases. 109 # [Foo 111 # /wiki/Foo 112 # followed by a space or a #, where Foo is the name of an
|
/gem5/ext/googletest/googletest/src/ |
H A D | gtest-filepath.cc | 283 // Examples: 'dir/foo_test.xml' or 'dir/foo_test_1.xml'. 353 // For example, "bar///foo" becomes "bar/foo". Does not eliminate other
|
H A D | gtest-internal-inl.h | 618 // For example, if Foo() calls Bar(), which in turn calls 619 // CurrentOsStackTraceExceptTop(1), Foo() will be included in the
|
H A D | gtest-port.cc | 1132 // given flag. For example, FlagToEnvVar("foo") will return
|
H A D | gtest-printers.cc | 41 // type Foo by defining either operator<<(::std::ostream&, const Foo&) 42 // or void PrintTo(const Foo&, ::std::ostream*) in the namespace that 43 // defines Foo. 289 // const char kFoo[] = "foo";
|
H A D | gtest.cc | 793 // For example, if Foo() calls Bar(), which in turn calls 794 // CurrentOsStackTraceExceptTop(1), Foo() will be included in the 1301 // and their values, as strings. For example, for ASSERT_EQ(foo, bar) 1302 // where foo is 5 and bar is 6, we have: 1304 // lhs_expression: "foo" 4970 // For example, if Foo() calls Bar(), which in turn calls 4971 // GetCurrentOsStackTraceExceptTop(..., 1), Foo() will be included in 5166 " TEST(Foo, Bar) is \"Foo.Bar\".\n"
|
/gem5/ext/googletest/googletest/test/ |
H A D | gtest-death-test_test.cc | 120 // fooled by a fake condition. 607 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(static_cast<void>(0), "Foo"), 796 EXPECT_EXIT(raise(SIGKILL), testing::KilledBySignal(SIGKILL), "") << "foo";
|
H A D | gtest-filepath_test.cc | 251 FilePath actual = FilePath::MakeFileName(FilePath("foo"), FilePath("bar"), 253 EXPECT_EQ("foo" GTEST_PATH_SEP_ "bar.xml", actual.string()); 257 FilePath actual = FilePath::MakeFileName(FilePath("foo"), FilePath("bar"), 259 EXPECT_EQ("foo" GTEST_PATH_SEP_ "bar_12.xml", actual.string()); 263 FilePath actual = FilePath::MakeFileName(FilePath("foo" GTEST_PATH_SEP_), 265 EXPECT_EQ("foo" GTEST_PATH_SEP_ "bar.xml", actual.string()); 269 FilePath actual = FilePath::MakeFileName(FilePath("foo" GTEST_PATH_SEP_), 271 EXPECT_EQ("foo" GTEST_PATH_SEP_ "bar_12.xml", actual.string()); 287 FilePath actual = FilePath::ConcatPaths(FilePath("foo"), 289 EXPECT_EQ("foo" GTEST_PATH_SEP [all...] |
H A D | gtest-message_test.cc | 95 EXPECT_EQ("Foo", (Message() << "Foo").GetString());
|
H A D | gtest-param-test_test.cc | 464 const char* foo = "foo"; local 467 Combine(Values(foo, bar), Values(3, 4)); 470 make_tuple(foo, 3), make_tuple(foo, 4), 529 const char* foo = "foo"; local 532 int, int> > gen = Combine(Values(foo, bar), 540 expected_values[] = {make_tuple(foo, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
H A D | gtest-port_test.cc | 271 EXPECT_PRED_FORMAT2(IsSubstring, "foo.cc", FormatFileLocation("foo.cc", 42)); 272 EXPECT_PRED_FORMAT2(IsSubstring, "42", FormatFileLocation("foo.cc", 42)); 282 EXPECT_EQ("foo.cc:", FormatFileLocation("foo.cc", -1)); 291 EXPECT_EQ("foo.cc:42", FormatCompilerIndependentFileLocation("foo.cc", 42)); 300 EXPECT_EQ("foo.cc", FormatCompilerIndependentFileLocation("foo.cc", -1)); 998 ThreadLocal<NoDefaultContructor> bar(NoDefaultContructor("foo")); [all...] |
H A D | gtest-printers_test.cc | 126 namespace foo { namespace 190 } // namespace foo 558 struct Foo { struct in namespace:testing::gtest_printers_test 560 virtual ~Foo() {} 568 EXPECT_TRUE(HasPrefix(Print(&Foo::value), 569 Print(sizeof(&Foo::value)) + "-byte object ")); 570 int (Foo::*p) = NULL; // NOLINT 580 EXPECT_TRUE(HasPrefix(Print(&Foo::MyMethod), 581 Print(sizeof(&Foo::MyMethod)) + "-byte object ")); 583 HasPrefix(Print(&Foo [all...] |
H A D | gtest-test-part_test.cc | 50 : r1_(TestPartResult::kSuccess, "foo/bar.cc", 10, "Success!"), 51 r2_(TestPartResult::kNonFatalFailure, "foo/bar.cc", -1, "Failure!"), 114 EXPECT_STREQ("foo/bar.cc", r1_.file_name()); 162 : r1_(TestPartResult::kNonFatalFailure, "foo/bar.cc", -1, "Failure 1"), 163 r2_(TestPartResult::kFatalFailure, "foo/bar.cc", -1, "Failure 2") {}
|
H A D | gtest-tuple_test.cc | 81 typedef tuple<const int, char> FooTuple; typedef 83 const FooTuple a(0, 'x'); 84 const FooTuple b(1, 'a'); 89 const FooTuple c(1, 'b'); 97 typedef tuple<int&, const char&> FooTuple; typedef 101 const FooTuple a(i, ch); 104 const FooTuple b(j, ch); 111 const FooTuple c(j, ch2);
|