Home
last modified time | relevance | path

Searched defs:self (Results 1 – 25 of 4597) sorted by relevance

12345678910>>...184

/external/python/cpython2/Lib/email/test/
Dtest_email_renamed.py53 def ndiffAssertEqual(self, first, second): argument
63 def _msgobj(self, filename): argument
75 def test_get_all(self): argument
81 def test_getset_charset(self): argument
107 def test_set_charset_from_string(self): argument
114 def test_set_payload_with_charset(self): argument
120 def test_get_charsets(self): argument
137 def test_get_filename(self): argument
148 def test_get_filename_with_name_parameter(self): argument
155 def test_get_boundary(self): argument
[all …]
Dtest_email.py58 def ndiffAssertEqual(self, first, second): argument
68 def _msgobj(self, filename): argument
80 def test_get_all(self): argument
86 def test_getset_charset(self): argument
112 def test_set_charset_from_string(self): argument
119 def test_set_payload_with_charset(self): argument
125 def test_get_charsets(self): argument
142 def test_get_filename(self): argument
153 def test_get_filename_with_name_parameter(self): argument
160 def test_get_boundary(self): argument
[all …]
/external/antlr/antlr-3.4/runtime/Python/tests/
Dt042ast.py16 def parserClass(self, base): argument
18 def recover(self, input, re): argument
25 def parse(self, text, method, rArgs=[], **kwargs): argument
39 def testR1(self): argument
47 def testR2a(self): argument
55 def testR2b(self): argument
63 def testR3a(self): argument
71 def testR3b(self): argument
79 def testR4a(self): argument
87 def testR5a(self): argument
[all …]
Dt058rewriteAST.py9 def parserClass(self, base): argument
11 def __init__(self, *args, **kwargs): argument
18 def capture(self, t): argument
22 def traceIn(self, ruleName, ruleIndex): argument
26 def traceOut(self, ruleName, ruleIndex): argument
30 def emitErrorMessage(self, msg): argument
37 def lexerClass(self, base): argument
39 def __init__(self, *args, **kwargs): argument
45 def capture(self, t): argument
49 def traceIn(self, ruleName, ruleIndex): argument
[all …]
Dt048rewrite.py11 def setUp(self): argument
15 def _parse(self, input): argument
24 def testInsertBeforeIndex0(self): argument
33 def testInsertAfterLastIndex(self): argument
42 def test2InsertBeforeAfterMiddleIndex(self): argument
52 def testReplaceIndex0(self): argument
61 def testReplaceLastIndex(self): argument
70 def testReplaceMiddleIndex(self): argument
79 def test2ReplaceMiddleIndex(self): argument
89 def test2ReplaceMiddleIndex1InsertBefore(self): argument
[all …]
/external/python/cpython2/Lib/lib2to3/tests/
Dtest_fixers.py18 def setUp(self, fix_list=None, fixer_pkg="lib2to3", options=None): argument
29 def _check(self, before, after): argument
36 def check(self, before, after, ignore_warnings=False): argument
42 def warns(self, before, after, message, unchanged=False): argument
48 def warns_unchanged(self, before, message): argument
51 def unchanged(self, before, ignore_warnings=False): argument
56 def assert_runs_after(self, *names): argument
74 def test_basic(self): argument
82 def test_no_spaces(self): argument
90 def test_chained(self): argument
[all …]
/external/autotest/client/common_lib/
Dbase_job_unittest.py23 def __init__(self, path, is_writable=False): argument
38 def __init__(self): argument
42 def read_from_file(self, file_path): argument
45 def write_to_file(self, file_path): argument
48 def set_backing_file(self, file_path): argument
51 def _read_from_backing_file(self): argument
54 def _write_to_backing_file(self): argument
57 def _lock_backing_file(self): argument
60 def _unlock_backing_file(self): argument
106 def test_public_attributes_initialized(self): argument
[all …]
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_utils_test.py35 def __init__(self, value): argument
38 def __eq__(self, other): argument
41 def __repr__(self): argument
47 def __init__(self, path, package_name, perms=None): argument
52 def GetPackageName(self): argument
55 def GetPermissions(self): argument
65 def testInitWithStr(self): argument
70 def testInitWithUnicode(self): argument
75 def testInitWithAdbWrapper(self): argument
81 def testInitWithMissing_fails(self): argument
[all …]
/external/libmojo/third_party/catapult/devil/devil/android/
Ddevice_utils_test.py34 def __init__(self, value): argument
37 def __eq__(self, other): argument
40 def __repr__(self): argument
46 def __init__(self, path, package_name, perms=None): argument
51 def GetPackageName(self): argument
54 def GetPermissions(self): argument
64 def testInitWithStr(self): argument
69 def testInitWithUnicode(self): argument
74 def testInitWithAdbWrapper(self): argument
80 def testInitWithMissing_fails(self): argument
[all …]
/external/antlr/antlr-3.4/runtime/Python/unittests/
Dtesttree.py15 def setUp(self): argument
19 def newStream(self, t): argument
24 def testSingleNode(self): argument
37 def testTwoChildrenOfNilRoot(self): argument
39 def __init__(self, token=None, ttype=None, x=None): argument
49 def __str__(self): argument
69 def test4Nodes(self): argument
86 def testList(self): argument
109 def testFlatList(self): argument
126 def testListWithOneNode(self): argument
[all …]
/external/autotest/client/bin/net/
Dnet_utils_unittest.py12 def __init__(self, iface='some_name', test_init=False): argument
17 def setUp(self): argument
32 def tearDown(self): argument
40 def test_network_util_reset(self): argument
46 def test_network_util_start(self): argument
53 def test_network_util_stop(self): argument
60 def test_network_util_disable_ip_local_loopback(self): argument
70 def test_network_util_enable_ip_local_loopback(self): argument
83 def test_network_interface_init(self): argument
103 def test_network_interface_restore(self): argument
[all …]
Dnet_tc_unittest.py13 def setUp(self): argument
20 def tearDown(self): argument
28 def test_tcclass_get_leaf_qdisc(self): argument
32 def test_tcclass_get_parent_class(self): argument
36 def test_tcclass_set_parent_class(self): argument
40 def test_tcclass_get_minor(self): argument
44 def test_tcclass_id(self): argument
48 def test_tcclass_add_child(self): argument
52 def test_tcclass_setup(self): argument
56 def test_tcclass_restore(self): argument
[all …]
/external/python/cpython2/Lib/bsddb/test/
Dtest_dbenv.py10 def setUp(self): argument
14 def tearDown(self): argument
20 def test_get_open_flags(self) : argument
25 def test_get_open_flags2(self) : argument
32 def test_lk_partitions(self) : argument
37 def test_getset_intermediate_dir_mode(self) : argument
46 def test_thread(self) : argument
51 def test_cache_max(self) : argument
61 def test_mutex_stat(self) : argument
67 def test_lg_filemode(self) : argument
[all …]
/external/libmojo/mojo/public/tools/bindings/pylib/mojom_tests/parse/
Dparser_unittest.py32 def testTrivialValidSource(self): argument
46 def testSourceWithCrLfs(self): argument
56 def testUnexpectedEOF(self): argument
69 def testCommentLineNumbers(self): argument
131 def testSimpleStruct(self): argument
153 def testSimpleStructWithoutModule(self): argument
173 def testValidStructDefinitions(self): argument
200 def testInvalidStructDefinitions(self): argument
241 def testMissingModuleName(self): argument
272 def testMultipleModuleStatements(self): argument
[all …]
/external/python/cpython2/Lib/test/
Dtest_set.py21 def __hash__(self): argument
23 def __cmp__(self, other): argument
28 def __repr__(self): argument
33 def __init__(self, *args): argument
35 def __hash__(self): argument
42 def setUp(self): argument
49 def test_new_or_init(self): argument
53 def test_uniquification(self): argument
60 def test_len(self): argument
63 def test_contains(self): argument
[all …]
Dtest_decimal.py211 def setUp(self): argument
223 def eval_file(self, file): argument
238 def eval_line(self, s): argument
256 def eval_directive(self, s): argument
269 def eval_equation(self, s): argument
394 def getexceptions(self): argument
397 def change_precision(self, prec): argument
399 def change_rounding_method(self, rounding): argument
401 def change_min_exponent(self, exp): argument
403 def change_max_exponent(self, exp): argument
[all …]
Dtest_re.py27 def test_weakref(self): argument
33 def test_search_star_plus(self): argument
45 def bump_num(self, matchobj): argument
49 def test_basic_re_sub(self): argument
77 def test_bug_449964(self): argument
82 def test_bug_449000(self): argument
94 def test_bug_1140(self): argument
119 def test_bug_1661(self): argument
127 def test_bug_3629(self): argument
131 def test_sub_template_numeric_escape(self): argument
[all …]
Dtest_weakset.py20 def __init__(self, value): argument
22 def __eq__(self, other): argument
27 def __ne__(self, other): argument
30 def __hash__(self): argument
34 def __init__(self): argument
39 def setUp(self): argument
55 def test_methods(self): argument
63 def test_new_or_init(self): argument
66 def test_len(self): argument
72 def test_contains(self): argument
[all …]
Dtest_sets.py13 def test_repr(self): argument
17 def test_length(self): argument
20 def test_self_equality(self): argument
23 def test_equivalent_equality(self): argument
26 def test_copy(self): argument
29 def test_self_union(self): argument
33 def test_empty_union(self): argument
37 def test_union_empty(self): argument
41 def test_self_intersection(self): argument
45 def test_empty_intersection(self): argument
[all …]
Dpydocfodder.py7 def A_method(self): argument
9 def AB_method(self): argument
11 def AC_method(self): argument
13 def AD_method(self): argument
15 def ABC_method(self): argument
17 def ABD_method(self): argument
19 def ACD_method(self): argument
21 def ABCD_method(self): argument
27 def AB_method(self): argument
29 def ABC_method(self): argument
[all …]
Dtest_mailbox.py26 def _check_sample(self, msg): argument
40 def _delete_recursively(self, target): argument
53 def setUp(self): argument
58 def tearDown(self): argument
62 def test_add(self): argument
79 def test_add_file(self): argument
87 def test_add_StringIO(self): argument
91 def test_remove(self): argument
95 def test_delitem(self): argument
99 def _test_remove_or_delitem(self, method): argument
[all …]
Dtest_minidom.py56 def confirm(self, test, testname = "Test"): argument
59 def checkWholeText(self, node, s): argument
63 def testParseFromFile(self): argument
68 def testGetElementsByTagName(self): argument
74 def testInsertBefore(self): argument
117 def _create_fragment_test_nodes(self): argument
130 def testInsertBeforeFragment(self): argument
147 def testAppendChild(self): argument
154 def testAppendChildFragment(self): argument
163 def testReplaceChildFragment(self): argument
[all …]
/external/protobuf/python/google/protobuf/internal/
Dreflection_test.py76 def __init__(self, bytes): argument
80 def ReadVarint(self): argument
89 def ReadSInt64(self): argument
94 def ReadFieldNumberAndWireType(self): argument
97 def ReadFloat(self): argument
102 def ReadDouble(self): argument
107 def EndOfStream(self): argument
113 def assertListsEqual(self, values, others): argument
118 def testScalarConstructor(self): argument
131 def testRepeatedScalarConstructor(self): argument
[all …]
/external/autotest/client/common_lib/cros/
Ddev_server_unittest.py56 def __init__(self, output, exit_status=0): argument
65 def __init__(self): argument
85 def setUp(self): argument
97 def tearDown(self): argument
103 def testRunCallWithSingleCallHTTP(self): argument
115 def testRunCallWithCallAndReadlineHTTP(self): argument
128 def testRunCallWithCallAndTimeoutHTTP(self): argument
141 def testRunCallWithSingleCallSSH(self): argument
158 def testRunCallWithCallAndReadlineSSH(self): argument
176 def testRunCallWithCallAndTimeoutSSH(self): argument
[all …]
/external/chromium-trace/catapult/common/battor/battor/
Dbattor_wrapper_unittest.py21 def __init__(self, _): argument
25 def FetchPath(self, _, *unused): argument
29 def FetchPathWithVersion(self, _, *unused): argument
34 def __init__(self, *unused): argument
37 def poll(self): argument
40 def kill(self): argument
45 def setUp(self): argument
70 def tearDown(self): argument
78 def forceException(self): argument
81 def testAndroidWithBattOr(self): argument
[all …]

12345678910>>...184