![]() |
F´ Flight Software - C/C++ Documentation NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
|
Namespaces | |
namespace | internal |
Classes | |
class | Action |
class | Action< R(Args...)> |
class | ActionInterface |
class | DefaultValue |
class | DefaultValue< T & > |
class | DefaultValue< void > |
class | Matcher |
class | NaggyMock |
class | NiceMock |
class | OnceAction |
class | OnceAction< Result(Args...)> |
class | PolymorphicAction |
class | StrictMock |
Typedefs | |
typedef internal::IgnoredValue | Unused |
Functions | |
template<typename F > | |
Action< F > | MakeAction (ActionInterface< F > *impl) |
template<typename Impl > | |
PolymorphicAction< Impl > | MakePolymorphicAction (const Impl &impl) |
template<typename... Action> | |
internal::DoAllAction< typename std::decay< Action >::type... > | DoAll (Action &&... action) |
template<size_t k, typename InnerAction > | |
internal::WithArgsAction< typename std::decay< InnerAction >::type, k > | WithArg (InnerAction &&action) |
template<size_t k, size_t... ks, typename InnerAction > | |
internal::WithArgsAction< typename std::decay< InnerAction >::type, k, ks... > | WithArgs (InnerAction &&action) |
template<typename InnerAction > | |
internal::WithArgsAction< typename std::decay< InnerAction >::type > | WithoutArgs (InnerAction &&action) |
template<typename R > | |
internal::ReturnAction< R > | Return (R value) |
PolymorphicAction< internal::ReturnNullAction > | ReturnNull () |
PolymorphicAction< internal::ReturnVoidAction > | Return () |
template<typename R > | |
internal::ReturnRefAction< R > | ReturnRef (R &x) |
template<typename R , R * = nullptr> | |
internal::ReturnRefAction< R > | ReturnRef (R &&)=delete |
template<typename R > | |
internal::ReturnRefOfCopyAction< R > | ReturnRefOfCopy (const R &x) |
template<typename R > | |
internal::ByMoveWrapper< R > | ByMove (R x) |
template<typename T > | |
internal::ReturnRoundRobinAction< T > | ReturnRoundRobin (std::vector< T > vals) |
template<typename T > | |
internal::ReturnRoundRobinAction< T > | ReturnRoundRobin (std::initializer_list< T > vals) |
internal::DoDefaultAction | DoDefault () |
template<size_t N, typename T > | |
internal::SetArgumentPointeeAction< N, T > | SetArgPointee (T value) |
template<size_t N, typename T > | |
internal::SetArgumentPointeeAction< N, T > | SetArgumentPointee (T value) |
template<typename T1 , typename T2 > | |
PolymorphicAction< internal::AssignAction< T1, T2 > > | Assign (T1 *ptr, T2 val) |
template<typename T > | |
PolymorphicAction< internal::SetErrnoAndReturnAction< T > > | SetErrnoAndReturn (int errval, T result) |
template<typename FunctionImpl > | |
std::decay< FunctionImpl >::type | Invoke (FunctionImpl &&function_impl) |
template<class Class , typename MethodPtr > | |
internal::InvokeMethodAction< Class, MethodPtr > | Invoke (Class *obj_ptr, MethodPtr method_ptr) |
template<typename FunctionImpl > | |
internal::InvokeWithoutArgsAction< typename std::decay< FunctionImpl >::type > | InvokeWithoutArgs (FunctionImpl function_impl) |
template<class Class , typename MethodPtr > | |
internal::InvokeMethodWithoutArgsAction< Class, MethodPtr > | InvokeWithoutArgs (Class *obj_ptr, MethodPtr method_ptr) |
template<typename A > | |
internal::IgnoreResultAction< A > | IgnoreResult (const A &an_action) |
template<typename T > | |
inline ::std::reference_wrapper< T > | ByRef (T &l_value) |
template<typename T , typename... Params> | |
internal::ReturnNewAction< T, typename std::decay< Params >::type... > | ReturnNew (Params &&... params) |
template<size_t k> | |
internal::ReturnArgAction< k > | ReturnArg () |
template<size_t k, typename Ptr > | |
internal::SaveArgAction< k, Ptr > | SaveArg (Ptr pointer) |
template<size_t k, typename Ptr > | |
internal::SaveArgPointeeAction< k, Ptr > | SaveArgPointee (Ptr pointer) |
template<size_t k, typename T > | |
internal::SetArgRefereeAction< k, typename std::decay< T >::type > | SetArgReferee (T &&value) |
template<size_t k, typename I1 , typename I2 > | |
internal::SetArrayArgumentAction< k, I1, I2 > | SetArrayArgument (I1 first, I2 last) |
template<size_t k> | |
internal::DeleteArgAction< k > | DeleteArg () |
template<typename Ptr > | |
internal::ReturnPointeeAction< Ptr > | ReturnPointee (Ptr pointer) |
template<std::size_t index, typename... Params> | |
internal::InvokeArgumentAction< index, typename std::decay< Params >::type... > | InvokeArgument (Params &&... params) |
MATCHER (IsEmpty, negation ? "isn't empty" :"is empty") | |
MATCHER (IsTrue, negation ? "is false" :"is true") | |
MATCHER (IsFalse, negation ? "is true" :"is false") | |
GTEST_API_ void | InitGoogleMock (int *argc, char **argv) |
GTEST_API_ void | InitGoogleMock (int *argc, wchar_t **argv) |
GTEST_API_ void | InitGoogleMock () |
GTEST_API_ Cardinality | AtLeast (int n) |
GTEST_API_ Cardinality | AtMost (int n) |
GTEST_API_ Cardinality | AnyNumber () |
GTEST_API_ Cardinality | Between (int min, int max) |
GTEST_API_ Cardinality | Exactly (int n) |
AssertionResult | AssertionSuccess () |
AssertionResult | AssertionFailure () |
AssertionResult | AssertionFailure (const Message &message) |
std::ostream & | operator<< (std::ostream &os, const TestPartResult &result) |
static const char * | GetDefaultFilter () |
static bool | GetDefaultFailFast () |
AssertionResult | FloatLE (const char *expr1, const char *expr2, float val1, float val2) |
AssertionResult | DoubleLE (const char *expr1, const char *expr2, double val1, double val2) |
AssertionResult | IsSubstring (const char *needle_expr, const char *haystack_expr, const char *needle, const char *haystack) |
AssertionResult | IsSubstring (const char *needle_expr, const char *haystack_expr, const wchar_t *needle, const wchar_t *haystack) |
AssertionResult | IsNotSubstring (const char *needle_expr, const char *haystack_expr, const char *needle, const char *haystack) |
AssertionResult | IsNotSubstring (const char *needle_expr, const char *haystack_expr, const wchar_t *needle, const wchar_t *haystack) |
AssertionResult | IsSubstring (const char *needle_expr, const char *haystack_expr, const ::std::string &needle, const ::std::string &haystack) |
AssertionResult | IsNotSubstring (const char *needle_expr, const char *haystack_expr, const ::std::string &needle, const ::std::string &haystack) |
template<size_t kSize> | |
std::vector< std::string > | ArrayAsVector (const char *const (&array)[kSize]) |
static std::vector< std::string > | GetReservedAttributesForElement (const std::string &xml_element) |
static std::vector< std::string > | GetReservedOutputAttributesForElement (const std::string &xml_element) |
static std::string | FormatWordList (const std::vector< std::string > &words) |
static bool | ValidateTestPropertyName (const std::string &property_name, const std::vector< std::string > &reserved_names) |
static bool | TestPartSkipped (const TestPartResult &result) |
static bool | TestPartFatallyFailed (const TestPartResult &result) |
static bool | TestPartNonfatallyFailed (const TestPartResult &result) |
static std::string | FormatCountableNoun (int count, const char *singular_form, const char *plural_form) |
static std::string | FormatTestCount (int test_count) |
static std::string | FormatTestSuiteCount (int test_suite_count) |
static const char * | TestPartResultTypeToString (TestPartResult::Type type) |
void | InitGoogleTest (int *argc, char **argv) |
void | InitGoogleTest (int *argc, wchar_t **argv) |
void | InitGoogleTest () |
static std::string | GetTempDirFromEnv (std::initializer_list< const char * > environment_variables, const char *fallback, char separator) |
std::string | TempDir () |
Variables | |
static const char | kDefaultDeathTestStyle [] = GTEST_DEFAULT_DEATH_TEST_STYLE |
static const char | kDisableTestFilter [] = "DISABLED_*:*/DISABLED_*" |
static const char | kDeathTestSuiteFilter [] = "*DeathTest:*DeathTest/*" |
static const char | kUniversalFilter [] = "*" |
static const char | kDefaultOutputFormat [] = "xml" |
static const char | kDefaultOutputFile [] = "test_detail" |
static const char | kTestShardIndex [] = "GTEST_SHARD_INDEX" |
static const char | kTestTotalShards [] = "GTEST_TOTAL_SHARDS" |
static const char | kTestShardStatusFile [] = "GTEST_SHARD_STATUS_FILE" |
static const char *const | kReservedTestSuitesAttributes [] |
static const char *const | kReservedTestSuiteAttributes [] |
static const char *const | kReservedTestCaseAttributes [] |
static const char *const | kReservedOutputTestCaseAttributes [] |
typedef internal::IgnoredValue testing::Unused |
Definition at line 1776 of file gmock-actions.h.
GTEST_API_ Cardinality testing::AnyNumber | ( | ) |
Definition at line 145 of file gmock-cardinalities.cc.
std::vector< std::string > testing::ArrayAsVector | ( | const char *const (&) | array[kSize] | ) |
AssertionResult testing::AssertionFailure | ( | ) |
Definition at line 69 of file gtest-assertion-result.cc.
AssertionResult testing::AssertionFailure | ( | const Message & | message | ) |
Definition at line 73 of file gtest-assertion-result.cc.
AssertionResult testing::AssertionSuccess | ( | ) |
Definition at line 66 of file gtest-assertion-result.cc.
PolymorphicAction< internal::AssignAction< T1, T2 > > testing::Assign | ( | T1 * | ptr, |
T2 | val ) |
Definition at line 1924 of file gmock-actions.h.
GTEST_API_ Cardinality testing::AtLeast | ( | int | n | ) |
Definition at line 139 of file gmock-cardinalities.cc.
GTEST_API_ Cardinality testing::AtMost | ( | int | n | ) |
Definition at line 142 of file gmock-cardinalities.cc.
GTEST_API_ Cardinality testing::Between | ( | int | min, |
int | max ) |
Definition at line 148 of file gmock-cardinalities.cc.
internal::ByMoveWrapper< R > testing::ByMove | ( | R | x | ) |
Definition at line 1883 of file gmock-actions.h.
inline ::std::reference_wrapper< T > testing::ByRef | ( | T & | l_value | ) |
Definition at line 1993 of file gmock-actions.h.
internal::DeleteArgAction< k > testing::DeleteArg | ( | ) |
Definition at line 2048 of file gmock-actions.h.
internal::DoAllAction< typename std::decay< Action >::type... > testing::DoAll | ( | Action &&... | action | ) |
Definition at line 1782 of file gmock-actions.h.
|
inline |
Definition at line 1905 of file gmock-actions.h.
AssertionResult testing::DoubleLE | ( | const char * | expr1, |
const char * | expr2, | ||
double | val1, | ||
double | val2 ) |
GTEST_API_ Cardinality testing::Exactly | ( | int | n | ) |
Definition at line 153 of file gmock-cardinalities.cc.
AssertionResult testing::FloatLE | ( | const char * | expr1, |
const char * | expr2, | ||
float | val1, | ||
float | val2 ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
inline |
Definition at line 1978 of file gmock-actions.h.
GTEST_API_ void testing::InitGoogleMock | ( | int * | argc, |
char ** | argv ) |
GTEST_API_ void testing::InitGoogleMock | ( | int * | argc, |
wchar_t ** | argv ) |
void testing::InitGoogleTest | ( | int * | argc, |
wchar_t ** | argv ) |
internal::InvokeMethodAction< Class, MethodPtr > testing::Invoke | ( | Class * | obj_ptr, |
MethodPtr | method_ptr ) |
Definition at line 1954 of file gmock-actions.h.
std::decay< FunctionImpl >::type testing::Invoke | ( | FunctionImpl && | function_impl | ) |
Definition at line 1947 of file gmock-actions.h.
internal::InvokeArgumentAction< index, typename std::decay< Params >::type... > testing::InvokeArgument | ( | Params &&... | params | ) |
Definition at line 651 of file gmock-more-actions.h.
internal::InvokeMethodWithoutArgsAction< Class, MethodPtr > testing::InvokeWithoutArgs | ( | Class * | obj_ptr, |
MethodPtr | method_ptr ) |
Definition at line 1969 of file gmock-actions.h.
internal::InvokeWithoutArgsAction< typename std::decay< FunctionImpl >::type > testing::InvokeWithoutArgs | ( | FunctionImpl | function_impl | ) |
Definition at line 1962 of file gmock-actions.h.
AssertionResult testing::IsNotSubstring | ( | const char * | needle_expr, |
const char * | haystack_expr, | ||
const ::std::string & | needle, | ||
const ::std::string & | haystack ) |
AssertionResult testing::IsNotSubstring | ( | const char * | needle_expr, |
const char * | haystack_expr, | ||
const char * | needle, | ||
const char * | haystack ) |
AssertionResult testing::IsNotSubstring | ( | const char * | needle_expr, |
const char * | haystack_expr, | ||
const wchar_t * | needle, | ||
const wchar_t * | haystack ) |
AssertionResult testing::IsSubstring | ( | const char * | needle_expr, |
const char * | haystack_expr, | ||
const ::std::string & | needle, | ||
const ::std::string & | haystack ) |
AssertionResult testing::IsSubstring | ( | const char * | needle_expr, |
const char * | haystack_expr, | ||
const char * | needle, | ||
const char * | haystack ) |
AssertionResult testing::IsSubstring | ( | const char * | needle_expr, |
const char * | haystack_expr, | ||
const wchar_t * | needle, | ||
const wchar_t * | haystack ) |
Action< F > testing::MakeAction | ( | ActionInterface< F > * | impl | ) |
Definition at line 896 of file gmock-actions.h.
|
inline |
Definition at line 908 of file gmock-actions.h.
testing::MATCHER | ( | IsEmpty | , |
negation ? "isn't empty" :"is empty" | ) |
Definition at line 61 of file gmock-more-matchers.h.
testing::MATCHER | ( | IsFalse | , |
negation ? "is true" :"is false" | ) |
Definition at line 81 of file gmock-more-matchers.h.
testing::MATCHER | ( | IsTrue | , |
negation ? "is false" :"is true" | ) |
Definition at line 73 of file gmock-more-matchers.h.
std::ostream & testing::operator<< | ( | std::ostream & | os, |
const TestPartResult & | result ) |
Definition at line 50 of file gtest-test-part.cc.
|
inline |
Definition at line 1854 of file gmock-actions.h.
internal::ReturnAction< R > testing::Return | ( | R | value | ) |
Definition at line 1844 of file gmock-actions.h.
internal::ReturnArgAction< k > testing::ReturnArg | ( | ) |
Definition at line 2008 of file gmock-actions.h.
internal::ReturnNewAction< T, typename std::decay< Params >::type... > testing::ReturnNew | ( | Params &&... | params | ) |
Definition at line 2001 of file gmock-actions.h.
|
inline |
Definition at line 1849 of file gmock-actions.h.
internal::ReturnPointeeAction< Ptr > testing::ReturnPointee | ( | Ptr | pointer | ) |
Definition at line 2054 of file gmock-actions.h.
|
delete |
|
inline |
Definition at line 1860 of file gmock-actions.h.
|
inline |
Definition at line 1872 of file gmock-actions.h.
internal::ReturnRoundRobinAction< T > testing::ReturnRoundRobin | ( | std::initializer_list< T > | vals | ) |
Definition at line 1899 of file gmock-actions.h.
internal::ReturnRoundRobinAction< T > testing::ReturnRoundRobin | ( | std::vector< T > | vals | ) |
Definition at line 1891 of file gmock-actions.h.
internal::SaveArgAction< k, Ptr > testing::SaveArg | ( | Ptr | pointer | ) |
Definition at line 2015 of file gmock-actions.h.
internal::SaveArgPointeeAction< k, Ptr > testing::SaveArgPointee | ( | Ptr | pointer | ) |
Definition at line 2022 of file gmock-actions.h.
internal::SetArgumentPointeeAction< N, T > testing::SetArgPointee | ( | T | value | ) |
Definition at line 1912 of file gmock-actions.h.
internal::SetArgRefereeAction< k, typename std::decay< T >::type > testing::SetArgReferee | ( | T && | value | ) |
Definition at line 2029 of file gmock-actions.h.
internal::SetArgumentPointeeAction< N, T > testing::SetArgumentPointee | ( | T | value | ) |
Definition at line 1918 of file gmock-actions.h.
internal::SetArrayArgumentAction< k, I1, I2 > testing::SetArrayArgument | ( | I1 | first, |
I2 | last ) |
Definition at line 2040 of file gmock-actions.h.
PolymorphicAction< internal::SetErrnoAndReturnAction< T > > testing::SetErrnoAndReturn | ( | int | errval, |
T | result ) |
Definition at line 1932 of file gmock-actions.h.
|
static |
|
static |
|
static |
|
static |
|
static |
internal::WithArgsAction< typename std::decay< InnerAction >::type, k > testing::WithArg | ( | InnerAction && | action | ) |
Definition at line 1794 of file gmock-actions.h.
internal::WithArgsAction< typename std::decay< InnerAction >::type, k, ks... > testing::WithArgs | ( | InnerAction && | action | ) |
Definition at line 1805 of file gmock-actions.h.
internal::WithArgsAction< typename std::decay< InnerAction >::type > testing::WithoutArgs | ( | InnerAction && | action | ) |
Definition at line 1814 of file gmock-actions.h.
|
static |
|
static |
Definition at line 97 of file gtest-death-test.cc.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |