Home
last modified time | relevance | path

Searched refs:GetString (Results 1 – 16 of 16) sorted by relevance

/ndk/sources/third_party/googletest/googletest/test/
Dgtest-message_test.cc47 EXPECT_EQ("", msg.GetString()); in TEST()
54 EXPECT_EQ("Hello", msg2.GetString()); in TEST()
60 EXPECT_EQ("Hello", msg.GetString()); in TEST()
65 const std::string s = (Message() << 1.23456F << " " << 2.34567F).GetString(); in TEST()
74 << 1260572265.1954534).GetString(); in TEST()
84 EXPECT_NE("(null)", (Message() << p).GetString()); in TEST()
90 EXPECT_EQ("(null)", (Message() << p).GetString()); in TEST()
95 EXPECT_EQ("Foo", (Message() << "Foo").GetString()); in TEST()
101 EXPECT_EQ("(null)", (Message() << p).GetString()); in TEST()
107 EXPECT_EQ("Hello", (Message() << str).GetString()); in TEST()
[all …]
Dgtest-listener_test.cc69 g_events->push_back(message.GetString()); in OnTestIterationStart()
113 g_events->push_back(message.GetString()); in OnTestIterationEnd()
Dgtest-test-part_test.cc67 message.GetString().c_str()); in TEST_F()
72 EXPECT_STREQ(message.GetString().c_str(), result.message()); in TEST_F()
Dgtest_stress_test.cc67 return key.GetString(); in IdToKey()
73 return id_message.GetString(); in IdToString()
Dgtest-linked_ptr_test.cc151 history->GetString().c_str()); in TEST_F()
Dgtest-param-test_test.cc278 return DogAdder(msg.GetString().c_str()); in operator +()
590 msg.GetString().c_str())) { in TearDown()
654 test_name.GetString())) { in SetUpTestCase()
805 EXPECT_STREQ(index_stream.GetString().c_str(), test_info->name()); in TEST_P()
Dgtest-death-test_test.cc1186 EXPECT_TRUE(ParseNaturalNumber(msg.GetString(), &result)); in TEST()
1193 EXPECT_TRUE(ParseNaturalNumber(msg2.GetString(), &signed_result)); in TEST()
1200 EXPECT_TRUE(ParseNaturalNumber(msg3.GetString(), &int_result)); in TEST()
1207 EXPECT_TRUE(ParseNaturalNumber(msg4.GetString(), &uint_result)); in TEST()
Dgtest_unittest.cc1648 (Message() << name << "=" << value).GetString()); in SetEnv()
1656 _putenv((Message() << name << "=" << value).GetString().c_str()); in SetEnv()
5061 EXPECT_STREQ("1(1)", msg.GetString().c_str()); in TEST()
5086 EXPECT_STREQ("1(1)", msg.GetString().c_str()); in TEST()
5111 EXPECT_STREQ("1(1)", msg.GetString().c_str()); in TEST()
5136 EXPECT_STREQ("1(1)", msg.GetString().c_str()); in TEST()
5151 msg.GetString().c_str()); in TEST()
5159 (Message() << const_wstr).GetString().c_str()); in TEST()
5164 (Message() << wstr).GetString().c_str()); in TEST()
5169 (Message() << const_wstr).GetString().c_str()); in TEST()
[all …]
/ndk/sources/third_party/googletest/googletest/include/gtest/
Dgtest-message.h97 *ss_ << msg.GetString(); in Message()
196 std::string GetString() const;
233 return os << sb.GetString();
244 return (Message() << streamable).GetString(); in StreamableToString()
Dgtest.h300 message_->append(a_message.GetString().c_str()); in AppendMessage()
/ndk/sources/third_party/googletest/googletest/src/
Dgtest-port.cc252 << " in simple regular expression \"" << regex << "\": ").GetString(); in FormatRegexSyntaxError()
711 (Message() << GTEST_FLAG_PREFIX_ << flag).GetString(); in FlagToEnvVar()
718 return env_var.GetString(); in FlagToEnvVar()
736 printf("%s", msg.GetString().c_str()); in ParseInt32()
753 printf("%s", msg.GetString().c_str()); in ParseInt32()
788 (Message() << default_value).GetString().c_str()); in Int32FromGTestEnv()
Dgtest-typed-test.cc96 const std::string& errors_str = errors.GetString(); in VerifyRegisteredTestNames()
Dgtest.cc931 std::string Message::GetString() const { in GetString() function in testing::Message
1020 return msg.GetString(); in GetBoolAssertionFailureMessage()
1666 const std::string user_msg_string = user_msg.GetString(); in AppendUserMessage()
1800 return word_list.GetString(); in FormatWordList()
1906 RecordProperty(key, value_message.GetString().c_str()); in RecordProperty()
2003 return new std::string(message.GetString()); in FormatSehExceptionMessage()
2023 return message.GetString(); in FormatCxxExceptionMessage()
2232 errors.GetString().c_str()); in ReportInvalidTestCaseType()
2500 << test_part_result.message()).GetString(); in PrintTestPartResultToString()
3153 return m.GetString(); in EscapeXml()
[all …]
Dgtest-death-test.cc203 return m.GetString(); in ExitSummary()
225 return msg.GetString(); in DeathTestThreadWarning()
325 GTEST_LOG_(FATAL) << error.GetString(); in FailFromInternalError()
575 DeathTest::set_last_death_test_message(buffer.GetString()); in Passed()
/ndk/sources/android/crazy_linker/src/
Dcrazy_linker_system_mock.cpp170 bool GetString(char* buffer, size_t buffer_size) { in GetString() function in __anonf4e4ae0c0111::MockFileHandle
/ndk/sources/third_party/googletest/googletest/include/gtest/internal/
Dgtest-param-util.h510 test_name_stream.GetString().c_str(), in RegisterTests()