/external/gtest/samples/ |
sample7_unittest.cc | 32 // This sample shows how to test common properties of multiple 34 // value-parameterized tests. Each test in the test case has 50 // side effects. Thus you should create and destroy them for each test. 52 // objects. We will instantiate objects in test's SetUp() method and 65 // Inside the test body, fixture constructor, SetUp(), and TearDown() 66 // you can refer to the test parameter by GetParam(). 67 // In this case, the test parameter is a PrimeTableFactory interface pointer 111 // or bind them to a list of values which will be used as test parameters. 124 // Google Test doesn't support value-parameterized tests on some platform [all...] |
/external/gtest/test/ |
gtest-death-test_test.cc | 34 #include <gtest/gtest-death-test.h> 54 // Indicates that this translation unit is part of Google Test's 75 // A helper class whose objects replace the death test factory for a 103 class TestForDeathTest : public testing::Test { 126 // A method of the test fixture that may die. 183 // Tests that ASSERT_DEATH can be used outside a TEST, TEST_F, or test fixture. 201 TEST(ExitStatusPredicateTest, ExitedWithCode) { 215 // ExitStatusPredicateTest test suite. 230 // test suite [all...] |
gtest_env_var_test_.cc | 32 // A helper program for testing that Google Test parses the environment 47 // The purpose of this is to make the test more realistic by ensuring 49 // We don't actual run the TEST itself. 50 TEST(GTestEnvVarTest, Dummy) {
|
gtest_environment_test.cc | 32 // Tests using global test environments. 48 // For testing using global test environments. 101 // Was the TEST run? 104 // The sole purpose of this TEST is to enable us to check whether it 106 TEST(FooTest, Bar) { 134 // Registers a global test environment, and verifies that the 162 // Verifies that RUN_ALL_TESTS() runs no test when the global set-up 174 // tear-down when there is no test to run. 177 "RUN_ALL_TESTS() should return zero, as there is no test to run."); 179 "The global set-up should not run, as there is no test to run.") [all...] |
/external/protobuf/gtest/samples/ |
sample7_unittest.cc | 32 // This sample shows how to test common properties of multiple 34 // value-parameterized tests. Each test in the test case has 50 // side effects. Thus you should create and destroy them for each test. 52 // objects. We will instantiate objects in test's SetUp() method and 65 // Inside the test body, fixture constructor, SetUp(), and TearDown() 66 // you can refer to the test parameter by GetParam(). 67 // In this case, the test parameter is a PrimeTableFactory interface pointer 111 // or bind them to a list of values which will be used as test parameters. 124 // Google Test doesn't support value-parameterized tests on some platform [all...] |
/external/protobuf/gtest/test/ |
gtest_env_var_test_.cc | 32 // A helper program for testing that Google Test parses the environment 47 // The purpose of this is to make the test more realistic by ensuring 49 // We don't actual run the TEST itself. 50 TEST(GTestEnvVarTest, Dummy) {
|
gtest_environment_test.cc | 32 // Tests using global test environments. 48 // For testing using global test environments. 101 // Was the TEST run? 104 // The sole purpose of this TEST is to enable us to check whether it 106 TEST(FooTest, Bar) { 134 // Registers a global test environment, and verifies that the 162 // Verifies that RUN_ALL_TESTS() runs no test when the global set-up 174 // tear-down when there is no test to run. 177 "RUN_ALL_TESTS() should return zero, as there is no test to run."); 179 "The global set-up should not run, as there is no test to run.") [all...] |
gtest-unittest-api_test.cc | 31 // The Google C++ Testing Framework (Google Test) 55 // Returns the array of pointers to all test cases sorted by the test case 71 // Returns the test case by its name. The caller doesn't own the returned 83 // Returns the array of pointers to all tests in a particular test case 84 // sorted by the test name. The caller is responsible for deleting the 100 template <typename T> class TestCaseWithCommentTest : public Test {}; 117 // We can only test the accessors that do not change value while tests run. 119 // test execution (such as failed_test_count) can not be predicted. 120 TEST(ApiTest, UnitTestImmutableAccessorsWork) [all...] |
/external/protobuf/src/google/protobuf/compiler/python/ |
python_plugin_unittest.cc | 33 // TODO(kenton): Share code with the versions of this test in other languages? 77 // This test verifies that all the expected insertion points exist. It does 79 // compiling the output which is a bit more than I care to do for this test. 80 TEST(PythonPluginTest, PluginTest) { 87 TestTempDir() + "/test.proto"); 106 "test.proto"
|
/external/v8/test/cctest/ |
test-version.cc | 59 // Test version without specific SONAME. 66 // Test version with specific SONAME. 76 TEST(VersionString) {
|
test-regexp.cc | 128 TEST(Parser) { 354 TEST(ParserRegression) { 376 TEST(Errors) { 461 TEST(CharacterClassEscapes) { 527 TEST(SplayTreeSimple) { 579 TEST(DispatchTableConstruction) { 580 // Initialize test data. 595 // Enter test data into dispatch table. 616 // Test of debug-only syntax. 619 TEST(ParsePossessiveRepetition) [all...] |
test-thread-termination.cc | 113 // Test that a single thread of JavaScript execution can terminate 115 TEST(TerminateOnlyV8ThreadFromThreadItself) { 125 // Test that we can run the code again after thread termination. 131 // Test that a single thread of JavaScript execution can terminate 133 TEST(TerminateOnlyV8ThreadFromThreadItselfNoLoop) { 143 // Test that we can run the code again after thread termination. 157 // Test that a single thread of JavaScript execution can be terminated 159 TEST(TerminateOnlyV8ThreadFromOtherThread) { 204 // Test that multiple threads using V8 can be terminated from another 206 TEST(TerminateMultipleV8Threads) [all...] |
test-serialize.cc | 62 // Callback receiver to track counters in test. 106 TEST(ExternalReferenceEncoder) { 143 TEST(ExternalReferenceDecoder) { 254 // Test that the whole heap can be serialized. 255 TEST(Serialize) { 262 // Test that heap serialization is non-destructive. 263 TEST(SerializeTwice) { 358 TEST(PartialSerialization) { 476 TEST(ContextSerialization) { 557 TEST(LinearAllocation) [all...] |
/external/chromium/net/base/ |
filter_unittest.cc | 9 class FilterTest : public testing::Test { 12 TEST(FilterTest, ContentTypeId) { 37 TEST(FilterTest, ApacheGzip) { 84 TEST(FilterTest, SdchEncoding) { 122 TEST(FilterTest, MissingSdchEncoding) { 160 TEST(FilterTest, Svgz) { 170 // Test svgz extension 188 // Test svg extension 208 TEST(FilterTest, UnsupportedMimeGzip) { 295 TEST(FilterTest, SupportedMimeGzip) [all...] |
host_cache_unittest.cc | 28 TEST(HostCacheTest, Basic) { 88 TEST(HostCacheTest, NoCacheNegative) { 110 TEST(HostCacheTest, CacheNegativeEntry) { 170 TEST(HostCacheTest, Compact) { 237 TEST(HostCacheTest, SetWithCompact) { 273 TEST(HostCacheTest, AddressFamilyIsPartOfKey) { 306 TEST(HostCacheTest, NoCache) { 322 TEST(HostCacheTest, Clear) { 343 TEST(HostCacheTest, KeyComparators) { 388 SCOPED_TRACE(StringPrintf("Test[%" PRIuS "]", i)) [all...] |
/external/chromium/third_party/icu/source/test/cintltst/ |
utransts.c | 21 #define TEST(x) addTest(root, &x, "utrans/" # x) 40 TEST(TestAPI); 41 TEST(TestSimpleRules); 42 TEST(TestFilter); 43 TEST(TestOpenInverse); 44 TEST(TestClone); 45 TEST(TestRegisterUnregister); 46 TEST(TestExtractBetween); 47 TEST(TestUnicodeIDs); 53 * To test the Replaceable glue we have to dummy up a C-base [all...] |
cmsccoll.c | 102 /* synwee : added collation element iterator test */ 129 /* synwee : added collation element iterator test */ 330 /* not used currently - does not test only prints */ 758 static void logFailure (const char *platform, const char *test, 772 log_err("Difference between expected and generated order. Run test with -v for more info\n"); 821 strcat(output, test); 2591 static const char *test[] = { local 2898 UChar test[256] = {0}; local 3130 static const char *test[] = { local 3165 static char *test[4]; local 3218 static const char *test[] = { local 3428 const char* test[] = { local 4248 const char* test[] = { local 4275 static const char *test[] = { "\\\\u4E56\\\\u4E56\\\\u7761", "\\\\u4E56\\\\u5B69\\\\u5B50" }; local 4495 const static char *test[] = { local 4783 static const char *test = "this is a test string"; local 4836 const static char *test[] = { local 4847 const static char *test[] = { "a", "y" }; local 5245 static const char *test = "\\\\u4e00"; local [all...] |
/external/icu4c/test/cintltst/ |
utransts.c | 21 #define TEST(x) addTest(root, &x, "utrans/" # x) 40 TEST(TestAPI); 41 TEST(TestSimpleRules); 42 TEST(TestFilter); 43 TEST(TestOpenInverse); 44 TEST(TestClone); 45 TEST(TestRegisterUnregister); 46 TEST(TestExtractBetween); 47 TEST(TestUnicodeIDs); 53 * To test the Replaceable glue we have to dummy up a C-base [all...] |
cmsccoll.c | 102 /* synwee : added collation element iterator test */ 129 /* synwee : added collation element iterator test */ 330 /* not used currently - does not test only prints */ 758 static void logFailure (const char *platform, const char *test, 772 log_err("Difference between expected and generated order. Run test with -v for more info\n"); 821 strcat(output, test); 2595 static const char *test[] = { local 2902 UChar test[256] = {0}; local 3136 static const char *test[] = { local 3171 static char *test[4]; local 3224 static const char *test[] = { local 3434 const char* test[] = { local 4261 const char* test[] = { local 4288 static const char *test[] = { "\\\\u4E56\\\\u4E56\\\\u7761", "\\\\u4E56\\\\u5B69\\\\u5B50" }; local 4508 const static char *test[] = { local 4768 static const char *test = "this is a test string"; local 4821 const static char *test[] = { local 4832 const static char *test[] = { "a", "y" }; local 5233 static const char *test = "\\\\u4e00"; local [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/js1_1/ |
jsref.js | 27 function test() { function 137 var sizeTag = "<#TEST CASES SIZE>"; 138 var doneTag = "<#TEST CASES DONE>"; 139 var beginTag = "<#TEST CASE ";
|
/external/webkit/JavaScriptCore/tests/mozilla/js1_4/ |
jsref.js | 26 function test() { function 135 var sizeTag = "<#TEST CASES SIZE>"; 136 var doneTag = "<#TEST CASES DONE>"; 137 var beginTag = "<#TEST CASE ";
|
/external/chromium/base/ |
scoped_ptr_unittest.cc | 28 TEST(ScopedPtrTest, ScopedPtr) { 42 // Test reset() and release() 72 // Test swap(), == and != 95 TEST(ScopedPtrTest, ScopedArray) { 114 // Test reset() and release() 143 // Test swap(), == and !=
|
thread_local_unittest.cc | 64 // In this test, we start 2 threads which will access a ThreadLocalPointer. We 66 TEST(ThreadLocalTest, Pointer) { 142 TEST(ThreadLocalTest, Boolean) {
|
tuple_unittest.cc | 30 TEST(TupleTest, Basic) { 100 TEST(TupleTest, Copying) {
|
/external/chromium/googleurl/src/ |
url_parse_unittest.cc | 136 TEST(URLParser, Length) { 165 TEST(URLParser, CountCharactersBefore) { 173 // Test each possibility in the case where all components are present. 192 // Now test when the requested component is missing. 209 // File URLs are special with no host, so we test those. 218 // Simple test to distinguish file and standard URLs. 329 TEST(URLParser, Standard) { 364 TEST(URLParser, PathURL) { 420 TEST(URLParser, WindowsFile) { 442 TEST(URLParser, ExtractFileName) [all...] |