Searched full:foo* (Results 151 - 175 of 234) sorted by relevance

12345678910

/gem5/ext/googletest/googletest/include/gtest/
H A Dgtest-printers.h43 // 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 Dgtest-typed-test.h46 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 Dgtest.h238 // // 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 Dgtest-filepath.h103 // 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 Dgtest-internal.h71 // 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 Dgtest-linked_ptr.h233 // 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 Dgtest-param-util.h521 // parameter index. For the test SequenceA/FooTest.DoBar/1 FooTest is
H A Dgtest-port.h850 // 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 Dfuse_gtest_files.py201 # 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 Dgtest-config.in33 g++ $(gtest-config --cppflags --cxxflags) -o foo.o -c foo.cpp
34 g++ $(gtest-config --ldflags --libs) -o foo foo.o
H A Dpump.py43 pump.py foo.cc.pump
44 Converts foo.cc.pump to foo.cc.
H A Drelease_docs.py101 # 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 Dgtest-filepath.cc283 // 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 Dgtest-internal-inl.h618 // For example, if Foo() calls Bar(), which in turn calls
619 // CurrentOsStackTraceExceptTop(1), Foo() will be included in the
H A Dgtest-port.cc1132 // given flag. For example, FlagToEnvVar("foo") will return
H A Dgtest-printers.cc41 // 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 Dgtest.cc793 // 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 Dgtest-death-test_test.cc120 // 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 Dgtest-filepath_test.cc251 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 Dgtest-message_test.cc95 EXPECT_EQ("Foo", (Message() << "Foo").GetString());
H A Dgtest-param-test_test.cc464 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 Dgtest-port_test.cc271 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 Dgtest-printers_test.cc126 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 Dgtest-test-part_test.cc50 : 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 Dgtest-tuple_test.cc81 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);

Completed in 99 milliseconds

12345678910