Home
last modified time | relevance | path

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

12345678910>>...143

/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
Dfake_filesystem_test.py45 def assertModeEqual(self, expected, actual): argument
50 def setUp(self): argument
56 def tearDown(self): argument
59 def testNewFileAndDirectory(self): argument
65 def testAddEntry(self): argument
69 def testGetEntry(self): argument
73 def testRemoveEntry(self): argument
79 def testShouldThrowIfSetSizeIsNotInteger(self): argument
82 def testShouldThrowIfSetSizeIsNegative(self): argument
85 def testProduceEmptyFileIfSetSizeIsZero(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/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
105 def test_public_attributes_initialized(self): argument
[all …]
Dbase_utils_unittest.py21 def setUp(self): argument
26 def tearDown(self): argument
30 def test_ip_to_long(self): argument
37 def test_long_to_ip(self): argument
44 def test_create_subnet_mask(self): argument
50 def test_format_ip_with_mask(self): argument
61 def create_test_file(self, contents): argument
66 def test_reads_one_line_file(self): argument
72 def test_strips_read_lines(self): argument
78 def test_drops_extra_lines(self): argument
[all …]
/external/chromium-trace/catapult/telemetry/third_party/mox3/mox3/tests/
Dtest_mox.py37 def testAtLeastOneMethod(self): argument
40 def testOneError(self): argument
49 def testManyErrors(self): argument
71 def testValidOr(self): argument
77 def testInvalidOr(self): argument
85 def testValidAnd(self): argument
89 def testClauseOneFails(self): argument
94 def testAdvancedUsage(self): argument
103 def testAdvancedUsageFails(self): argument
113 def testFuncTrueFalseEvaluation(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/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 …]
Dt051treeRewriteAST.py8 def walkerClass(self, base): argument
10 def __init__(self, *args, **kwargs): argument
14 def traceIn(self, ruleName, ruleIndex): argument
18 def traceOut(self, ruleName, ruleIndex): argument
22 def recover(self, input, re): argument
29 def execTreeParser(self, grammar, grammarEntry, treeGrammar, treeEntry, input): argument
49 def testFlatList(self): argument
85 def testSimpleTree(self): argument
120 def testCombinedRewriteAndAuto(self): argument
164 def testAvoidDup(self): argument
[all …]
Dt057autoAST.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 …]
/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/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/ipaddr/
Dipaddr_test.py33 def setUp(self): argument
38 def tearDown(self): argument
44 def testRepr(self): argument
50 def testAutoMasking(self): argument
60 def testAddressIntMath(self): argument
70 def testInvalidStrings(self): argument
162 def testGetNetwork(self): argument
174 def testBadVersionComparison(self): argument
191 def testMixedTypeComparison(self): argument
216 def testIpFromInt(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/autotest/client/common_lib/cros/
Ddev_server_unittest.py54 def __init__(self, output, exit_status=0): argument
63 def __init__(self): argument
83 def setUp(self): argument
94 def tearDown(self): argument
100 def testRunCallWithSingleCallHTTP(self): argument
112 def testRunCallWithCallAndReadlineHTTP(self): argument
125 def testRunCallWithCallAndTimeoutHTTP(self): argument
138 def testRunCallWithSingleCallSSH(self): argument
151 def testRunCallWithCallAndReadlineSSH(self): argument
165 def testRunCallWithCallAndTimeoutSSH(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/fonttools/Lib/fontTools/misc/
DpsOperators.py13 def __init__(self, value): argument
17 def __repr__(self): argument
25 def __init__(self, name, function): argument
29 def __repr__(self): argument
34 def __repr__(self): argument
36 def __str__(self): argument
47 def __str__(self): argument
54 def __str__(self): argument
58 def __str__(self): argument
70 def __repr__(self): argument
[all …]
/external/autotest/site_utils/
Dgs_offloader_unittest.py66 def setUp(self): argument
73 def _mock_get_offload_func(self, is_moblab, multiprocessing=False, argument
93 def test_process_no_options(self): argument
106 def test_process_all_option(self): argument
118 def test_process_hosts_option(self): argument
132 def test_parallelism_option(self): argument
146 def test_delete_only_option(self): argument
160 def test_days_old_option(self): argument
174 def test_moblab_gsuri_generation(self): argument
187 def test_globalconfig_offloading_flag(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 …]
/external/autotest/cli/
Djob_unittest.py22 def setUp(self): argument
109 def test_job_list_jobs(self): argument
120 def test_job_list_jobs_only_user(self): argument
131 def test_job_list_jobs_all(self): argument
140 def test_job_list_jobs_id(self): argument
160 def test_job_list_jobs_id_verbose(self): argument
181 def test_job_list_jobs_name(self): argument
201 def test_job_list_jobs_all_verbose(self): argument
210 def test_job_list_jobs_all_and_user(self): argument
222 def test_job_stat_job(self): argument
[all …]
/external/selinux/python/sepolicy/sepolicy/
Dgenerate.py199 def __init__(self, name, type): argument
392 def __isnetset(self, l): argument
395 def set_admin_domains(self, admin_domains): argument
398 def set_existing_domains(self, existing_domains): argument
401 def set_admin_roles(self, roles): argument
404 def set_transition_domains(self, transition_domains): argument
407 def set_transition_users(self, transition_users): argument
410 def use_in_udp(self): argument
413 def use_out_udp(self): argument
416 def use_udp(self): argument
[all …]
/external/antlr/antlr-3.4/runtime/Python/antlr3/
Dtree.py67 def __init__(self, elementDescription): argument
73 def getMessage(self): argument
80 def __init__(self, elementDescription=None): argument
114 def getChild(self, i): argument
118 def getChildCount(self): argument
122 def getParent(self): argument
127 def setParent(self, t): argument
133 def hasAncestor(self, ttype): argument
138 def getAncestor(self, ttype): argument
143 def getAncestors(self): argument
[all …]
/external/autotest/client/cros/faft/
Drpc_functions.py31 def wrapper(self, section): argument
49 def __init__(self, handler_class, *args, **kargs): argument
54 def _load(self): argument
59 def __getattr__(self, name): argument
64 def reload(self): argument
91 def __init__(self): argument
145 def _dispatch(self, method, params): argument
174 def _system_is_available(self): argument
181 def _system_has_host(self): argument
185 def _system_wait_for_client(self, timeout): argument
[all …]

12345678910>>...143