Home
last modified time | relevance | path

Searched refs:GTEST_API_ (Results 1 – 25 of 96) sorted by relevance

1234

/external/google-breakpad/src/testing/gtest/src/
Dgtest-internal-inl.h81 GTEST_API_ extern const TypeId kTestTypeIdInGoogleTest;
104 GTEST_API_ extern bool g_help_flag;
107 GTEST_API_ TimeInMillis GetTimeInMillis();
110 GTEST_API_ bool ShouldUseColor(bool stdout_is_tty);
113 GTEST_API_ std::string FormatTimeInMillisAsSeconds(TimeInMillis ms);
119 GTEST_API_ std::string FormatEpochTimeInMillisAsIso8601(TimeInMillis ms);
125 GTEST_API_ bool ParseInt32Flag(
230 GTEST_API_ char* CodePointToUtf8(UInt32 code_point, char* str);
245 GTEST_API_ String WideStringToUtf8(const wchar_t* str, int num_chars);
259 GTEST_API_ bool ShouldShard(const char* total_shards_str,
[all …]
/external/llvm/utils/unittest/googletest/src/
Dgtest-internal-inl.h81 GTEST_API_ extern const TypeId kTestTypeIdInGoogleTest;
104 GTEST_API_ extern bool g_help_flag;
107 GTEST_API_ TimeInMillis GetTimeInMillis();
110 GTEST_API_ bool ShouldUseColor(bool stdout_is_tty);
113 GTEST_API_ std::string FormatTimeInMillisAsSeconds(TimeInMillis ms);
119 GTEST_API_ bool ParseInt32Flag(
222 GTEST_API_ char* CodePointToUtf8(UInt32 code_point, char* str);
237 GTEST_API_ String WideStringToUtf8(const wchar_t* str, int num_chars);
251 GTEST_API_ bool ShouldShard(const char* total_shards_str,
258 GTEST_API_ Int32 Int32FromEnvOrDie(const char* env_var, Int32 default_val);
[all …]
/external/mesa3d/src/gtest/src/
Dgtest-internal-inl.h81 GTEST_API_ extern const TypeId kTestTypeIdInGoogleTest;
104 GTEST_API_ extern bool g_help_flag;
107 GTEST_API_ TimeInMillis GetTimeInMillis();
110 GTEST_API_ bool ShouldUseColor(bool stdout_is_tty);
113 GTEST_API_ std::string FormatTimeInMillisAsSeconds(TimeInMillis ms);
119 GTEST_API_ bool ParseInt32Flag(
223 GTEST_API_ char* CodePointToUtf8(UInt32 code_point, char* str);
238 GTEST_API_ String WideStringToUtf8(const wchar_t* str, int num_chars);
252 GTEST_API_ bool ShouldShard(const char* total_shards_str,
259 GTEST_API_ Int32 Int32FromEnvOrDie(const char* env_var, Int32 default_val);
[all …]
/external/protobuf/gtest/src/
Dgtest-internal-inl.h81 GTEST_API_ extern const TypeId kTestTypeIdInGoogleTest;
103 GTEST_API_ extern bool g_help_flag;
106 GTEST_API_ TimeInMillis GetTimeInMillis();
109 GTEST_API_ bool ShouldUseColor(bool stdout_is_tty);
112 GTEST_API_ std::string FormatTimeInMillisAsSeconds(TimeInMillis ms);
118 GTEST_API_ bool ParseInt32Flag(
219 GTEST_API_ char* CodePointToUtf8(UInt32 code_point, char* str);
234 GTEST_API_ String WideStringToUtf8(const wchar_t* str, int num_chars);
248 GTEST_API_ bool ShouldShard(const char* total_shards_str,
255 GTEST_API_ Int32 Int32FromEnvOrDie(const char* env_var, Int32 default_val);
[all …]
/external/gtest/src/
Dgtest-internal-inl.h86 GTEST_API_ extern const TypeId kTestTypeIdInGoogleTest;
109 GTEST_API_ extern bool g_help_flag;
112 GTEST_API_ TimeInMillis GetTimeInMillis();
115 GTEST_API_ bool ShouldUseColor(bool stdout_is_tty);
118 GTEST_API_ std::string FormatTimeInMillisAsSeconds(TimeInMillis ms);
124 GTEST_API_ std::string FormatEpochTimeInMillisAsIso8601(TimeInMillis ms);
130 GTEST_API_ bool ParseInt32Flag(
232 GTEST_API_ std::string CodePointToUtf8(UInt32 code_point);
247 GTEST_API_ std::string WideStringToUtf8(const wchar_t* str, int num_chars);
261 GTEST_API_ bool ShouldShard(const char* total_shards_str,
[all …]
/external/google-breakpad/src/testing/include/gmock/internal/
Dgmock-port.h64 #define GMOCK_DECLARE_bool_(name) extern GTEST_API_ bool GMOCK_FLAG(name)
66 extern GTEST_API_ ::testing::internal::Int32 GMOCK_FLAG(name)
68 extern GTEST_API_ ::testing::internal::String GMOCK_FLAG(name)
72 GTEST_API_ bool GMOCK_FLAG(name) = (default_val)
74 GTEST_API_ ::testing::internal::Int32 GMOCK_FLAG(name) = (default_val)
76 GTEST_API_ ::testing::internal::String GMOCK_FLAG(name) = (default_val)
/external/protobuf/gtest/include/gtest/
Dgtest.h254 class GTEST_API_ AssertionResult {
309 GTEST_API_ AssertionResult AssertionSuccess();
312 GTEST_API_ AssertionResult AssertionFailure();
316 GTEST_API_ AssertionResult AssertionFailure(const Message& msg);
341 class GTEST_API_ Test {
489 class GTEST_API_ TestResult {
607 class GTEST_API_ TestInfo {
689 class GTEST_API_ TestCase {
927 class GTEST_API_ TestEventListeners {
1014 class GTEST_API_ UnitTest {
[all …]
/external/google-breakpad/src/testing/include/gmock/
Dgmock-cardinalities.h83 class GTEST_API_ Cardinality {
126 GTEST_API_ Cardinality AtLeast(int n);
129 GTEST_API_ Cardinality AtMost(int n);
132 GTEST_API_ Cardinality AnyNumber();
135 GTEST_API_ Cardinality Between(int min, int max);
138 GTEST_API_ Cardinality Exactly(int n);
/external/mesa3d/src/gtest/include/gtest/
Dgtest.h265 class GTEST_API_ AssertionResult {
324 GTEST_API_ AssertionResult AssertionSuccess();
327 GTEST_API_ AssertionResult AssertionFailure();
331 GTEST_API_ AssertionResult AssertionFailure(const Message& msg);
356 class GTEST_API_ Test {
508 class GTEST_API_ TestResult {
625 class GTEST_API_ TestInfo {
740 class GTEST_API_ TestCase {
1002 class GTEST_API_ TestEventListeners {
1089 class GTEST_API_ UnitTest {
[all …]
/external/llvm/utils/unittest/googletest/include/gtest/
Dgtest.h265 class GTEST_API_ AssertionResult {
324 GTEST_API_ AssertionResult AssertionSuccess();
327 GTEST_API_ AssertionResult AssertionFailure();
331 GTEST_API_ AssertionResult AssertionFailure(const Message& msg);
356 class GTEST_API_ Test {
508 class GTEST_API_ TestResult {
625 class GTEST_API_ TestInfo {
740 class GTEST_API_ TestCase {
1004 class GTEST_API_ TestEventListeners {
1091 class GTEST_API_ UnitTest {
[all …]
/external/google-breakpad/src/testing/gtest/include/gtest/
Dgtest.h266 class GTEST_API_ AssertionResult {
325 GTEST_API_ AssertionResult AssertionSuccess();
328 GTEST_API_ AssertionResult AssertionFailure();
332 GTEST_API_ AssertionResult AssertionFailure(const Message& msg);
357 class GTEST_API_ Test {
509 class GTEST_API_ TestResult {
626 class GTEST_API_ TestInfo {
740 class GTEST_API_ TestCase {
1002 class GTEST_API_ TestEventListeners {
1089 class GTEST_API_ UnitTest {
[all …]
Dgtest-printers.h114 GTEST_API_ void PrintBytesInObjectTo(const unsigned char* obj_bytes,
384 GTEST_API_ void PrintTo(unsigned char c, ::std::ostream* os);
385 GTEST_API_ void PrintTo(signed char c, ::std::ostream* os);
405 GTEST_API_ void PrintTo(wchar_t wc, ::std::ostream* os);
408 GTEST_API_ void PrintTo(const char* s, ::std::ostream* os);
435 GTEST_API_ void PrintTo(const wchar_t* s, ::std::ostream* os);
457 GTEST_API_ void PrintStringTo(const ::string&s, ::std::ostream* os);
463 GTEST_API_ void PrintStringTo(const ::std::string&s, ::std::ostream* os);
470 GTEST_API_ void PrintWideStringTo(const ::wstring&s, ::std::ostream* os);
477 GTEST_API_ void PrintWideStringTo(const ::std::wstring&s, ::std::ostream* os);
[all …]
/external/gtest/include/gtest/
Dgtest.h256 class GTEST_API_ AssertionResult {
315 GTEST_API_ AssertionResult AssertionSuccess();
318 GTEST_API_ AssertionResult AssertionFailure();
322 GTEST_API_ AssertionResult AssertionFailure(const Message& msg);
347 class GTEST_API_ Test {
500 class GTEST_API_ TestResult {
621 class GTEST_API_ TestInfo {
746 class GTEST_API_ TestCase {
1032 class GTEST_API_ TestEventListeners {
1119 class GTEST_API_ UnitTest {
[all …]
/external/protobuf/gtest/include/gtest/internal/
Dgtest-internal.h123 GTEST_API_ extern const char kStackTraceMarker[];
160 GTEST_API_ String AppendUserMessage(const String& gtest_msg,
164 class GTEST_API_ ScopedTrace {
243 GTEST_API_ String FormatForFailureMessage(char ch);
244 GTEST_API_ String FormatForFailureMessage(wchar_t wchar);
290 GTEST_API_ AssertionResult EqFailure(const char* expected_expression,
297 GTEST_API_ String GetBoolAssertionFailureMessage(
521 GTEST_API_ TypeId GetTestTypeId();
554 GTEST_API_ AssertionResult IsHRESULTSuccess(const char* expr,
556 GTEST_API_ AssertionResult IsHRESULTFailure(const char* expr,
[all …]
Dgtest-port.h593 #define GTEST_API_ __declspec(dllimport) macro
595 #define GTEST_API_ __declspec(dllexport) macro
600 #ifndef GTEST_API_
601 #define GTEST_API_ macro
616 GTEST_API_ bool IsTrue(bool condition);
658 class GTEST_API_ RE {
738 class GTEST_API_ GTestLog {
816 GTEST_API_ void CaptureStdout();
817 GTEST_API_ String GetCapturedStdout();
818 GTEST_API_ void CaptureStderr();
[all …]
/external/mesa3d/src/gtest/include/gtest/internal/
Dgtest-port.h654 # define GTEST_API_ __declspec(dllimport) macro
656 # define GTEST_API_ __declspec(dllexport) macro
661 #ifndef GTEST_API_
662 # define GTEST_API_ macro
767 GTEST_API_ bool IsTrue(bool condition);
809 class GTEST_API_ RE {
884 GTEST_API_ ::std::string FormatFileLocation(const char* file, int line);
889 GTEST_API_ ::std::string FormatCompilerIndependentFileLocation(const char* file,
908 class GTEST_API_ GTestLog {
1046 GTEST_API_ void CaptureStdout();
[all …]
Dgtest-internal.h129 GTEST_API_ extern const char kStackTraceMarker[];
166 GTEST_API_ String AppendUserMessage(const String& gtest_msg,
170 class GTEST_API_ ScopedTrace {
274 GTEST_API_ AssertionResult EqFailure(const char* expected_expression,
281 GTEST_API_ String GetBoolAssertionFailureMessage(
505 GTEST_API_ TypeId GetTestTypeId();
538 GTEST_API_ AssertionResult IsHRESULTSuccess(const char* expr,
540 GTEST_API_ AssertionResult IsHRESULTFailure(const char* expr,
566 GTEST_API_ TestInfo* MakeAndRegisterTestInfo(
578 GTEST_API_ bool SkipPrefix(const char* prefix, const char** pstr);
[all …]
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-port.h664 # define GTEST_API_ __declspec(dllimport) macro
666 # define GTEST_API_ __declspec(dllexport) macro
671 #ifndef GTEST_API_
672 # define GTEST_API_ macro
777 GTEST_API_ bool IsTrue(bool condition);
819 class GTEST_API_ RE {
894 GTEST_API_ ::std::string FormatFileLocation(const char* file, int line);
899 GTEST_API_ ::std::string FormatCompilerIndependentFileLocation(const char* file,
918 class GTEST_API_ GTestLog {
1056 GTEST_API_ void CaptureStdout();
[all …]
Dgtest-internal.h158 GTEST_API_ extern const char kStackTraceMarker[];
195 GTEST_API_ String AppendUserMessage(const String& gtest_msg,
199 class GTEST_API_ ScopedTrace {
303 GTEST_API_ AssertionResult EqFailure(const char* expected_expression,
310 GTEST_API_ String GetBoolAssertionFailureMessage(
534 GTEST_API_ TypeId GetTestTypeId();
567 GTEST_API_ AssertionResult IsHRESULTSuccess(const char* expr,
569 GTEST_API_ AssertionResult IsHRESULTFailure(const char* expr,
595 GTEST_API_ TestInfo* MakeAndRegisterTestInfo(
607 GTEST_API_ bool SkipPrefix(const char* prefix, const char** pstr);
[all …]
/external/google-breakpad/src/testing/src/
Dgmock-cardinalities.cc140 GTEST_API_ Cardinality AtLeast(int n) { return Between(n, INT_MAX); } in AtLeast()
143 GTEST_API_ Cardinality AtMost(int n) { return Between(0, n); } in AtMost()
146 GTEST_API_ Cardinality AnyNumber() { return AtLeast(0); } in AnyNumber()
149 GTEST_API_ Cardinality Between(int min, int max) { in Between()
154 GTEST_API_ Cardinality Exactly(int n) { return Between(n, n); } in Exactly()
Dgmock-internal-utils.cc54 GTEST_API_ string ConvertIdentifierNameToWords(const char* id_name) { in ConvertIdentifierNameToWords()
94 GTEST_API_ FailureReporterInterface* GetFailureReporter() { in GetFailureReporter()
110 GTEST_API_ bool LogIsVisible(LogSeverity severity) { in LogIsVisible()
131 GTEST_API_ void Log(LogSeverity severity, in Log()
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
Dgtest-port.h670 # define GTEST_API_ __declspec(dllimport) macro
672 # define GTEST_API_ __declspec(dllexport) macro
677 #ifndef GTEST_API_
678 # define GTEST_API_ macro
790 GTEST_API_ bool IsTrue(bool condition);
833 class GTEST_API_ RE {
908 GTEST_API_ ::std::string FormatFileLocation(const char* file, int line);
913 GTEST_API_ ::std::string FormatCompilerIndependentFileLocation(const char* file,
932 class GTEST_API_ GTestLog {
1070 GTEST_API_ void CaptureStdout();
[all …]
Dgtest-internal.h125 GTEST_API_ extern int g_init_gtest_count;
129 GTEST_API_ extern const char kStackTraceMarker[];
166 GTEST_API_ String AppendUserMessage(const String& gtest_msg,
170 class GTEST_API_ ScopedTrace {
274 GTEST_API_ AssertionResult EqFailure(const char* expected_expression,
281 GTEST_API_ String GetBoolAssertionFailureMessage(
505 GTEST_API_ TypeId GetTestTypeId();
538 GTEST_API_ AssertionResult IsHRESULTSuccess(const char* expr,
540 GTEST_API_ AssertionResult IsHRESULTFailure(const char* expr,
566 GTEST_API_ TestInfo* MakeAndRegisterTestInfo(
[all …]
/external/gtest/include/gtest/internal/
Dgtest-port.h760 # define GTEST_API_ __declspec(dllimport) macro
762 # define GTEST_API_ __declspec(dllexport) macro
767 #ifndef GTEST_API_
768 # define GTEST_API_ macro
883 GTEST_API_ bool IsTrue(bool condition);
926 class GTEST_API_ RE {
1000 GTEST_API_ ::std::string FormatFileLocation(const char* file, int line);
1005 GTEST_API_ ::std::string FormatCompilerIndependentFileLocation(const char* file,
1024 class GTEST_API_ GTestLog {
1162 GTEST_API_ void CaptureStdout();
[all …]
Dgtest-internal.h101 GTEST_API_ extern int g_init_gtest_count;
105 GTEST_API_ extern const char kStackTraceMarker[];
137 GTEST_API_ std::string AppendUserMessage(
148 class GTEST_API_ GoogleTestFailureException : public ::std::runtime_error {
156 class GTEST_API_ ScopedTrace {
189 GTEST_API_ AssertionResult EqFailure(const char* expected_expression,
196 GTEST_API_ std::string GetBoolAssertionFailureMessage(
430 GTEST_API_ TypeId GetTestTypeId();
463 GTEST_API_ AssertionResult IsHRESULTSuccess(const char* expr,
465 GTEST_API_ AssertionResult IsHRESULTFailure(const char* expr,
[all …]

1234