Home
last modified time | relevance | path

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

12

/freebsd/contrib/googletest/googletest/src/
H A Dgtest-internal-inl.h81 GTEST_API_ extern const TypeId kTestTypeIdInGoogleTest;
88 GTEST_API_ extern bool g_help_flag;
91 GTEST_API_ TimeInMillis GetTimeInMillis();
94 GTEST_API_ bool ShouldUseColor(bool stdout_is_tty);
98 GTEST_API_ std::string FormatTimeInMillisAsSeconds(TimeInMillis ms);
104 GTEST_API_ std::string FormatEpochTimeInMillisAsIso8601(TimeInMillis ms);
110 GTEST_API_ bool ParseFlag(const char* str, const char* flag, int32_t* value);
226 GTEST_API_ std::string CodePointToUtf8(uint32_t code_point);
241 GTEST_API_ std::string WideStringToUtf8(const wchar_t* str, int num_chars);
255 GTEST_API_ bool ShouldShard(const char* total_shards_str,
[all …]
H A Dgtest_main.cc53 GTEST_API_ int main() { in main()
61 GTEST_API_ int main(int argc, char **argv) { in main()
/freebsd/contrib/googletest/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.h85 GTEST_API_ void InitGoogleMock(int* argc, char** argv);
89 GTEST_API_ void InitGoogleMock(int* argc, wchar_t** argv);
93 GTEST_API_ void InitGoogleMock();
H A Dgmock-spec-builders.h135 GTEST_API_ GTEST_DECLARE_STATIC_MUTEX_(g_gmock_mutex);
140 class GTEST_API_ UntypedFunctionMockerBase {
364 class GTEST_API_ Mock {
481 class GTEST_API_ Expectation {
615 class GTEST_API_ Sequence {
653 class GTEST_API_ InSequence {
669 GTEST_API_ extern ThreadLocal<Sequence*> g_gmock_implicit_sequence;
685 class GTEST_API_ ExpectationBase {
1277 GTEST_API_ void LogWithLocation(testing::internal::LogSeverity severity,
1389 GTEST_API_ void ReportUninterestingCall(CallReaction reaction,
/freebsd/contrib/googletest/googlemock/include/gmock/internal/
H A Dgmock-port.h103 GTEST_API_ bool GMOCK_FLAG(name) = (default_val); \
108 GTEST_API_ int32_t GMOCK_FLAG(name) = (default_val); \
113 GTEST_API_ ::std::string GMOCK_FLAG(name) = (default_val); \
120 GTEST_API_ extern bool GMOCK_FLAG(name); \
125 GTEST_API_ extern int32_t GMOCK_FLAG(name); \
130 GTEST_API_ extern ::std::string GMOCK_FLAG(name); \
H A Dgmock-internal-utils.h66 GTEST_API_ std::string JoinAsKeyValueTuple(
73 GTEST_API_ std::string ConvertIdentifierNameToWords(const char* id_name);
236 GTEST_API_ FailureReporterInterface* GetFailureReporter();
281 GTEST_API_ bool LogIsVisible(LogSeverity severity);
290 GTEST_API_ void Log(LogSeverity severity, const std::string& message,
302 friend GTEST_API_ WithoutMatchers GetWithoutMatchers();
306 GTEST_API_ WithoutMatchers GetWithoutMatchers();
421 GTEST_API_ void IllegalDoDefault(const char* file, int line);
/freebsd/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-port.h867 #ifndef GTEST_API_
871 #define GTEST_API_ __declspec(dllimport) macro
873 #define GTEST_API_ __declspec(dllexport) macro
876 #define GTEST_API_ __attribute__((visibility("default"))) macro
881 #ifndef GTEST_API_
882 #define GTEST_API_ macro
971 GTEST_API_ bool IsTrue(bool condition);
980 class GTEST_API_ RE {
1006 class GTEST_API_ RE {
1056 GTEST_API_ ::std::string FormatFileLocation(const char* file, int line);
[all …]
H A Dgtest-internal.h123 GTEST_API_ extern const char kStackTraceMarker[];
144 GTEST_API_ std::string AppendUserMessage(const std::string& gtest_msg,
158 class GTEST_API_ GoogleTestFailureException : public ::std::runtime_error {
174 GTEST_API_ std::vector<EditType> CalculateOptimalEdits( in GTEST_DISABLE_MSC_WARNINGS_POP_()
178 GTEST_API_ std::vector<EditType> CalculateOptimalEdits( in GTEST_DISABLE_MSC_WARNINGS_POP_()
183 GTEST_API_ std::string CreateUnifiedDiff(const std::vector<std::string>& left, in GTEST_DISABLE_MSC_WARNINGS_POP_()
204 GTEST_API_ AssertionResult EqFailure(const char* expected_expression,
211 GTEST_API_ std::string GetBoolAssertionFailureMessage(
431 GTEST_API_ TypeId GetTestTypeId();
465 GTEST_API_ AssertionResult IsHRESULTSuccess(const char* expr,
[all …]
H A Dgtest-string.h63 class GTEST_API_ String {
173 GTEST_API_ std::string StringStreamToString(::std::stringstream* stream);
H A Dgtest-death-test-internal.h99 class GTEST_API_ DeathTest {
192 GTEST_API_ bool ExitedUnsuccessfully(int exit_status);
H A Dgtest-filepath.h70 class GTEST_API_ FilePath {
/freebsd/contrib/googletest/googletest/include/gtest/
H A Dgtest.h242 class GTEST_API_ Test {
399 class GTEST_API_ TestResult {
533 class GTEST_API_ TestInfo {
672 class GTEST_API_ TestSuite {
914 class GTEST_API_ AssertionException
1022 class GTEST_API_ TestEventListeners {
1113 class GTEST_API_ UnitTest {
1358 GTEST_API_ void InitGoogleTest(int* argc, char** argv);
1362 GTEST_API_ void InitGoogleTest(int* argc, wchar_t** argv);
1366 GTEST_API_ void InitGoogleTest();
[all …]
H A Dgtest-printers.h306 GTEST_API_ void PrintBytesInObjectTo(const unsigned char* obj_bytes,
495 GTEST_API_ void PrintTo(unsigned char c, ::std::ostream* os);
496 GTEST_API_ void PrintTo(signed char c, ::std::ostream* os);
516 GTEST_API_ void PrintTo(wchar_t wc, ::std::ostream* os);
518 GTEST_API_ void PrintTo(char32_t c, ::std::ostream* os);
530 GTEST_API_ void PrintTo(__uint128_t v, ::std::ostream* os);
531 GTEST_API_ void PrintTo(__int128_t v, ::std::ostream* os);
630 GTEST_API_ void PrintTo(const char* s, ::std::ostream* os);
651 GTEST_API_ void PrintTo(const char8_t* s, ::std::ostream* os);
657 GTEST_API_ void PrintTo(const char16_t* s, ::std::ostream* os);
[all …]
H A Dgtest-assertion-result.h133 class GTEST_API_ AssertionResult {
224 GTEST_API_ AssertionResult AssertionSuccess();
227 GTEST_API_ AssertionResult AssertionFailure();
231 GTEST_API_ AssertionResult AssertionFailure(const Message& msg);
H A Dgtest-test-part.h54 class GTEST_API_ TestPartResult {
134 class GTEST_API_ TestPartResultArray {
155 class GTEST_API_ TestPartResultReporterInterface {
170 class GTEST_API_ HasNewFatalFailureHelper
H A Dgtest-death-test.h63 GTEST_API_ bool InDeathTestChild();
195 class GTEST_API_ ExitedWithCode {
209 class GTEST_API_ KilledBySignal {
H A Dgtest-spi.h54 class GTEST_API_ ScopedFakeTestPartResultReporter
103 class GTEST_API_ SingleFailureChecker {
H A Dgtest-matchers.h114 class GTEST_API_ MatcherDescriberInterface {
494 class GTEST_API_ Matcher<const std::string&>
516 class GTEST_API_ Matcher<std::string>
544 class GTEST_API_ Matcher<const internal::StringView&>
570 class GTEST_API_ Matcher<internal::StringView>
/freebsd/contrib/googletest/googlemock/src/
H A Dgmock-internal-utils.cc59 GTEST_API_ std::string JoinAsKeyValueTuple( in JoinAsKeyValueTuple()
81 GTEST_API_ std::string ConvertIdentifierNameToWords(const char* id_name) { in ConvertIdentifierNameToWords()
117 GTEST_API_ FailureReporterInterface* GetFailureReporter() { in GetFailureReporter()
133 GTEST_API_ bool LogIsVisible(LogSeverity severity) { in LogIsVisible()
154 GTEST_API_ void Log(LogSeverity severity, const std::string& message, in Log()
191 GTEST_API_ WithoutMatchers GetWithoutMatchers() { return WithoutMatchers(); } in GetWithoutMatchers()
193 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.cc203 GTEST_API_ void InitGoogleMock(int* argc, char** argv) { in InitGoogleMock()
209 GTEST_API_ void InitGoogleMock(int* argc, wchar_t** argv) { in InitGoogleMock()
215 GTEST_API_ void InitGoogleMock() { in InitGoogleMock()
H A Dgmock_main.cc62 GTEST_API_ int _tmain(int argc, TCHAR** argv) {
64 GTEST_API_ int main(int argc, char** argv) {
H A Dgmock-matchers.cc52 GTEST_API_ std::string FormatMatcherDescription( in FormatMatcherDescription()
228 GTEST_API_ ElementMatcherPairs FindMaxBipartiteMatching(const MatchMatrix& g) { in FindMaxBipartiteMatching()
/freebsd/contrib/googletest/googletest/include/gtest/internal/custom/
H A DREADME.md39 * `GTEST_API_` - Specifier for exported symbols.

12