/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/test/ |
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...] |
/prebuilts/python/linux-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...] |
/external/skia/tests/ |
PathOpsSkpClipTest.cpp | 43 { 6, "http___www_googleventures_com_.skp", true}, // addTCoincident SkASSERT(test->fT < 1); 58 {71, "http___www_1milyonkahraman_org_.skp", true}, // addTCoincident SkASSERT(test->fT < 1); 206 void test(int dirNo, const SkString& filename) { function in struct:TestResult 522 "[~][^]substring[$] [...] of test name to run.\n" 524 "~ causes a matching test to always be skipped\n" 525 "^ requires the start of the test to match\n" 526 "$ requires the end of the test to match\n" 528 "If a test does not match any list entry,\n" 531 DEFINE_string2(skp, s, nullptr, "skp to test"); 533 DEFINE_int32(testIndex, 0, "override local test index (PathOpsSkpClipOneOff only).") 632 TestResult test; local 731 TestResult test; local 1039 Test* test = fact(nullptr); local 1092 Test* test; local [all...] |
SkpSkGrTest.cpp | 29 #include "Test.h" 86 static void Test(int dirNo, const char* filename, TestStep testStep, bool verbose) { 87 TestResult test; local 88 test.init(dirNo); 89 test.fTestStep = testStep; 90 strcpy(test.fFilename, filename); 91 test.testOne(); 93 SkDebugf("%s", test.status().c_str()); 97 void test(int dirNo, const SkString& filename) { function in struct:TestResult 616 result.test(dirNo, filename) [all...] |
/art/test/004-JniTest/ |
jni_test.cc | 41 // Clear jvm for CHECK in test 004-JniTest. 280 // Test direct call. 298 // Test one-level call. Use System.loadLibrary(). 338 // Test direct call. 350 // Test one-level call. Use VMStack.getStackClass1(). 387 void Test() { 562 JniCallNonvirtualVoidMethodTest(env).Test(); 582 const char* test_array = "Test"; 587 // Test NewObject 596 // Test AllocObject and Call(Nonvirtual)VoidMetho [all...] |
/bionic/tests/ |
gtest_main.cpp | 81 // The time each test can run before killed for the reason of timeout. 85 // The time each test can run before be warned for too much running time. 89 // Return deadline duration for a test, in ms. 94 // Return warnline duration for a test, in ms. 100 printf("Bionic Unit Test Options:\n" 103 " Use isolation mode, Run each test in a separate process.\n" 108 " Run each test in no longer than [TIME_IN_MS] time.\n" 111 " Test running longer than [TIME_IN_MS] will be warned.\n" 115 "Default bionic unit test option is -j.\n" 128 class Test { [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
MessageQueueTest.java | 32 import android.test.AndroidTestCase; 46 TestLooperThread looperThread = new TestLooperThread(Test.ADD_IDLE_HANDLER); 59 TestLooperThread looperThread = new TestLooperThread(Test.REMOVE_IDLE_HANDLER); 71 private enum Test {ADD_IDLE_HANDLER, REMOVE_IDLE_HANDLER} 74 * {@link HandlerThread} that adds or removes an idle handler depending on the {@link Test} 82 private final Test mTestMode; 86 TestLooperThread(Test testMode) { 103 if (mTestMode == Test.ADD_IDLE_HANDLER) { 296 // signal the test, and remove the callback. 338 // Read until everything is read, signal the test, [all...] |
/external/autotest/frontend/tko/ |
models.py | 47 This method exists so that it can be mocked in the unit test for 200 class Test(dbmodels.Model, model_logic.ModelExtensions, 202 """Models a test.""" 205 test = dbmodels.CharField(max_length=300) variable in class:Test 221 return TestAttribute, dict(test=self, attribute=attribute, 228 TestAttribute.objects.get(test=self, attribute=attribute, 230 raise ValueError('Attribute %s already exists for test %s and is ' 233 super(Test, self).set_attribute(attribute, value) 236 """Metadata for class Test.""" 241 """Models a test attribute."" 242 test = dbmodels.ForeignKey(Test, db_column='test_idx') variable in class:TestAttribute 258 test = dbmodels.ForeignKey(Test, db_column='test_idx', primary_key=True) variable in class:IterationAttribute 273 test = dbmodels.ForeignKey(Test, db_column='test_idx', primary_key=True) variable in class:IterationResult [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/internal/ |
story_runner_unittest.py | 55 def __init__(self, test, options, story_set): 57 test, options, story_set) 58 self._test = test 240 test = DummyTest() 242 test, s, self.options, self.results) 251 test = DummyTest() 252 self.assertRaises(story_runner.ArchiveError, story_runner.Run, test, 265 test = DummyTest() 266 self.assertRaises(ValueError, story_runner.Run, test, story_set, 279 TEST_WILL_RUN_STORY = 'test.WillRunStory [all...] |
/external/clang/lib/Analysis/ |
Consumed.cpp | 48 // TODO: Test nested conditionals: A) Checking the same value multiple times, 949 static void splitVarStateForIf(const IfStmt *IfNode, const VarTestResult &Test, 952 ConsumedState VarState = ThenStates->getState(Test.Var); 955 ThenStates->setState(Test.Var, Test.TestsFor); 956 ElseStates->setState(Test.Var, invertConsumedUnconsumed(Test.TestsFor)); 958 } else if (VarState == invertConsumedUnconsumed(Test.TestsFor)) { 961 } else if (VarState == Test.TestsFor) { [all...] |
/external/clang/test/CXX/drs/ |
dr5xx.cpp | 131 // FIXME: Add a codegen test. 134 int test[fold((int*)(void*)0) ? -1 : 1]; member in namespace:dr519 159 void test(int n, const int cn, int **p, int *S::*pm) { function in namespace:dr522 214 void test(int (&a)[3], S<3> s) { function in namespace:dr526 361 void test() { function in namespace:dr532 709 // FIXME: Add a codegen test. 712 const ir r = n; // expected-warning {{has no effect}} FIXME: Test if this has internal linkage. 750 void test(C c, D d) { function in namespace:dr574 757 struct Test { 933 // dr593 needs an IRGen test [all...] |
/external/clang/test/CodeGenCXX/ |
const-init-cxx11.cpp | 73 struct Test : Ts... { constexpr Test() : Ts()..., n(5) {} int n; }; 75 using Test1 = Test<N, C, Cs<1,2>, D, X<C,1>>; 475 void test() { static long b = (long)&&lbl - a(false); lbl: return; } function 535 void test() {
|
/external/clang/test/SemaCXX/ |
nested-name-spec.cpp | 202 class Test {
|
/external/testng/src/main/java/org/testng/internal/annotations/ |
JDK15TagFactory.java | 36 import org.testng.annotations.Test; 274 result.setGroups(join(c.groups(), findInheritedStringArray(cls, Test.class, "groups"))); 385 Test test = (Test) a; local 387 result.setEnabled(test.enabled()); 388 result.setGroups(join(test.groups(), findInheritedStringArray(cls, Test.class, "groups"))); 389 result.setParameters(test.parameters()); 390 result.setDependsOnGroups(join(test.dependsOnGroups() [all...] |
/external/google-breakpad/src/testing/gtest/src/ |
gtest.cc | 32 // The Google C++ Testing Framework (Google Test) 127 // Indicates that this translation unit is part of Google Test's 149 // A test whose test case name or test name matches this filter is 153 // A test case whose name matches this filter is considered a death 154 // test case and will be run before test cases whose name doesn't 158 // A test filter that matches everything. 164 // The environment variable name for the test shard index 2330 Test* const test = internal::HandleExceptionsInMethodIfSupported( local [all...] |
/external/gtest/src/ |
gtest.cc | 32 // The Google C++ Testing Framework (Google Test) 129 // Indicates that this translation unit is part of Google Test's 151 // A test whose test case name or test name matches this filter is 155 // A test case whose name matches this filter is considered a death 156 // test case and will be run before test cases whose name doesn't 160 // A test filter that matches everything. 166 // The environment variable name for the test shard index 2317 Test* const test = internal::HandleExceptionsInMethodIfSupported( local [all...] |
/external/llvm/utils/unittest/googletest/src/ |
gtest.cc | 32 // The Google C++ Testing Framework (Google Test) 126 // Indicates that this translation unit is part of Google Test's 148 // A test whose test case name or test name matches this filter is 152 // A test case whose name matches this filter is considered a death 153 // test case and will be run before test cases whose name doesn't 157 // A test filter that matches everything. 163 // The environment variable name for the test shard index 2300 Test* const test = internal::HandleExceptionsInMethodIfSupported( local [all...] |
/external/mesa3d/src/gtest/src/ |
gtest.cc | 32 // The Google C++ Testing Framework (Google Test) 126 // Indicates that this translation unit is part of Google Test's 148 // A test whose test case name or test name matches this filter is 152 // A test case whose name matches this filter is considered a death 153 // test case and will be run before test cases whose name doesn't 157 // A test filter that matches everything. 163 // The environment variable name for the test shard index 2329 Test* const test = internal::HandleExceptionsInMethodIfSupported( local [all...] |
/external/protobuf/gtest/src/ |
gtest.cc | 32 // The Google C++ Testing Framework (Google Test) 122 // Indicates that this translation unit is part of Google Test's 144 // A test whose test case name or test name matches this filter is 148 // A test case whose name matches this filter is considered a death 149 // test case and will be run before test cases whose name doesn't 153 // A test filter that matches everything. 159 // The environment variable name for the test shard index 2289 Test* test = NULL; local 2308 Test* test = factory_->CreateTest(); local [all...] |
/external/vulkan-validation-layers/tests/gtest-1.7.0/src/ |
gtest.cc | 32 // The Google C++ Testing Framework (Google Test) 129 // Indicates that this translation unit is part of Google Test's 151 // A test whose test case name or test name matches this filter is 155 // A test case whose name matches this filter is considered a death 156 // test case and will be run before test cases whose name doesn't 160 // A test filter that matches everything. 166 // The environment variable name for the test shard index 2317 Test* const test = internal::HandleExceptionsInMethodIfSupported( local [all...] |
/ndk/sources/third_party/googletest/googletest/src/ |
gtest.cc | 32 // The Google C++ Testing Framework (Google Test) 129 // Indicates that this translation unit is part of Google Test's 151 // A test whose test case name or test name matches this filter is 155 // A test case whose name matches this filter is considered a death 156 // test case and will be run before test cases whose name doesn't 160 // A test filter that matches everything. 166 // The environment variable name for the test shard index 2302 Test* const test = internal::HandleExceptionsInMethodIfSupported( local [all...] |
/external/autotest/frontend/afe/ |
models.py | 105 label is requested by the job/test (either as the meta_host or 172 # conclude that it must be a vm in a test cluster. In such situations 390 We received: "1 chromeos-test" 393 "1 chromeos-test". 396 We received: "1 chromeos-test" 397 And we have: "2 chromeos-test" 398 In this case we need to delete "2 chromeos-test" and insert 399 "1 chromeos-test". 768 class Test(dbmodels.Model, model_logic.ModelExtensions): 772 description: description of the test 839 test = dbmodels.ForeignKey(Test) variable in class:TestParameter 1088 test = dbmodels.ForeignKey(Test) variable in class:ParameterizedJob [all...] |
/external/chromium-trace/catapult/telemetry/third_party/png/ |
png.py | 44 # 2006-06-17 Nicko: Test suite with various image generators. 2434 def test(): function [all...] |