/prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/test/ |
test_suite.py | 10 class Test(object): 18 return unittest.TestSuite(Test.Foo(n) for n in names) 55 # "If tests is given, it must be an iterable of individual test cases 56 # or other test suites that will be used to build the suite initially" 67 # "If tests is given, it must be an iterable of individual test cases 68 # or other test suites that will be used to build the suite initially" 87 # "If tests is given, it must be an iterable of individual test cases 88 # or other test suites that will be used to build the suite initially" 112 # "Return the number of tests represented by the this test object. 122 # "Return the number of tests represented by the this test object 130 def test(self): member in class:Test_TestSuite.test_countTestCases_zero_nested.Test1 212 def test(self): pass member in class:Test_TestSuite.test_addTest__TestCase.Foo 225 def test(self): pass member in class:Test_TestSuite.test_addTest__TestSuite.Foo [all...] |
test_case.py | 8 from test import test_support 17 class Test(object): 28 """A test case which logs its calls.""" 31 super(Test.LoggingTestCase, self).__init__('test') 37 def test(self): member in class:Test.LoggingTestCase 38 self.events.append('test') 50 eq_pairs = [(Test.Foo('test1'), Test.Foo('test1'))] 53 ne_pairs = [(Test.Foo('test1'), Test.Foo('runTest') 73 def test(self): pass member in class:Test_TestCase.test_init__no_test_name.Test 84 def test(self): pass member in class:Test_TestCase.test_init__test_name__valid.Test 95 def test(self): pass member in class:Test_TestCase.test_init__test_name__invalid.Test 108 def test(self): pass member in class:Test_TestCase.test_countTestCases.Foo 173 def test(self): member in class:Test_TestCase.test_run_call_order__error_in_test.Foo 191 def test(self): member in class:Test_TestCase.test_run_call_order__error_in_test_default_result.Foo 212 def test(self): member in class:Test_TestCase.test_run_call_order__failure_in_test.Foo 227 def test(self): member in class:Test_TestCase.test_run_call_order__failure_in_test_default_result.Foo 281 def test(self): member in class:Test_TestCase.test_run_call_order_default_result.Foo 293 def test(self): member in class:Test_TestCase.test_failureException__default.Foo 309 def test(self): member in class:Test_TestCase.test_failureException__subclassing__explicit_raise.Foo 332 def test(self): member in class:Test_TestCase.test_failureException__subclassing__implicit_raise.Foo 383 def test(self): member in class:Test_TestCase.test_run__uses_defaultTestResult.Foo [all...] |
test_loader.py | 47 # test for it. 63 # Make sure loadTestsFromTestCase() picks up the default test method 72 # This has to be false for the test to succeed 89 def test(self): member in class:Test_TestLoader.test_loadTestsFromModule__TestCase_subclass.MyTestCase 97 expected = [loader.suiteClass([MyTestCase('test')])] 135 # XXX Certain people are using this behaviour. We'll add a test for it 138 def test(self): member in class:Test_TestLoader.test_loadTestsFromModule__not_a_module.MyTestCase 147 reference = [unittest.TestSuite([MyTestCase('test')])] 156 def test(self): member in class:Test_TestLoader.test_loadTestsFromModule__load_tests.MyTestCase 187 test = list(suite)[0 333 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_not_a_module.MyTestCase 369 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_TestCase_subclass.MyTestCase 385 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_TestSuite.MyTestCase 400 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_testmethod.MyTestCase 421 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_invalid_testmethod.MyTestCase 492 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_testmethod_ProperSuiteClass.MyTestCase 731 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__relative_not_a_module.MyTestCase 767 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__relative_TestCase_subclass.MyTestCase 783 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__relative_TestSuite.MyTestCase 798 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__relative_testmethod.MyTestCase 817 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__relative_invalid_testmethod.MyTestCase 869 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__callable__call_staticmethod.Test1 [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
Test.java | 27 * Data structure that represents a "Test" result XML element. 29 class Test extends AbstractXmlPullParser { 30 static final String TAG = "Test"; 61 * Create an empty {@link Test} 63 public Test() { 67 * Create a {@link Test} from a {@link TestResult}. 71 public Test(String name) { 79 * Set the name of this {@link Test} 86 * Get the name of this {@link Test} 309 * Populates this class with test result data parsed from XML [all...] |
/external/chromium_org/mojo/service_manager/ |
service_manager_unittest.cc | 11 #include "mojo/service_manager/test.mojom.h" 17 const char kTestURLString[] = "test:testService"; 18 const char kTestAURLString[] = "test:TestA"; 19 const char kTestBURLString[] = "test:TestB"; 57 virtual void Test(const String& test_string) OVERRIDE { 81 void Test(std::string test_string) { 83 service_->Test(test_string); 128 // Used to test that the requestor url will be correctly passed. 136 b->Test(); 145 virtual void Test() OVERRIDE [all...] |
/external/clang/test/CodeGenCXX/ |
debug-info-use-after-free.cpp | 278 Test { 287 n1::Test {
|
/external/clang/test/PCH/ |
cxx-key-functions.cpp | 79 struct Test { 94 void Test::g() {} 95 void h(Test &t) { t.g(); }
|
/external/clang/test/SemaCXX/ |
explicit.cpp | 245 struct Test { 246 explicit explicit Test(int x); // expected-warning{{duplicate 'explicit' declaration specifier}}
|
nested-name-spec.cpp | 202 class Test {
|
typo-correction.cpp | 3 // WARNING: Do not add more typo correction test cases to this file lest you run 48 // Test the improvement from passing a callback object to CorrectTypo in 73 // Test the improvement from passing a callback object to CorrectTypo in 83 // Test the improvement from passing a callback object to CorrectTypo in 90 // Test the typo-correction callback in Sema::DiagnoseUnknownTypeName. 112 // Test the typo-correction callback in Sema::DiagnoseInvalidRedeclaration. 121 // Test the improved typo correction for the Parser::ParseCastExpr => 133 // Test the typo-correction callback in BuildRecoveryCallExpr. 137 void Test() { 185 void test() { function in class:ClashTool 215 void test() { function in namespace:PR13051 280 void test() { function in namespace:b6956809_test2 [all...] |
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/ |
Test.java | 9 * Test class. This file is not formally a member of the org.json library. 10 * It is just a casual test tool. 12 public class Test { 76 j = XML.toJSONObject("<![CDATA[This is a collection of test patterns and examples for org.json.]]> Ignore the stuff past the end. "); 293 j = XML.toJSONObject("<test intertag status=ok><empty/>deluxe<blip sweet=true>&"toot"&toot;A</blip><x>eks</x><w>bonus</w><w>bonus2</w></test>"); 358 JSONTokener jt = new JSONTokener("{op:'test', to:'session', pre:1}{op:'test', to:'session', pre:2}");
|
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/ |
JavaBridgeBasicsTest.java | 7 import android.test.suitebuilder.annotation.SmallTest; 9 import org.chromium.base.test.util.Feature; 10 import org.chromium.content.browser.test.util.TestCallbackHelperContainer; 21 * Part of the test suite for the Java Bridge. Tests a number of features including ... 419 // Failing this test would mean that methods returning objects effectively create a memory 617 // Test calling a method of an explicitly inherited class (Base#allowed()). 620 // Test calling a method of an implicitly inherited class (Object#toString()). 654 class Test { 663 public Test getTest() { return new Test(); } [all...] |
/external/chromium_org/third_party/jinja2/ |
nodes.py | 281 For filtered nodes an expression can be stored as `test`, otherwise `None`. 283 fields = ('target', 'iter', 'body', 'else_', 'test', 'recursive') 287 """If `test` is true, `body` is rendered, else `else_`.""" 288 fields = ('test', 'body', 'else_') 526 fields = ('test', 'expr1', 'expr2') 530 if self.test.as_const(eval_ctx): 584 class Test(Expr): 585 """Applies a test on an expression. `name` is the name of the test, the
|
/external/chromium_org/third_party/libaddressinput/src/java/testlibs/ |
json-20090211.jar | |
/external/clang/test/Index/ |
print-type-size.cpp | 2 // RUN: c-index-test -test-print-type-size %s -target x86_64-pc-linux-gnu | FileCheck -check-prefix=CHECK64 %s 3 // RUN: c-index-test -test-print-type-size %s -target i386-apple-darwin9 | FileCheck -check-prefix=CHECK32 %s 52 struct Test { 82 // these are test crash. Offsetof return values are not important. 84 // test that fields in incomplete named record do not crash 98 // test that fields in incomplete anonymous record do not crash 270 // Test complex class hierarchy 285 // Test that this somewhat complex class structure is laid out correctly [all...] |
/external/icu/icu4c/source/test/intltest/ |
itspoof.cpp | 35 errln("Test Failure at file %s, line %d: \"%s\" is false.", __FILE__, __LINE__, #expr);};} 38 dataerrln("Test Failure at file %s, line %d, %s: \"%s\" is false.", __FILE__, __LINE__, msg, #expr);};} 41 errln("Test Failure at file %s, line %d: \"%s\" (%d) != \"%s\" (%d)", \ 45 errln("Test Failure at file %s, line %d: \"%s\" (%d) == \"%s\" (%d)", \ 52 * macros to handle the boilerplate around setting up test case. 53 * Put arbitrary test code between SETUP and TEARDOWN. 146 // If this test starts failing, consult confusablesWholeScript.txt 180 // Test cases chosen for substitutions of various lengths, and 250 // Run a single confusable skeleton transformation test case. 261 errln("File %s, Line %d, Test case from line %d, status is %s", __FILE__, __LINE__, lineNum 517 Test &test = tests[testNum]; local 579 ScriptTest &test = scriptTests[testNum]; local 696 const Test &test = tests[testNum]; local 757 Test &test = tests[testNum]; local [all...] |
/external/lldb/test/unittest2/test/ |
test_case.py | 9 from unittest2.test.support import ( 18 class Test(object): 29 """A test case which logs its calls.""" 32 super(Test.LoggingTestCase, self).__init__('test') 38 def test(self): member in class:Test.LoggingTestCase 39 self.events.append('test') 53 test = TestableTest('testNothing') 54 self.assertEqual(test._cleanups, []) 64 test.addCleanup(cleanup1, 1, 2, 3, four='hello', five='goodbye' 205 def test(self): pass member in class:Test_TestCase.test_init__no_test_name.Test 216 def test(self): pass member in class:Test_TestCase.test_init__test_name__valid.Test 227 def test(self): pass member in class:Test_TestCase.test_init__test_name__invalid.Test 240 def test(self): pass member in class:Test_TestCase.test_countTestCases.Foo 305 def test(self): member in class:Test_TestCase.test_run_call_order__error_in_test.Foo 323 def test(self): member in class:Test_TestCase.test_run_call_order__error_in_test_default_result.Foo 344 def test(self): member in class:Test_TestCase.test_run_call_order__failure_in_test.Foo 359 def test(self): member in class:Test_TestCase.test_run_call_order__failure_in_test_default_result.Foo 413 def test(self): member in class:Test_TestCase.test_run_call_order_default_result.Foo 425 def test(self): member in class:Test_TestCase.test_failureException__default.Foo 441 def test(self): member in class:Test_TestCase.test_failureException__subclassing__explicit_raise.Foo 464 def test(self): member in class:Test_TestCase.test_failureException__subclassing__implicit_raise.Foo 515 def test(self): member in class:Test_TestCase.test_run__uses_defaultTestResult.Foo [all...] |
test_loader.py | 46 # test for it. 62 # Make sure loadTestsFromTestCase() picks up the default test method 71 # This has to be false for the test to succeed 88 def test(self): member in class:Test_TestLoader.test_loadTestsFromModule__TestCase_subclass.MyTestCase 96 expected = [loader.suiteClass([MyTestCase('test')])] 134 # XXX Certain people are using this behaviour. We'll add a test for it 137 def test(self): member in class:Test_TestLoader.test_loadTestsFromModule__not_a_module.MyTestCase 146 reference = [unittest2.TestSuite([MyTestCase('test')])] 155 def test(self): member in class:Test_TestLoader.test_loadTestsFromModule__load_tests.MyTestCase 186 test = list(suite)[0 333 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_not_a_module.MyTestCase 369 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_TestCase_subclass.MyTestCase 385 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_TestSuite.MyTestCase 400 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_testmethod.MyTestCase 421 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_invalid_testmethod.MyTestCase 492 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_testmethod_ProperSuiteClass.MyTestCase 731 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__relative_not_a_module.MyTestCase 767 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__relative_TestCase_subclass.MyTestCase 783 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__relative_TestSuite.MyTestCase 798 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__relative_testmethod.MyTestCase 817 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__relative_invalid_testmethod.MyTestCase 869 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__callable__call_staticmethod.Test1 [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_scope.py | 2 from test.test_support import check_syntax_error, check_py3k_warnings, \ 132 def test(): function in function:ScopeTests.testFreeVarInMethod 134 class Test: 137 def test(self): member in class:ScopeTests.testFreeVarInMethod.test.Test 143 return Test() 145 t = test() 146 self.assertEqual(t.test(), "var") 151 class Test: 155 def test(self): member in class:ScopeTests.testFreeVarInMethod.Test 162 t = Test() [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/test/ |
test_case.py | 8 from test import test_support 17 class Test(object): 28 """A test case which logs its calls.""" 31 super(Test.LoggingTestCase, self).__init__('test') 37 def test(self): member in class:Test.LoggingTestCase 38 self.events.append('test') 50 eq_pairs = [(Test.Foo('test1'), Test.Foo('test1'))] 53 ne_pairs = [(Test.Foo('test1'), Test.Foo('runTest') 73 def test(self): pass member in class:Test_TestCase.test_init__no_test_name.Test 84 def test(self): pass member in class:Test_TestCase.test_init__test_name__valid.Test 95 def test(self): pass member in class:Test_TestCase.test_init__test_name__invalid.Test 108 def test(self): pass member in class:Test_TestCase.test_countTestCases.Foo 173 def test(self): member in class:Test_TestCase.test_run_call_order__error_in_test.Foo 191 def test(self): member in class:Test_TestCase.test_run_call_order__error_in_test_default_result.Foo 212 def test(self): member in class:Test_TestCase.test_run_call_order__failure_in_test.Foo 227 def test(self): member in class:Test_TestCase.test_run_call_order__failure_in_test_default_result.Foo 281 def test(self): member in class:Test_TestCase.test_run_call_order_default_result.Foo 293 def test(self): member in class:Test_TestCase.test_failureException__default.Foo 309 def test(self): member in class:Test_TestCase.test_failureException__subclassing__explicit_raise.Foo 332 def test(self): member in class:Test_TestCase.test_failureException__subclassing__implicit_raise.Foo 383 def test(self): member in class:Test_TestCase.test_run__uses_defaultTestResult.Foo [all...] |
test_loader.py | 47 # test for it. 63 # Make sure loadTestsFromTestCase() picks up the default test method 72 # This has to be false for the test to succeed 89 def test(self): member in class:Test_TestLoader.test_loadTestsFromModule__TestCase_subclass.MyTestCase 97 expected = [loader.suiteClass([MyTestCase('test')])] 135 # XXX Certain people are using this behaviour. We'll add a test for it 138 def test(self): member in class:Test_TestLoader.test_loadTestsFromModule__not_a_module.MyTestCase 147 reference = [unittest.TestSuite([MyTestCase('test')])] 156 def test(self): member in class:Test_TestLoader.test_loadTestsFromModule__load_tests.MyTestCase 187 test = list(suite)[0 333 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_not_a_module.MyTestCase 369 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_TestCase_subclass.MyTestCase 385 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_TestSuite.MyTestCase 400 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_testmethod.MyTestCase 421 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_invalid_testmethod.MyTestCase 492 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_testmethod_ProperSuiteClass.MyTestCase 731 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__relative_not_a_module.MyTestCase 767 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__relative_TestCase_subclass.MyTestCase 783 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__relative_TestSuite.MyTestCase 798 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__relative_testmethod.MyTestCase 817 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__relative_invalid_testmethod.MyTestCase 869 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__callable__call_staticmethod.Test1 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_scope.py | 2 from test.test_support import check_syntax_error, check_py3k_warnings, \ 132 def test(): function in function:ScopeTests.testFreeVarInMethod 134 class Test: 137 def test(self): member in class:ScopeTests.testFreeVarInMethod.test.Test 143 return Test() 145 t = test() 146 self.assertEqual(t.test(), "var") 151 class Test: 155 def test(self): member in class:ScopeTests.testFreeVarInMethod.Test 162 t = Test() [all...] |
/external/chromium_org/third_party/leveldatabase/src/table/ |
table_test.cc | 26 // Used to test non-lexicographic comparators. 381 std::string name = test::TmpDir() + "/table_testdb"; 477 void Test(Random* rnd) { 647 // Test empty table/block. 648 TEST(Harness, Empty) { 651 Random rnd(test::RandomSeed() + 1); 652 Test(&rnd); 656 // Special test for a block with no restart entries. The C++ leveldb 659 TEST(Harness, ZeroRestartPointsInBlock) { 677 // Test the empty ke [all...] |
/external/chromium_org/third_party/skia/tests/ |
PathOpsSkpClipTest.cpp | 21 #include "Test.h" 265 static void Test(int dirNo, const char* filename, TestStep testStep) { 266 TestResult test; local 267 test.init(dirNo); 268 test.fTestStep = testStep; 269 strcpy(test.fFilename, filename); 270 test.testOne(); 273 void test(int dirNo, const SkString& filename) { function in struct:TestResult 745 const TestResult& test = fResults[index]; local 746 if (filename.equals(test.fFilename)) 988 TestResult test; local [all...] |
SkpSkGrTest.cpp | 28 #include "Test.h" 81 static void Test(int dirNo, const char* filename, TestStep testStep, bool verbose) { 82 TestResult test; local 83 test.init(dirNo); 84 test.fTestStep = testStep; 85 strcpy(test.fFilename, filename); 86 test.testOne(); 88 SkDebugf("%s", test.status().c_str()); 92 void test(int dirNo, const SkString& filename) { function in struct:TestResult 614 result.test(dirNo, filename) [all...] |