Home
last modified time | relevance | path

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

123

/third_party/googletest/googletest/src/
Dgtest-internal-inl.h80 GTEST_API_ extern const TypeId kTestTypeIdInGoogleTest;
107 GTEST_API_ extern bool g_help_flag;
110 GTEST_API_ TimeInMillis GetTimeInMillis();
113 GTEST_API_ bool ShouldUseColor(bool stdout_is_tty);
116 GTEST_API_ std::string FormatTimeInMillisAsSeconds(TimeInMillis ms);
122 GTEST_API_ std::string FormatEpochTimeInMillisAsIso8601(TimeInMillis ms);
128 GTEST_API_ bool ParseInt32Flag(
239 GTEST_API_ std::string CodePointToUtf8(uint32_t code_point);
254 GTEST_API_ std::string WideStringToUtf8(const wchar_t* str, int num_chars);
268 GTEST_API_ bool ShouldShard(const char* total_shards_str,
[all …]
/third_party/mesa3d/src/gtest/src/
Dgtest-internal-inl.h79 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_ std::string CodePointToUtf8(UInt32 code_point);
245 GTEST_API_ std::string WideStringToUtf8(const wchar_t* str, int num_chars);
259 GTEST_API_ bool ShouldShard(const char* total_shards_str,
[all …]
/third_party/googletest/googlemock/include/gmock/internal/
Dgmock-port.h72 # define GMOCK_DECLARE_bool_(name) extern GTEST_API_ bool GMOCK_FLAG(name)
73 # define GMOCK_DECLARE_int32_(name) extern GTEST_API_ int32_t GMOCK_FLAG(name)
75 extern GTEST_API_ ::std::string GMOCK_FLAG(name)
79 GTEST_API_ bool GMOCK_FLAG(name) = (default_val)
81 GTEST_API_ int32_t GMOCK_FLAG(name) = (default_val)
83 GTEST_API_ ::std::string GMOCK_FLAG(name) = (default_val)
Dgmock-internal-utils.h66 GTEST_API_ std::string JoinAsTuple(const Strings& fields);
72 GTEST_API_ std::string ConvertIdentifierNameToWords(const char* id_name);
208 GTEST_API_ FailureReporterInterface* GetFailureReporter();
256 GTEST_API_ bool LogIsVisible(LogSeverity severity);
265 GTEST_API_ void Log(LogSeverity severity, const std::string& message,
277 friend GTEST_API_ WithoutMatchers GetWithoutMatchers();
281 GTEST_API_ WithoutMatchers GetWithoutMatchers();
402 GTEST_API_ void IllegalDoDefault(const char* file, int line);
/third_party/googletest/googlemock/include/gmock/
Dgmock-cardinalities.h89 class GTEST_API_ Cardinality {
134 GTEST_API_ Cardinality AtLeast(int n);
137 GTEST_API_ Cardinality AtMost(int n);
140 GTEST_API_ Cardinality AnyNumber();
143 GTEST_API_ Cardinality Between(int min, int max);
146 GTEST_API_ Cardinality Exactly(int n);
Dgmock.h86 GTEST_API_ void InitGoogleMock(int* argc, char** argv);
90 GTEST_API_ void InitGoogleMock(int* argc, wchar_t** argv);
94 GTEST_API_ void InitGoogleMock();
/third_party/googletest/googlemock/src/
Dgmock-internal-utils.cc51 GTEST_API_ std::string JoinAsTuple(const Strings& fields) { in JoinAsTuple()
72 GTEST_API_ std::string ConvertIdentifierNameToWords(const char* id_name) { in ConvertIdentifierNameToWords()
112 GTEST_API_ FailureReporterInterface* GetFailureReporter() { in GetFailureReporter()
128 GTEST_API_ bool LogIsVisible(LogSeverity severity) { in LogIsVisible()
149 GTEST_API_ void Log(LogSeverity severity, const std::string& message, in Log()
187 GTEST_API_ WithoutMatchers GetWithoutMatchers() { return WithoutMatchers(); } in GetWithoutMatchers()
189 GTEST_API_ void IllegalDoDefault(const char* file, int line) { in IllegalDoDefault()
Dgmock-cardinalities.cc139 GTEST_API_ Cardinality AtLeast(int n) { return Between(n, INT_MAX); } in AtLeast()
142 GTEST_API_ Cardinality AtMost(int n) { return Between(0, n); } in AtMost()
145 GTEST_API_ Cardinality AnyNumber() { return AtLeast(0); } in AnyNumber()
148 GTEST_API_ Cardinality Between(int min, int max) { in Between()
153 GTEST_API_ Cardinality Exactly(int n) { return Between(n, n); } in Exactly()
Dgmock.cc191 GTEST_API_ void InitGoogleMock(int* argc, char** argv) { in InitGoogleMock()
197 GTEST_API_ void InitGoogleMock(int* argc, wchar_t** argv) { in InitGoogleMock()
203 GTEST_API_ void InitGoogleMock() { in InitGoogleMock()
Dgmock_main.cc61 GTEST_API_ int _tmain(int argc, TCHAR** argv) {
63 GTEST_API_ int main(int argc, char** argv) {
/third_party/mesa3d/src/gtest/include/gtest/internal/
Dgtest-port.h742 #ifndef GTEST_API_
746 # define GTEST_API_ __declspec(dllimport) macro
748 # define GTEST_API_ __declspec(dllexport) macro
751 # define GTEST_API_ __attribute__((visibility ("default"))) macro
756 #ifndef GTEST_API_
757 # define GTEST_API_ macro
864 GTEST_API_ bool IsTrue(bool condition);
874 class GTEST_API_ RE {
926 GTEST_API_ ::std::string FormatFileLocation(const char* file, int line);
931 GTEST_API_ ::std::string FormatCompilerIndependentFileLocation(const char* file,
[all …]
Dgtest-internal.h107 GTEST_API_ extern const char kStackTraceMarker[];
127 GTEST_API_ std::string AppendUserMessage(
141 class GTEST_API_ GoogleTestFailureException : public ::std::runtime_error {
157 GTEST_API_ std::vector<EditType> CalculateOptimalEdits( in GTEST_DISABLE_MSC_WARNINGS_POP_()
161 GTEST_API_ std::vector<EditType> CalculateOptimalEdits( in GTEST_DISABLE_MSC_WARNINGS_POP_()
166 GTEST_API_ std::string CreateUnifiedDiff(const std::vector<std::string>& left, in GTEST_DISABLE_MSC_WARNINGS_POP_()
176 GTEST_API_ std::string DiffStrings(const std::string& left,
195 GTEST_API_ AssertionResult EqFailure(const char* expected_expression,
202 GTEST_API_ std::string GetBoolAssertionFailureMessage(
436 GTEST_API_ TypeId GetTestTypeId();
[all …]
Dgtest-string.h58 class GTEST_API_ String {
166 GTEST_API_ std::string StringStreamToString(::std::stringstream* stream);
/third_party/mesa3d/src/gtest/include/gtest/
Dgtest.h275 class GTEST_API_ AssertionResult {
361 GTEST_API_ AssertionResult AssertionSuccess();
364 GTEST_API_ AssertionResult AssertionFailure();
368 GTEST_API_ AssertionResult AssertionFailure(const Message& msg);
402 class GTEST_API_ Test {
562 class GTEST_API_ TestResult {
695 class GTEST_API_ TestInfo {
830 class GTEST_API_ TestSuite {
1065 class GTEST_API_ AssertionException
1170 class GTEST_API_ TestEventListeners {
[all …]
Dgtest-test-part.h49 class GTEST_API_ TestPartResult {
129 class GTEST_API_ TestPartResultArray {
149 class GTEST_API_ TestPartResultReporterInterface {
164 class GTEST_API_ HasNewFatalFailureHelper
Dgtest-death-test.h61 GTEST_API_ bool InDeathTestChild();
190 class GTEST_API_ ExitedWithCode {
205 class GTEST_API_ KilledBySignal {
Dgtest-printers.h128 GTEST_API_ void PrintBytesInObjectTo(const unsigned char* obj_bytes,
521 GTEST_API_ void PrintTo(unsigned char c, ::std::ostream* os);
522 GTEST_API_ void PrintTo(signed char c, ::std::ostream* os);
542 GTEST_API_ void PrintTo(wchar_t wc, ::std::ostream* os);
545 GTEST_API_ void PrintTo(const char* s, ::std::ostream* os);
572 GTEST_API_ void PrintTo(const wchar_t* s, ::std::ostream* os);
593 GTEST_API_ void PrintStringTo(const ::std::string&s, ::std::ostream* os);
600 GTEST_API_ void PrintWideStringTo(const ::std::wstring&s, ::std::ostream* os);
751 GTEST_API_ void UniversalPrintArray(
755 GTEST_API_ void UniversalPrintArray(
/third_party/googletest/googletest/include/gtest/internal/
Dgtest-port.h764 #ifndef GTEST_API_
768 # define GTEST_API_ __declspec(dllimport) macro
770 # define GTEST_API_ __declspec(dllexport) macro
773 # define GTEST_API_ __attribute__((visibility ("default"))) macro
778 #ifndef GTEST_API_
779 # define GTEST_API_ macro
883 GTEST_API_ bool IsTrue(bool condition);
893 class GTEST_API_ RE {
943 GTEST_API_ ::std::string FormatFileLocation(const char* file, int line);
948 GTEST_API_ ::std::string FormatCompilerIndependentFileLocation(const char* file,
[all …]
Dgtest-internal.h119 GTEST_API_ extern const char kStackTraceMarker[];
139 GTEST_API_ std::string AppendUserMessage(
153 class GTEST_API_ GoogleTestFailureException : public ::std::runtime_error {
169 GTEST_API_ std::vector<EditType> CalculateOptimalEdits( in GTEST_DISABLE_MSC_WARNINGS_POP_()
173 GTEST_API_ std::vector<EditType> CalculateOptimalEdits( in GTEST_DISABLE_MSC_WARNINGS_POP_()
178 GTEST_API_ std::string CreateUnifiedDiff(const std::vector<std::string>& left, in GTEST_DISABLE_MSC_WARNINGS_POP_()
188 GTEST_API_ std::string DiffStrings(const std::string& left,
207 GTEST_API_ AssertionResult EqFailure(const char* expected_expression,
214 GTEST_API_ std::string GetBoolAssertionFailureMessage(
448 GTEST_API_ TypeId GetTestTypeId();
[all …]
Dgtest-string.h59 class GTEST_API_ String {
170 GTEST_API_ std::string StringStreamToString(::std::stringstream* stream);
/third_party/googletest/googletest/include/gtest/
Dgtest.h287 class GTEST_API_ AssertionResult {
377 GTEST_API_ AssertionResult AssertionSuccess();
380 GTEST_API_ AssertionResult AssertionFailure();
384 GTEST_API_ AssertionResult AssertionFailure(const Message& msg);
418 class GTEST_API_ Test {
575 class GTEST_API_ TestResult {
708 class GTEST_API_ TestInfo {
846 class GTEST_API_ TestSuite {
1086 class GTEST_API_ AssertionException
1191 class GTEST_API_ TestEventListeners {
[all …]
Dgtest-printers.h263 GTEST_API_ void PrintBytesInObjectTo(const unsigned char* obj_bytes,
449 GTEST_API_ void PrintTo(unsigned char c, ::std::ostream* os);
450 GTEST_API_ void PrintTo(signed char c, ::std::ostream* os);
470 GTEST_API_ void PrintTo(wchar_t wc, ::std::ostream* os);
472 GTEST_API_ void PrintTo(char32_t c, ::std::ostream* os);
483 GTEST_API_ void PrintTo(const char* s, ::std::ostream* os);
504 GTEST_API_ void PrintTo(const char8_t* s, ::std::ostream* os);
510 GTEST_API_ void PrintTo(const char16_t* s, ::std::ostream* os);
515 GTEST_API_ void PrintTo(const char32_t* s, ::std::ostream* os);
527 GTEST_API_ void PrintTo(const wchar_t* s, ::std::ostream* os);
[all …]
Dgtest-test-part.h49 class GTEST_API_ TestPartResult {
129 class GTEST_API_ TestPartResultArray {
149 class GTEST_API_ TestPartResultReporterInterface {
164 class GTEST_API_ HasNewFatalFailureHelper
Dgtest-death-test.h61 GTEST_API_ bool InDeathTestChild();
194 class GTEST_API_ ExitedWithCode {
208 class GTEST_API_ KilledBySignal {
/third_party/cef/tools/distrib/gtest/
Dgtest.h1018 #ifndef GTEST_API_
1022 # define GTEST_API_ __declspec(dllimport) macro
1024 # define GTEST_API_ __declspec(dllexport) macro
1027 # define GTEST_API_ __attribute__((visibility ("default"))) macro
1032 #ifndef GTEST_API_
1033 # define GTEST_API_ macro
1137 GTEST_API_ bool IsTrue(bool condition);
1147 class GTEST_API_ RE {
1197 GTEST_API_ ::std::string FormatFileLocation(const char* file, int line);
1202 GTEST_API_ ::std::string FormatCompilerIndependentFileLocation(const char* file,
[all …]

123