/external/protobuf/gtest/test/ |
gtest_shuffle_test_.cc | 32 // Verifies that test shuffling works. 41 using ::testing::Test; 48 // The test methods are empty, as the sole purpose of this program is 49 // to print the test names before/after shuffling. 51 class A : public Test {}; 55 TEST(ADeathTest, A) {} 56 TEST(ADeathTest, B) {} 57 TEST(ADeathTest, C) {} 59 TEST(B, A) {} 60 TEST(B, B) { [all...] |
gtest_help_test_.cc | 38 // and exit with 0; otherwise the following test will be executed, 40 TEST(HelpFlagTest, ShouldNotBeRun) {
|
gtest_main_unittest.cc | 39 TEST(GTestMainTest, ShouldSucceed) {
|
gtest_uninitialized_test_.cc | 34 TEST(DummyTest, Dummy) { 35 // This test doesn't verify anything. We just need it to create a 36 // realistic stage for testing the behavior of Google Test when
|
gtest_list_tests_unittest_.cc | 32 // Unit test for Google Test's --gtest_list_tests flag. 34 // A user can ask Google Test to list all tests that will run 38 // This program will be invoked from a Python unit test. 45 // Several different test cases and tests that will be listed. 46 TEST(Foo, Bar1) { 49 TEST(Foo, Bar2) { 52 TEST(Foo, DISABLED_Bar3) { 55 TEST(Abc, Xyz) { 58 TEST(Abc, Def) [all...] |
gtest_filter_unittest_.cc | 32 // Unit test for Google Test test filters. 34 // A user can specify which test(s) in a Google Test program to run via 38 // The program will be invoked from a Python unit test. Don't run it 45 // Test case FooTest. 47 class FooTest : public testing::Test { 57 // Test case BarTest. 59 TEST(BarTest, TestOne) [all...] |
gtest-message_test.cc | 53 TEST(MessageTest, DefaultConstructor) { 59 TEST(MessageTest, CopyConstructor) { 66 TEST(MessageTest, ConstructsFromCString) { 72 TEST(MessageTest, StreamsPointer) { 79 TEST(MessageTest, StreamsNullPointer) { 85 TEST(MessageTest, StreamsCString) { 90 TEST(MessageTest, StreamsNullCString) { 100 // test this where std::string can be used. 101 TEST(MessageTest, StreamsString) { 107 TEST(MessageTest, StreamsStringWithEmbeddedNUL) [all...] |
gtest_sole_header_test.cc | 32 // This test verifies that it's possible to use Google Test by including 43 TEST(NoFatalFailureTest, ExpectNoFatalFailure) { 50 TEST(NoFatalFailureTest, AssertNoFatalFailure) {
|
gtest_xml_output_unittest_.cc | 32 // Unit test for Google Test XML output. 34 // A user can specify XML output in a Google Test program to run via 38 // This program will be invoked from a Python unit test. Don't run it 47 class SuccessfulTest : public testing::Test { 55 class FailedTest : public testing::Test { 62 class DisabledTest : public testing::Test { 66 FAIL() << "Unexpected failure: Disabled test should not be run"; 69 TEST(MixedResultTest, Succeeds) { 74 TEST(MixedResultTest, Fails) [all...] |
/external/gtest/test/ |
gtest_help_test_.cc | 38 // and exit with 0; otherwise the following test will be executed, 40 TEST(HelpFlagTest, ShouldNotBeRun) {
|
gtest_main_unittest.cc | 39 TEST(GTestMainTest, ShouldSucceed) {
|
gtest_uninitialized_test_.cc | 34 TEST(DummyTest, Dummy) { 35 // This test doesn't verify anything. We just need it to create a 36 // realistic stage for testing the behavior of Google Test when
|
gtest_list_tests_unittest_.cc | 32 // Unit test for Google Test's --gtest_list_tests flag. 34 // A user can ask Google Test to list all tests that will run 38 // This program will be invoked from a Python unit test. 46 // Several different test cases and tests that will be listed. 47 TEST(Foo, Bar1) { 50 TEST(Foo, Bar2) { 53 TEST(Foo, Bar3) { 56 TEST(Abc, Xyz) { 59 TEST(Abc, Def) [all...] |
gtest_filter_unittest_.cc | 32 // Unit test for Google Test test filters. 34 // A user can specify which test(s) in a Google Test program to run via 38 // The program will be invoked from a Python unit test. Don't run it 46 // Test case FooTest. 48 class FooTest : public testing::Test { 59 // Test case BarTest. 61 TEST(BarTest, TestOne) [all...] |
gtest-message_test.cc | 53 TEST(MessageTest, DefaultConstructor) { 59 TEST(MessageTest, CopyConstructor) { 66 TEST(MessageTest, ConstructsFromCString) { 72 TEST(MessageTest, StreamsPointer) { 79 TEST(MessageTest, StreamsNullPointer) { 85 TEST(MessageTest, StreamsCString) { 90 TEST(MessageTest, StreamsNullCString) { 100 // test this where std::string can be used. 101 TEST(MessageTest, StreamsString) { 107 TEST(MessageTest, StreamsStringWithEmbeddedNUL) [all...] |
gtest_sole_header_test.cc | 32 // This test verifies that it's possible to use Google Test by including 43 TEST(NoFatalFailureTest, ExpectNoFatalFailure) { 50 TEST(NoFatalFailureTest, AssertNoFatalFailure) {
|
gtest-port_test.cc | 38 // Indicates that this translation unit is part of Google Test's 50 TEST(GtestCheckSyntaxTest, BehavesLikeASingleStatement) { 53 "It's a compilation test only."; 66 TEST(GtestCheckSyntaxTest, WorksWithSwitch) { 81 TEST(GtestCheckDeathTest, DiesWithCorrectOutputOnFailure) { 94 TEST(GtestCheckDeathTest, LivesSilentlyOnSuccess) { 107 class RETest : public ::testing::Test {}; 170 TEST(IsInSetTest, NulCharIsNotInAnySet) { 176 TEST(IsInSetTest, WorksForNonNulChars) { 184 TEST(IsDigitTest, IsFalseForNonDigit) [all...] |
/external/bluetooth/glib/tests/ |
date-test.c | 16 #define TEST(m,cond) G_STMT_START { failed = !(cond); \ 70 TEST("sizeof(GDate) is not more than 8 bytes on this platform", sizeof(GDate) < 9); 74 TEST("Empty constructor produces invalid date", !g_date_valid(d)); 80 TEST("January 1, Year 1 created and valid", g_date_valid(d)); 84 TEST("January 1, Year 1 is Julian date 1", j == 1); 86 TEST("Returned month is January", g_date_get_month(d) == G_DATE_JANUARY); 87 TEST("Returned day is 1", g_date_get_day(d) == 1); 88 TEST("Returned year is 1", g_date_get_year(d) == 1); 90 TEST("Bad month is invalid", !g_date_valid_month(G_DATE_BAD_MONTH)); 91 TEST("Month 13 is invalid", !g_date_valid_month(13)) [all...] |
testgdate.c | 19 #define TEST(m,cond) G_STMT_START { failed = !(cond); \ 77 TEST("sizeof(GDate) is not more than 8 bytes on this platform", sizeof(GDate) < 9); 81 TEST("Empty constructor produces invalid date", !g_date_valid(d)); 87 TEST("January 1, Year 1 created and valid", g_date_valid(d)); 91 TEST("January 1, Year 1 is Julian date 1", j == 1); 93 TEST("Returned month is January", g_date_get_month(d) == G_DATE_JANUARY); 94 TEST("Returned day is 1", g_date_get_day(d) == 1); 95 TEST("Returned year is 1", g_date_get_year(d) == 1); 97 TEST("Bad month is invalid", !g_date_valid_month(G_DATE_BAD_MONTH)); 98 TEST("Month 13 is invalid", !g_date_valid_month(13)) [all...] |
node-test.c | 47 #define TEST(m,cond) G_STMT_START { failed = !(cond); \ 101 TEST (NULL, g_node_depth (root) == 1 && g_node_max_height (root) == 1); 105 TEST (NULL, root->children == node_B); 114 TEST (NULL, root->children->next == node_F); 124 TEST (NULL, g_node_depth (root) == 1); 125 TEST (NULL, g_node_max_height (root) == 4); 126 TEST (NULL, g_node_depth (node_G->children->next) == 4); 127 TEST (NULL, g_node_n_nodes (root, G_TRAVERSE_LEAFS) == 7); 128 TEST (NULL, g_node_n_nodes (root, G_TRAVERSE_NON_LEAFS) == 4); 129 TEST (NULL, g_node_n_nodes (root, G_TRAVERSE_ALL) == 11) [all...] |
/external/chromium/net/http/ |
http_chunked_decoder_unittest.cc | 12 typedef testing::Test HttpChunkedDecoderTest; 57 TEST(HttpChunkedDecoderTest, Basic) { 64 TEST(HttpChunkedDecoderTest, OneChunk) { 71 TEST(HttpChunkedDecoderTest, Typical) { 81 TEST(HttpChunkedDecoderTest, Incremental) { 98 TEST(HttpChunkedDecoderTest, LF_InsteadOf_CRLF) { 111 TEST(HttpChunkedDecoderTest, Extensions) { 119 TEST(HttpChunkedDecoderTest, Trailers) { 130 TEST(HttpChunkedDecoderTest, TrailersUnfinished) { 139 TEST(HttpChunkedDecoderTest, InvalidChunkSize_TooBig) [all...] |
/external/gtest/samples/ |
sample1_unittest.cc | 35 // This sample shows how to write a simple unit test for a function, 38 // Writing a unit test using Google C++ testing framework is easy as 1-2-3: 42 // test logic needs is declared. 51 // Step 2. Use the TEST macro to define your tests. 53 // TEST has two parameters: the test case name and the test name. 54 // After using the macro, you should define your test logic between a 56 // success or failure of a test. EXPECT_TRUE and EXPECT_EQ are 61 // In Google Test, tests are grouped into test cases. This is how w [all...] |
/external/protobuf/gtest/samples/ |
sample1_unittest.cc | 35 // This sample shows how to write a simple unit test for a function, 38 // Writing a unit test using Google C++ testing framework is easy as 1-2-3: 42 // test logic needs is declared. 51 // Step 2. Use the TEST macro to define your tests. 53 // TEST has two parameters: the test case name and the test name. 54 // After using the macro, you should define your test logic between a 56 // success or failure of a test. EXPECT_TRUE and EXPECT_EQ are 61 // In Google Test, tests are grouped into test cases. This is how w [all...] |
/external/webkit/LayoutTests/fast/js/resources/ |
js-test-post-function.js | 4 debug('<br><span class="pass">TEST COMPLETE</span>');
|
/external/v8/test/cctest/ |
test-flags.cc | 35 // This test must be executed first! 36 TEST(Default) { 50 TEST(Flags1) { 55 TEST(Flags2) { 72 TEST(Flags2b) { 86 TEST(Flags3) { 104 TEST(Flags3b) { 118 TEST(Flags4) { 129 TEST(Flags4b) { 136 TEST(Flags5) [all...] |