Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/src/
H A 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 …]
H A Dgtest-port.cc1018 GTEST_API_ ::std::string FormatFileLocation(const char* file, int line) { in FormatFileLocation()
1036 GTEST_API_ ::std::string FormatCompilerIndependentFileLocation( in FormatCompilerIndependentFileLocation()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/internal/
H A Dgmock-port.h73 # define GMOCK_DECLARE_bool_(name) extern GTEST_API_ bool GMOCK_FLAG(name)
75 extern GTEST_API_ ::testing::internal::Int32 GMOCK_FLAG(name)
77 extern GTEST_API_ ::std::string GMOCK_FLAG(name)
81 GTEST_API_ bool GMOCK_FLAG(name) = (default_val)
83 GTEST_API_ ::testing::internal::Int32 GMOCK_FLAG(name) = (default_val)
85 GTEST_API_ ::std::string GMOCK_FLAG(name) = (default_val)
H A Dgmock-internal-utils.h68 GTEST_API_ std::string JoinAsTuple(const Strings& fields);
74 GTEST_API_ std::string ConvertIdentifierNameToWords(const char* id_name);
264 GTEST_API_ FailureReporterInterface* GetFailureReporter();
312 GTEST_API_ bool LogIsVisible(LogSeverity severity);
321 GTEST_API_ void Log(LogSeverity severity, const std::string& message,
333 friend GTEST_API_ WithoutMatchers GetWithoutMatchers();
337 GTEST_API_ WithoutMatchers GetWithoutMatchers();
459 GTEST_API_ void IllegalDoDefault(const char* file, int line);
/netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/
H A 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 …]
H A 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 …]
H A Dgtest-string.h58 class GTEST_API_ String {
166 GTEST_API_ std::string StringStreamToString(::std::stringstream* stream);
H A Dgtest-death-test-internal.h73 class GTEST_API_ DeathTest {
163 GTEST_API_ bool ExitedUnsuccessfully(int exit_status);
H A Dgtest-filepath.h62 class GTEST_API_ FilePath {
H A Dgtest-param-util.h82 GTEST_API_ void ReportInvalidTestSuiteType(const char* test_suite_name,
/netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/include/gtest/
H A 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 …]
H A Dgtest-test-part.h49 class GTEST_API_ TestPartResult {
129 class GTEST_API_ TestPartResultArray {
149 class GTEST_API_ TestPartResultReporterInterface {
164 class GTEST_API_ HasNewFatalFailureHelper
H A Dgtest-printers.h129 GTEST_API_ void PrintBytesInObjectTo(const unsigned char* obj_bytes,
522 GTEST_API_ void PrintTo(unsigned char c, ::std::ostream* os);
523 GTEST_API_ void PrintTo(signed char c, ::std::ostream* os);
543 GTEST_API_ void PrintTo(wchar_t wc, ::std::ostream* os);
546 GTEST_API_ void PrintTo(const char* s, ::std::ostream* os);
573 GTEST_API_ void PrintTo(const wchar_t* s, ::std::ostream* os);
594 GTEST_API_ void PrintStringTo(const ::std::string&s, ::std::ostream* os);
601 GTEST_API_ void PrintWideStringTo(const ::std::wstring&s, ::std::ostream* os);
752 GTEST_API_ void UniversalPrintArray(
756 GTEST_API_ void UniversalPrintArray(
H A Dgtest-death-test.h61 GTEST_API_ bool InDeathTestChild();
190 class GTEST_API_ ExitedWithCode {
205 class GTEST_API_ KilledBySignal {
H A Dgtest-spi.h55 class GTEST_API_ ScopedFakeTestPartResultReporter
101 class GTEST_API_ SingleFailureChecker {
H A Dgtest-matchers.h352 class GTEST_API_ Matcher<const std::string&>
369 class GTEST_API_ Matcher<std::string>
392 class GTEST_API_ Matcher<const absl::string_view&>
412 class GTEST_API_ Matcher<absl::string_view>
H A Dgtest-message.h91 class GTEST_API_ Message {
/netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googlemock/src/
H A 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()
H A 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()
H A 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()
H A Dgmock-matchers.cc52 GTEST_API_ std::string FormatMatcherDescription(bool negation, in FormatMatcherDescription()
228 GTEST_API_ ElementMatcherPairs FindMaxBipartiteMatching(const MatchMatrix& g) { in FindMaxBipartiteMatching()
H A Dgmock-spec-builders.cc66 GTEST_API_ GTEST_DEFINE_STATIC_MUTEX_(g_gmock_mutex);
69 GTEST_API_ void LogWithLocation(testing::internal::LogSeverity severity, in LogWithLocation()
275 GTEST_API_ ThreadLocal<Sequence*> g_gmock_implicit_sequence;
/netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/
H A Dgmock-cardinalities.h91 class GTEST_API_ Cardinality {
136 GTEST_API_ Cardinality AtLeast(int n);
139 GTEST_API_ Cardinality AtMost(int n);
142 GTEST_API_ Cardinality AnyNumber();
145 GTEST_API_ Cardinality Between(int min, int max);
148 GTEST_API_ Cardinality Exactly(int n);
H A Dgmock.h96 GTEST_API_ void InitGoogleMock(int* argc, char** argv);
100 GTEST_API_ void InitGoogleMock(int* argc, wchar_t** argv);
104 GTEST_API_ void InitGoogleMock();
H A Dgmock-spec-builders.h124 GTEST_API_ GTEST_DECLARE_STATIC_MUTEX_(g_gmock_mutex);
132 class GTEST_API_ UntypedFunctionMockerBase {
379 class GTEST_API_ Mock {
500 class GTEST_API_ Expectation {
632 class GTEST_API_ Sequence {
670 class GTEST_API_ InSequence {
684 GTEST_API_ extern ThreadLocal<Sequence*> g_gmock_implicit_sequence;
700 class GTEST_API_ ExpectationBase {
1248 GTEST_API_ void LogWithLocation(testing::internal::LogSeverity severity,

12