HomeSort by relevance Sort by last modified time
    Searched defs:Test (Results 251 - 275 of 400) sorted by null

<<111213141516

  /prebuilts/python/darwin-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...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/test/
test_result.py 4 from test import test_support
42 # "Called when the test case test is about to be run. The default
49 test = Foo('test_1')
53 result.startTest(test)
61 result.stopTest(test)
63 # "Called after the test case test has been executed, regardless of
70 test = Foo('test_1')
74 result.startTest(test)
293 def test(result): function in function:Test_TestResult.testFailFastSetByRunner
336 test = Test(test_name) variable in class:Test_OldTestResult.testOldTestResult.Test
    [all...]
test_runner.py 16 test = TestableTest('testNothing')
17 self.assertEqual(test._cleanups, [])
27 test.addCleanup(cleanup1, 1, 2, 3, four='hello', five='goodbye')
28 test.addCleanup(cleanup2)
30 self.assertEqual(test._cleanups,
34 result = test.doCleanups()
47 def addError(self, test, exc_info):
48 self.errors.append((test, exc_info))
51 test = TestableTest('testNothing')
52 test._resultForDoCleanups = resul
    [all...]
test_setups.py 34 class Test(unittest.TestCase):
38 Test.setUpCalled += 1
45 result = self.runTests(Test)
47 self.assertEqual(Test.setUpCalled, 1)
52 class Test(unittest.TestCase):
56 Test.tearDownCalled += 1
63 result = self.runTests(Test)
65 self.assertEqual(Test.tearDownCalled, 1)
70 class Test(unittest.TestCase):
74 Test.tearDownCalled +=
    [all...]
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...]
  /external/autotest/frontend/afe/
resources.py 355 class Test(resource_lib.InstanceEntry):
356 model = models.Test
366 return cls(request, models.Test.objects.get(name=test_name))
374 rep = super(Test, self).short_representation()
380 rep = super(Test, self).full_representation()
401 return models.Test.add_object(name=input_dict['name'],
416 queryset = models.Test.objects.all()
417 entry_class = Test
421 related_classes = {'test': Test, 'label': Label
    [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 241 struct Test {
242 explicit explicit Test(int x); // expected-warning{{duplicate 'explicit' declaration specifier}}
  /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>&amp;&quot;toot&quot;&toot;&#x41;</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/harfbuzz_ng/test/shaping/
hb_test_tools.py 168 def add (self, test):
170 self.freq += test.freq
179 def add (self, test):
180 self.total.add (test)
181 if test.passed:
182 self.passed.add (test)
184 self.failed.add (test)
230 test = Test (lines)
231 allstats.add (test)
    [all...]
  /external/libcxx/test/libcxx/test/
config.py 10 import lit.Test # pylint: disable=import-error,no-name-in-module
13 from libcxx.test.format import LibcxxTestFormat
15 from libcxx.test.executor import *
16 from libcxx.test.tracing import *
20 # probably trying to run on a test file directly, and either the site
144 default = "libcxx.test.target_info.LocalTI"
189 # This test suite supports testing against either the system library or
204 # NOTE: We do not test for the -verify flag directly because
330 # Run a compile test for the -fsized-deallocation flag. This is needed
331 # in test/std/language.support/support.dynamic/new.delet
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/libcxx/test/
config.py 10 import lit.Test # pylint: disable=import-error,no-name-in-module
13 from libcxx.test.format import LibcxxTestFormat
15 from libcxx.test.executor import *
16 from libcxx.test.tracing import *
20 # probably trying to run on a test file directly, and either the site
144 default = "libcxx.test.target_info.LocalTI"
189 # This test suite supports testing against either the system library or
204 # NOTE: We do not test for the -verify flag directly because
330 # Run a compile test for the -fsized-deallocation flag. This is needed
331 # in test/std/language.support/support.dynamic/new.delet
    [all...]
  /external/chromium-trace/catapult/telemetry/telemetry/page/
page_run_end_to_end_unittest.py 35 "test": {
71 return 'test'
95 # TODO: remove test cases that use real browsers and replace with a
98 # TODO(nduca): Move the basic "test failed, test succeeded" tests from
152 class Test(legacy_page_test.LegacyPageTest):
155 super(Test, self).__init__(
173 test = Test()
176 story_runner.Run(test, story_set, options, results
    [all...]
  /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
271 // Test complex class hierarchy
286 // 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)", \
50 * macros to handle the boilerplate around setting up test case.
51 * Put arbitrary test code between SETUP and TEARDOWN.
144 // If this test starts failing, consult confusablesWholeScript.txt
178 // Test cases chosen for substitutions of various lengths, and
181 // TODO: for ICU 56 with Unicode 8, revisit this test.
245 // Run a single confusable skeleton transformation test case
512 Test &test = tests[testNum]; local
574 ScriptTest &test = scriptTests[testNum]; local
691 const Test &test = tests[testNum]; local
752 Test &test = tests[testNum]; local
    [all...]
  /external/opencv3/3rdparty/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
  /prebuilts/gdb/darwin-x86/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/gdb/darwin-x86/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/gdb/linux-x86/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/gdb/linux-x86/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/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...]

Completed in 1841 milliseconds

<<111213141516