Wire Sysio Wire Sysion 1.0.0
|
#include "gtest/gtest-spi.h"
#include "gtest/gtest.h"
#include "src/gtest-internal-inl.h"
#include <stdlib.h>
Go to the source code of this file.
Classes | |
class | FailingParamTest |
class | NonFatalFailureInFixtureConstructorTest |
class | FatalFailureInFixtureConstructorTest |
class | NonFatalFailureInSetUpTest |
class | FatalFailureInSetUpTest |
class | foo::MixedUpTestCaseTest |
class | foo::MixedUpTestCaseWithSameTestNameTest |
class | bar::MixedUpTestCaseTest |
class | bar::MixedUpTestCaseWithSameTestNameTest |
class | TEST_F_before_TEST_in_same_test_case |
class | TEST_before_TEST_F_in_same_test_case |
class | ParamTest |
class | ExpectFailureTest |
class | FooEnvironment |
class | BarEnvironment |
Namespaces | |
namespace | foo |
namespace | bar |
Functions | |
void | TestEq1 (int x) |
void | TryTestSubroutine () |
TEST (PassingTest, PassingTest1) | |
TEST (PassingTest, PassingTest2) | |
TEST_P (FailingParamTest, Fails) | |
INSTANTIATE_TEST_CASE_P (PrintingFailingParams, FailingParamTest, testing::Values(2)) | |
TEST (NonfatalFailureTest, EscapesStringOperands) | |
TEST (NonfatalFailureTest, DiffForLongStrings) | |
TEST (FatalFailureTest, FatalFailureInSubroutine) | |
TEST (FatalFailureTest, FatalFailureInNestedSubroutine) | |
TEST (FatalFailureTest, NonfatalFailureInSubroutine) | |
TEST (LoggingTest, InterleavingLoggingAndAssertions) | |
void | SubWithoutTrace (int n) |
void | SubWithTrace (int n) |
TEST (SCOPED_TRACETest, AcceptedValues) | |
TEST (SCOPED_TRACETest, ObeysScopes) | |
TEST (SCOPED_TRACETest, WorksInLoop) | |
TEST (SCOPED_TRACETest, WorksInSubroutine) | |
TEST (SCOPED_TRACETest, CanBeNested) | |
TEST (SCOPED_TRACETest, CanBeRepeated) | |
TEST (ScopedTraceTest, WithExplicitFileAndLine) | |
TEST (DisabledTestsWarningTest, DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning) | |
void | AdHocTest () |
int | RunAllTests () |
TEST_F (NonFatalFailureInFixtureConstructorTest, FailureInConstructor) | |
TEST_F (FatalFailureInFixtureConstructorTest, FailureInConstructor) | |
TEST_F (NonFatalFailureInSetUpTest, FailureInSetUp) | |
TEST_F (FatalFailureInSetUpTest, FailureInSetUp) | |
TEST (AddFailureAtTest, MessageContainsSpecifiedFileAndLineNumber) | |
foo::TEST_F (MixedUpTestCaseTest, FirstTestFromNamespaceFoo) | |
foo::TEST_F (MixedUpTestCaseTest, SecondTestFromNamespaceFoo) | |
foo::TEST_F (MixedUpTestCaseWithSameTestNameTest, TheSecondTestWithThisNameShouldFail) | |
bar::TEST_F (MixedUpTestCaseTest, ThisShouldFail) | |
bar::TEST_F (MixedUpTestCaseTest, ThisShouldFailToo) | |
bar::TEST_F (MixedUpTestCaseWithSameTestNameTest, TheSecondTestWithThisNameShouldFail) | |
TEST_F (TEST_F_before_TEST_in_same_test_case, DefinedUsingTEST_F) | |
TEST (TEST_F_before_TEST_in_same_test_case, DefinedUsingTESTAndShouldFail) | |
TEST (TEST_before_TEST_F_in_same_test_case, DefinedUsingTEST) | |
TEST_F (TEST_before_TEST_F_in_same_test_case, DefinedUsingTEST_FAndShouldFail) | |
TEST (ExpectNonfatalFailureTest, CanReferenceGlobalVariables) | |
TEST (ExpectNonfatalFailureTest, CanReferenceLocalVariables) | |
TEST (ExpectNonfatalFailureTest, SucceedsWhenThereIsOneNonfatalFailure) | |
TEST (ExpectNonfatalFailureTest, FailsWhenThereIsNoNonfatalFailure) | |
TEST (ExpectNonfatalFailureTest, FailsWhenThereAreTwoNonfatalFailures) | |
TEST (ExpectNonfatalFailureTest, FailsWhenThereIsOneFatalFailure) | |
TEST (ExpectNonfatalFailureTest, FailsWhenStatementReturns) | |
TEST (ExpectFatalFailureTest, CanReferenceGlobalVariables) | |
TEST (ExpectFatalFailureTest, CanReferenceLocalStaticVariables) | |
TEST (ExpectFatalFailureTest, SucceedsWhenThereIsOneFatalFailure) | |
TEST (ExpectFatalFailureTest, FailsWhenThereIsNoFatalFailure) | |
void | FatalFailure () |
TEST (ExpectFatalFailureTest, FailsWhenThereAreTwoFatalFailures) | |
TEST (ExpectFatalFailureTest, FailsWhenThereIsOneNonfatalFailure) | |
TEST (ExpectFatalFailureTest, FailsWhenStatementReturns) | |
std::string | ParamNameFunc (const testing::TestParamInfo< std::string > &info) |
TEST_P (ParamTest, Success) | |
TEST_P (ParamTest, Failure) | |
INSTANTIATE_TEST_CASE_P (PrintingStrings, ParamTest, testing::Values(std::string("a")), ParamNameFunc) | |
TEST_F (ExpectFailureTest, ExpectFatalFailure) | |
TEST_F (ExpectFailureTest, ExpectNonFatalFailure) | |
TEST_F (ExpectFailureTest, ExpectFatalFailureOnAllThreads) | |
TEST_F (ExpectFailureTest, ExpectNonFatalFailureOnAllThreads) | |
int | main (int argc, char **argv) |
Variables | |
int | global_integer = 0 |
void AdHocTest | ( | ) |
Definition at line 346 of file gtest_output_test_.cc.
void FatalFailure | ( | ) |
INSTANTIATE_TEST_CASE_P | ( | PrintingFailingParams | , |
FailingParamTest | , | ||
testing::Values(2) | ) |
INSTANTIATE_TEST_CASE_P | ( | PrintingStrings | , |
ParamTest | , | ||
testing::Values(std::string("a")) | , | ||
ParamNameFunc | ) |
int main | ( | int | argc, |
char ** | argv ) |
Definition at line 1029 of file gtest_output_test_.cc.
std::string ParamNameFunc | ( | const testing::TestParamInfo< std::string > & | info | ) |
Definition at line 769 of file gtest_output_test_.cc.
int RunAllTests | ( | ) |
Definition at line 353 of file gtest_output_test_.cc.
void SubWithoutTrace | ( | int | n | ) |
Definition at line 159 of file gtest_output_test_.cc.
void SubWithTrace | ( | int | n | ) |
Definition at line 165 of file gtest_output_test_.cc.
TEST | ( | AddFailureAtTest | , |
MessageContainsSpecifiedFileAndLineNumber | ) |
Definition at line 470 of file gtest_output_test_.cc.
TEST | ( | DisabledTestsWarningTest | , |
DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning | ) |
Definition at line 335 of file gtest_output_test_.cc.
TEST | ( | ExpectFatalFailureTest | , |
CanReferenceGlobalVariables | ) |
Definition at line 685 of file gtest_output_test_.cc.
TEST | ( | ExpectFatalFailureTest | , |
CanReferenceLocalStaticVariables | ) |
Definition at line 694 of file gtest_output_test_.cc.
TEST | ( | ExpectFatalFailureTest | , |
FailsWhenStatementReturns | ) |
Definition at line 744 of file gtest_output_test_.cc.
TEST | ( | ExpectFatalFailureTest | , |
FailsWhenThereAreTwoFatalFailures | ) |
Definition at line 725 of file gtest_output_test_.cc.
TEST | ( | ExpectFatalFailureTest | , |
FailsWhenThereIsNoFatalFailure | ) |
Definition at line 712 of file gtest_output_test_.cc.
TEST | ( | ExpectFatalFailureTest | , |
FailsWhenThereIsOneNonfatalFailure | ) |
Definition at line 735 of file gtest_output_test_.cc.
TEST | ( | ExpectFatalFailureTest | , |
SucceedsWhenThereIsOneFatalFailure | ) |
Definition at line 704 of file gtest_output_test_.cc.
TEST | ( | ExpectNonfatalFailureTest | , |
CanReferenceGlobalVariables | ) |
Definition at line 606 of file gtest_output_test_.cc.
TEST | ( | ExpectNonfatalFailureTest | , |
CanReferenceLocalVariables | ) |
Definition at line 615 of file gtest_output_test_.cc.
TEST | ( | ExpectNonfatalFailureTest | , |
FailsWhenStatementReturns | ) |
Definition at line 661 of file gtest_output_test_.cc.
TEST | ( | ExpectNonfatalFailureTest | , |
FailsWhenThereAreTwoNonfatalFailures | ) |
Definition at line 642 of file gtest_output_test_.cc.
TEST | ( | ExpectNonfatalFailureTest | , |
FailsWhenThereIsNoNonfatalFailure | ) |
Definition at line 634 of file gtest_output_test_.cc.
TEST | ( | ExpectNonfatalFailureTest | , |
FailsWhenThereIsOneFatalFailure | ) |
Definition at line 652 of file gtest_output_test_.cc.
TEST | ( | ExpectNonfatalFailureTest | , |
SucceedsWhenThereIsOneNonfatalFailure | ) |
Definition at line 626 of file gtest_output_test_.cc.
TEST | ( | FatalFailureTest | , |
FatalFailureInNestedSubroutine | ) |
Definition at line 120 of file gtest_output_test_.cc.
TEST | ( | FatalFailureTest | , |
FatalFailureInSubroutine | ) |
TEST | ( | FatalFailureTest | , |
NonfatalFailureInSubroutine | ) |
Definition at line 137 of file gtest_output_test_.cc.
TEST | ( | LoggingTest | , |
InterleavingLoggingAndAssertions | ) |
Definition at line 144 of file gtest_output_test_.cc.
TEST | ( | NonfatalFailureTest | , |
DiffForLongStrings | ) |
Definition at line 107 of file gtest_output_test_.cc.
TEST | ( | NonfatalFailureTest | , |
EscapesStringOperands | ) |
Definition at line 99 of file gtest_output_test_.cc.
TEST | ( | PassingTest | , |
PassingTest1 | ) |
Definition at line 77 of file gtest_output_test_.cc.
TEST | ( | PassingTest | , |
PassingTest2 | ) |
Definition at line 80 of file gtest_output_test_.cc.
TEST | ( | SCOPED_TRACETest | , |
AcceptedValues | ) |
Definition at line 171 of file gtest_output_test_.cc.
TEST | ( | SCOPED_TRACETest | , |
CanBeNested | ) |
Definition at line 220 of file gtest_output_test_.cc.
TEST | ( | SCOPED_TRACETest | , |
CanBeRepeated | ) |
Definition at line 229 of file gtest_output_test_.cc.
TEST | ( | SCOPED_TRACETest | , |
ObeysScopes | ) |
Definition at line 182 of file gtest_output_test_.cc.
TEST | ( | SCOPED_TRACETest | , |
WorksInLoop | ) |
Definition at line 201 of file gtest_output_test_.cc.
TEST | ( | SCOPED_TRACETest | , |
WorksInSubroutine | ) |
TEST | ( | ScopedTraceTest | , |
WithExplicitFileAndLine | ) |
Definition at line 330 of file gtest_output_test_.cc.
TEST | ( | TEST_before_TEST_F_in_same_test_case | , |
DefinedUsingTEST | ) |
Definition at line 595 of file gtest_output_test_.cc.
TEST | ( | TEST_F_before_TEST_in_same_test_case | , |
DefinedUsingTESTAndShouldFail | ) |
Definition at line 590 of file gtest_output_test_.cc.
TEST_F | ( | ExpectFailureTest | , |
ExpectFatalFailure | ) |
Definition at line 897 of file gtest_output_test_.cc.
TEST_F | ( | ExpectFailureTest | , |
ExpectFatalFailureOnAllThreads | ) |
Definition at line 968 of file gtest_output_test_.cc.
TEST_F | ( | ExpectFailureTest | , |
ExpectNonFatalFailure | ) |
Definition at line 911 of file gtest_output_test_.cc.
TEST_F | ( | ExpectFailureTest | , |
ExpectNonFatalFailureOnAllThreads | ) |
Definition at line 982 of file gtest_output_test_.cc.
TEST_F | ( | FatalFailureInFixtureConstructorTest | , |
FailureInConstructor | ) |
Definition at line 413 of file gtest_output_test_.cc.
TEST_F | ( | FatalFailureInSetUpTest | , |
FailureInSetUp | ) |
Definition at line 465 of file gtest_output_test_.cc.
TEST_F | ( | NonFatalFailureInFixtureConstructorTest | , |
FailureInConstructor | ) |
Definition at line 379 of file gtest_output_test_.cc.
TEST_F | ( | NonFatalFailureInSetUpTest | , |
FailureInSetUp | ) |
Definition at line 440 of file gtest_output_test_.cc.
TEST_F | ( | TEST_before_TEST_F_in_same_test_case | , |
DefinedUsingTEST_FAndShouldFail | ) |
Definition at line 599 of file gtest_output_test_.cc.
TEST_F | ( | TEST_F_before_TEST_in_same_test_case | , |
DefinedUsingTEST_F | ) |
Definition at line 586 of file gtest_output_test_.cc.
TEST_P | ( | FailingParamTest | , |
Fails | ) |
Definition at line 87 of file gtest_output_test_.cc.
TEST_P | ( | ParamTest | , |
Failure | ) |
Definition at line 780 of file gtest_output_test_.cc.
TEST_P | ( | ParamTest | , |
Success | ) |
Definition at line 776 of file gtest_output_test_.cc.
void TestEq1 | ( | int | x | ) |
void TryTestSubroutine | ( | ) |
Definition at line 63 of file gtest_output_test_.cc.
int global_integer = 0 |
Definition at line 603 of file gtest_output_test_.cc.