Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dmonopoly/gtest-cmake-example
/ functions
Functions
2,764 in github.com/dmonopoly/gtest-cmake-example
⨍
Functions
2,764
◇
Types & classes
1,254
↓ 170 callers
Function
Print
lib/gtest-1.6.0/test/gtest-printers_test.cc:228
↓ 169 callers
Method
end
lib/gtest-1.6.0/fused-src/gtest/gtest.h:7741
↓ 162 callers
Method
begin
lib/gtest-1.6.0/fused-src/gtest/gtest.h:7740
↓ 161 callers
Function
EXPECT_FATAL_FAILURE
The c'tor sets this object as the test part result reporter used by Google Test. The 'result' parameter specifies where to report the results. This r
lib/gtest-1.6.0/include/gtest/gtest-spi.h:64
↓ 152 callers
Function
FilePath
lib/gtest-1.6.0/fused-src/gtest/gtest.h:3261
↓ 141 callers
Function
String
The default c'tor constructs a NULL string.
lib/gtest-1.6.0/fused-src/gtest/gtest.h:3042
↓ 111 callers
Method
begin
lib/gtest-1.6.0/include/gtest/internal/gtest-internal.h:1060
↓ 110 callers
Method
end
lib/gtest-1.6.0/include/gtest/internal/gtest-internal.h:1061
↓ 73 callers
Function
AtomMatchesChar
Returns true iff the given atom (specified by escaped and pattern) matches ch. The result is undefined if the atom is invalid.
lib/gtest-1.6.0/src/gtest-port.cc:203
↓ 72 callers
Method
size
Returns the number of TestPartResult objects in the array.
lib/gtest-1.6.0/src/gtest-test-part.cc:83
↓ 59 callers
Function
ValuesIn
lib/gtest-1.6.0/fused-src/gtest/gtest.h:15488
↓ 54 callers
Method
get
lib/gtest-1.6.0/fused-src/gtest/gtest.h:1845
↓ 51 callers
Function
SetEnv
Sets an environment variable with the given name to the given value. If the value argument is "", unsets the environment variable. The caller must e
lib/gtest-1.6.0/test/gtest_unittest.cc:1828
↓ 51 callers
Function
ValuesIn
lib/gtest-1.6.0/include/gtest/gtest-param-test.h:308
↓ 42 callers
Function
Values
lib/gtest-1.6.0/fused-src/gtest/gtest.h:15528
↓ 41 callers
Function
AssertionSuccess
Makes a successful assertion result.
lib/gtest-1.6.0/src/gtest.cc:966
↓ 36 callers
Function
AssertionFailure
Makes a failed assertion result.
lib/gtest-1.6.0/src/gtest.cc:971
↓ 36 callers
Method
IsPrime
lib/gtest-1.6.0/samples/prime_tables.h:58
↓ 35 callers
Method
join
Join an existing circle. L < g_linked_ptr_mutex
lib/gtest-1.6.0/fused-src/gtest/gtest.h:9063
↓ 33 callers
Function
GetUnitTestImpl
Convenience function for accessing the global UnitTest implementation object.
lib/gtest-1.6.0/src/gtest-internal-inl.h:905
↓ 33 callers
Function
UsesColor
Runs gtest_color_test_ and returns its exit code.
lib/gtest-1.6.0/test/gtest_color_test.py:56
↓ 33 callers
Method
size
Returns the number of TestPartResult objects in the array.
lib/gtest-1.6.0/fused-src/gtest/gtest-all.cc:8983
↓ 31 callers
Function
ShouldUseColor
Returns true iff Google Test should use colors in the output.
lib/gtest-1.6.0/src/gtest.cc:2585
↓ 29 callers
Function
WideStringToUtf8
Converts a wide string to a narrow string in UTF-8 encoding. The wide string is assumed to have the following encoding: UTF-16 if sizeof(wchar_t) == 2
lib/gtest-1.6.0/src/gtest.cc:1504
↓ 28 callers
Method
RunAndVerify
Checks that the binary runs correct set of tests for a given filter.
lib/gtest-1.6.0/test/gtest_filter_unittest.py:257
↓ 27 callers
Function
Iter
Given a positive integer n, a format string that contains 0 or more '%s' format specs, and optionally a separator string, returns the join of n st
lib/gtest-1.6.0/scripts/gen_gtest_pred_impl.py:189
↓ 27 callers
Function
c_str
Gets the 0-terminated C string this String object represents. The String object still owns the string. Therefore the caller should NOT delete the ret
lib/gtest-1.6.0/fused-src/gtest/gtest.h:3125
↓ 26 callers
Function
Pop
(token_type=None)
lib/gtest-1.6.0/scripts/pump.py:476
↓ 26 callers
Function
PrintPointer
Since ::std::stringstream::operator<<(const void *) formats the pointer output differently with different compilers, we have to create the expected ou
lib/gtest-1.6.0/test/gtest-printers_test.cc:375
↓ 25 callers
Function
MatchRegexAtHead
Returns true iff regex matches a prefix of str. regex must be a valid simple regular expression and not start with "^", or the result is undefined.
lib/gtest-1.6.0/src/gtest-port.cc:322
↓ 25 callers
Function
ValidateRegex
Generates non-fatal failures and returns false if regex is invalid; otherwise returns true.
lib/gtest-1.6.0/src/gtest-port.cc:232
↓ 25 callers
Function
make_tuple
lib/gtest-1.6.0/fused-src/gtest/gtest.h:1206
↓ 23 callers
Function
ColoredPrintf
Helpers for printing colored strings to stdout. Note that on Windows, we cannot simply emit special characters and have the terminal change colors. Th
lib/gtest-1.6.0/src/gtest.cc:2620
↓ 23 callers
Function
ColoredPrintf
Helpers for printing colored strings to stdout. Note that on Windows, we cannot simply emit special characters and have the terminal change colors. Th
lib/gtest-1.6.0/fused-src/gtest/gtest-all.cc:3924
↓ 23 callers
Function
IsPrime
Returns true iff n is a prime number.
lib/gtest-1.6.0/samples/sample1.cc:47
↓ 23 callers
Function
IsValidEscape
Returns true iff "\\c" is a supported escape sequence.
lib/gtest-1.6.0/src/gtest-port.cc:197
↓ 23 callers
Function
ParseNaturalNumber
lib/gtest-1.6.0/src/gtest-internal-inl.h:971
↓ 22 callers
Function
GetUnitTestImpl
Convenience function for accessing the global UnitTest implementation object.
lib/gtest-1.6.0/fused-src/gtest/gtest-all.cc:1303
↓ 22 callers
Function
InitGoogleTest
Initializes Google Test. This must be called before calling RUN_ALL_TESTS(). In particular, it parses a command line for the flags that Google Test
lib/gtest-1.6.0/src/gtest.cc:4888
↓ 22 callers
Function
IsNull
lib/gtest-1.6.0/test/gtest-unittest-api_test.cc:140
↓ 22 callers
Method
Set
Sets the 0-terminated C string this MyString object represents.
lib/gtest-1.6.0/samples/sample2.cc:51
↓ 22 callers
Method
value
lib/gtest-1.6.0/test/gtest_unittest.cc:3756
↓ 21 callers
Function
VerifyGenerator
lib/gtest-1.6.0/test/gtest-param-test_test.cc:130
↓ 19 callers
Function
AssertionSuccess
Makes a successful assertion result.
lib/gtest-1.6.0/fused-src/gtest/gtest-all.cc:2270
↓ 18 callers
Function
AlwaysFalse
Always returns false.
lib/gtest-1.6.0/fused-src/gtest/gtest.h:7414
↓ 18 callers
Method
Append
lib/gtest-1.6.0/src/gtest.cc:2937
↓ 18 callers
Method
GetNextPrime
lib/gtest-1.6.0/samples/prime_tables.h:69
↓ 18 callers
Function
impl
Accessors for the implementation object.
lib/gtest-1.6.0/fused-src/gtest/gtest.h:18229
↓ 18 callers
Function
impl
Accessors for the implementation object.
lib/gtest-1.6.0/include/gtest/gtest.h:1204
↓ 17 callers
Function
ShuffleRange
lib/gtest-1.6.0/src/gtest-internal-inl.h:302
↓ 17 callers
Function
StreamableToString
lib/gtest-1.6.0/include/gtest/gtest.h:172
↓ 17 callers
Method
key
Gets the user supplied key.
lib/gtest-1.6.0/include/gtest/gtest.h:481
↓ 16 callers
Function
ArrayEq
lib/gtest-1.6.0/fused-src/gtest/gtest.h:7637
↓ 16 callers
Function
AssertionFailure
Makes a failed assertion result.
lib/gtest-1.6.0/fused-src/gtest/gtest-all.cc:2275
↓ 16 callers
Function
Factorial
Returns n! (the factorial of n). For negative n, n! is defined to be 1.
lib/gtest-1.6.0/samples/sample1.cc:37
↓ 16 callers
Function
GetTestsForAllIterations
Runs the test program and returns a list of test lists. Args: extra_env: a map from environment variables to their values args: command lin
lib/gtest-1.6.0/test/gtest_shuffle_test.py:87
↓ 16 callers
Function
IsAsciiWordChar
lib/gtest-1.6.0/src/gtest-port.cc:191
↓ 16 callers
Function
IsSubstring
lib/gtest-1.6.0/src/gtest.cc:1280
↓ 16 callers
Function
PartialMatch
lib/gtest-1.6.0/fused-src/gtest/gtest.h:1902
↓ 16 callers
Function
ShouldShard
Checks whether sharding is enabled by examining the relevant environment variable values. If the variables are present, but inconsistent (i.e., shard_
lib/gtest-1.6.0/src/gtest.cc:4303
↓ 15 callers
Method
Compare
Compares this with another String. Returns < 0 if this is less than rhs, 0 if this is equal to rhs, or > 0 if this is greater than rhs.
lib/gtest-1.6.0/src/gtest.cc:1641
↓ 15 callers
Function
GetEnv
lib/gtest-1.6.0/fused-src/gtest/gtest.h:2702
↓ 15 callers
Function
MatchRegexAnywhere
Returns true iff regex matches any substring of str. regex must be a valid simple regular expression, or the result is undefined. The algorithm is r
lib/gtest-1.6.0/src/gtest-port.cc:358
↓ 15 callers
Function
Range
lib/gtest-1.6.0/fused-src/gtest/gtest.h:15422
↓ 15 callers
Function
ThrowAnInteger
lib/gtest-1.6.0/test/gtest_unittest.cc:3333
↓ 15 callers
Method
total_test_count
Gets the number of all tests.
lib/gtest-1.6.0/src/gtest.cc:740
↓ 14 callers
Function
CodePointToUtf8
Converts a Unicode code point to a narrow string in UTF-8 encoding. code_point parameter is of type UInt32 because wchar_t may not be wide enough to c
lib/gtest-1.6.0/src/gtest.cc:1435
↓ 14 callers
Method
DirectoryExists
Returns true if pathname describes a directory in the file-system that exists.
lib/gtest-1.6.0/src/gtest-filepath.cc:216
↓ 14 callers
Function
FormatTimeInMillisAsSeconds
Formats the given time in milliseconds as seconds.
lib/gtest-1.6.0/src/gtest.cc:3196
↓ 14 callers
Function
MatchRepetitionAndRegexAtHead
Matches a repeated regex atom followed by a valid simple regular expression. The regex atom is defined as c if escaped is false, or \c otherwise. re
lib/gtest-1.6.0/src/gtest-port.cc:295
↓ 14 callers
Function
Message
Copy constructor.
lib/gtest-1.6.0/fused-src/gtest/gtest.h:8594
↓ 14 callers
Function
ToCString
A helper function that turns a Message into a C string.
lib/gtest-1.6.0/test/gtest-message_test.cc:43
↓ 14 callers
Method
get
lib/gtest-1.6.0/include/gtest/internal/gtest-port.h:783
↓ 14 callers
Method
total_part_count
Gets the number of all test parts. This is the sum of the number of successful test parts and the number of failed test parts.
lib/gtest-1.6.0/src/gtest.cc:1883
↓ 13 callers
Function
Check
Prints the message and aborts the program if condition is false.
lib/gtest-1.6.0/test/gtest_environment_test.cc:115
↓ 13 callers
Function
FullMatch
FullMatch(str, re) returns true iff regular expression re matches the entire str. PartialMatch(str, re) returns true iff regular expression re matches
lib/gtest-1.6.0/fused-src/gtest/gtest.h:1899
↓ 13 callers
Method
Get
lib/gtest-1.6.0/src/gtest-internal-inl.h:949
↓ 13 callers
Function
IsAsciiWhiteSpace
lib/gtest-1.6.0/src/gtest-port.cc:190
↓ 13 callers
Function
IsInSet
Returns true iff ch appears anywhere in str (excluding the terminating '\0' character).
lib/gtest-1.6.0/src/gtest-port.cc:178
↓ 13 callers
Method
IsRootDirectory
Returns true if pathname describes a root directory. (Windows has one root directory per disk drive.)
lib/gtest-1.6.0/src/gtest-filepath.cc:246
↓ 13 callers
Method
current_test_info
Returns the TestInfo object for the test that's currently running, or NULL if no test is running. L < mutex_
lib/gtest-1.6.0/src/gtest.cc:3894
↓ 13 callers
Method
reset
lib/gtest-1.6.0/fused-src/gtest/gtest.h:1853
↓ 12 callers
Function
CountIf
lib/gtest-1.6.0/src/gtest-internal-inl.h:273
↓ 12 callers
Method
Failed
Returns true iff the test failed.
lib/gtest-1.6.0/src/gtest.cc:1853
↓ 12 callers
Function
FormatFileLocation
Formats a source file path and a line number as they would appear in an error message from the compiler used to compile this code.
lib/gtest-1.6.0/src/gtest-port.cc:431
↓ 12 callers
Function
GetTestCases
Returns a list of test cases in the given full test names. Args: tests: a list of full test names Returns: A list of test cases from 'te
lib/gtest-1.6.0/test/gtest_shuffle_test.py:110
↓ 12 callers
Function
IsAsciiDigit
Returns true iff ch belongs to the given classification. Unlike similar functions in <ctype.h>, these aren't affected by the current locale.
lib/gtest-1.6.0/src/gtest-port.cc:185
↓ 12 callers
Method
IsPrime
lib/gtest-1.6.0/samples/sample8_unittest.cc:62
↓ 12 callers
Function
RandomSeedFlag
(n)
lib/gtest-1.6.0/test/gtest_shuffle_test.py:74
↓ 12 callers
Method
RemoveFileName
RemoveFileName returns the directory path with the filename removed. Example: FilePath("path/to/file").RemoveFileName() returns "path/to/". If the Fil
lib/gtest-1.6.0/src/gtest-filepath.cc:159
↓ 12 callers
Function
ShuffleFlag
()
lib/gtest-1.6.0/test/gtest_shuffle_test.py:70
↓ 12 callers
Method
test_property_count
Returns the number of the test properties.
lib/gtest-1.6.0/src/gtest.cc:1888
↓ 11 callers
Function
AlwaysTrue
lib/gtest-1.6.0/src/gtest.cc:4533
↓ 11 callers
Method
BaseGenerator
lib/gtest-1.6.0/fused-src/gtest/gtest.h:10139
↓ 11 callers
Function
ParseInt32Flag
Parses a string for an Int32 flag, in the form of "--flag=value". On success, stores the value of the flag in *value, and returns true. On failure,
lib/gtest-1.6.0/src/gtest.cc:4615
↓ 11 callers
Function
PrintTupleTo
lib/gtest-1.6.0/fused-src/gtest/gtest.h:9951
↓ 11 callers
Function
PrintTupleTo
lib/gtest-1.6.0/include/gtest/gtest-printers.h:766
↓ 11 callers
Method
RemoveDirectoryName
Returns a copy of the FilePath with the directory part removed. Example: FilePath("path/to/file").RemoveDirectoryName() returns FilePath("file"). If t
lib/gtest-1.6.0/src/gtest-filepath.cc:148
↓ 11 callers
Method
RemoveTrailingPathSeparator
If input name has a trailing separator character, remove it and return the name, otherwise return the name string unmodified. On Windows platform, use
lib/gtest-1.6.0/src/gtest-filepath.cc:339
↓ 11 callers
Method
RunAndVerify
Runs gtest_break_on_failure_unittest_ and verifies that it does (or does not) have a seg-fault. Args: env_var_value: value of the GT
lib/gtest-1.6.0/test/gtest_break_on_failure_unittest.py:105
next →
1–100 of 2,764, ranked by callers