Home
last modified time | relevance | path

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

12345678910>>...191

/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/third_party/gsutil/third_party/pyasn1/test/type/
Dtest_univ.py15 def testStr(self): assert str(univ.Integer(1)) in ('1','1L'),'str() fails' argument
16 def testAnd(self): assert univ.Integer(1) & 0 == 0, '__and__() fails' argument
17 def testOr(self): assert univ.Integer(1) | 0 == 1, '__or__() fails' argument
18 def testXor(self): assert univ.Integer(1) ^ 0 == 1, '__xor__() fails' argument
19 def testRand(self): assert 0 & univ.Integer(1) == 0, '__rand__() fails' argument
20 def testRor(self): assert 0 | univ.Integer(1) == 1, '__ror__() fails' argument
21 def testRxor(self): assert 0 ^ univ.Integer(1) == 1, '__rxor__() fails' argument
22 def testAdd(self): assert univ.Integer(-4) + 6 == 2, '__add__() fails' argument
23 def testRadd(self): assert 4 + univ.Integer(5) == 9, '__radd__() fails' argument
24 def testSub(self): assert univ.Integer(3) - 6 == -3, '__sub__() fails' argument
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python2/
Dhttplib2test.py47 def test(self): argument
66 def testFromStd66(self): argument
78 def test(self): argument
92 def test(self): argument
112 def __init__(self, body, **kwargs): argument
116 def iteritems(self): argument
123 def __init__(self, host, port=None, key_file=None, cert_file=None, argument
131 def set_debuglevel(self, level): argument
134 def connect(self): argument
138 def close(self): argument
[all …]
/external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/tests/
Dtest_tree.py39 def assertSelects(self, tags, should_match): argument
48 def assertSelectsIDs(self, tags, should_match): argument
65 def test_find_tag(self): argument
69 def test_unicode_text_find(self): argument
73 def test_find_everything(self): argument
78 def test_find_everything_with_name(self): argument
86 def test_find_all_text_nodes(self): argument
101 def test_find_all_limit(self): argument
113 def test_calling_a_tag_is_calling_findall(self): argument
118 def test_find_all_with_self_referential_data_structure_does_not_cause_infinite_recursion(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/chromium-trace/catapult/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/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python3/
Dhttplib2test.py37 def test(self): argument
56 def testFromStd66(self): argument
68 def test(self): argument
82 def test(self): argument
102 def __init__(self, body, **kwargs): argument
106 def items(self): argument
109 def iteritems(self): argument
116 def __init__(self, host, port=None, key_file=None, cert_file=None, argument
124 def set_debuglevel(self, level): argument
127 def connect(self): argument
[all …]
/external/autotest/client/common_lib/
Dbase_job_unittest.py17 def __init__(self, path, is_writable=False): argument
32 def __init__(self): argument
36 def read_from_file(self, file_path): argument
39 def write_to_file(self, file_path): argument
42 def set_backing_file(self, file_path): argument
45 def _read_from_backing_file(self): argument
48 def _write_to_backing_file(self): argument
51 def _lock_backing_file(self): argument
54 def _unlock_backing_file(self): argument
100 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/third_party/gsutil/third_party/pyasn1/test/codec/ber/
Dtest_decoder.py16 def testLargeTag(self): argument
20 def testPosInt(self): argument
22 def testNegInt(self): argument
24 def testZero(self): argument
26 def testZeroLong(self): argument
28 def testMinusOne(self): argument
30 def testPosLong(self): argument
34 def testNegLong(self): argument
38 def testSpec(self): argument
50 def testTagFormat(self): argument
[all …]
Dtest_encoder.py16 def setUp(self): argument
20 def testEncoder(self): argument
24 def testPosInt(self): argument
27 def testNegInt(self): argument
30 def testZero(self): argument
33 def testCompactZero(self): argument
39 def testMinusOne(self): argument
42 def testPosLong(self): argument
47 def testNegLong(self): argument
53 def testTrue(self): argument
[all …]
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_utils_test.py32 def __init__(self, path, package_name, perms=None): argument
37 def GetPackageName(self): argument
40 def GetPermissions(self): argument
46 def testInitWithStr(self): argument
51 def testInitWithUnicode(self): argument
56 def testInitWithAdbWrapper(self): argument
62 def testInitWithMissing_fails(self): argument
71 def testGetAVDs(self): argument
92 def testRestartServer_succeeds(self): argument
110 def __init__(self, name='/tmp/some/file'): 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 …]
/external/protobuf/python/google/protobuf/internal/
Dreflection_test.py72 def __init__(self, bytes): argument
76 def ReadVarint(self): argument
85 def ReadSInt64(self): argument
90 def ReadFieldNumberAndWireType(self): argument
93 def ReadFloat(self): argument
98 def ReadDouble(self): argument
103 def EndOfStream(self): argument
109 def assertListsEqual(self, values, others): argument
114 def testScalarConstructor(self): argument
125 def testRepeatedScalarConstructor(self): argument
[all …]
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/
Dtest_naming.py68 def testGetPathBeforeFinalDir(self): argument
90 def testCopyingTopLevelFileToBucket(self): argument
101 def testCopyingMultipleFilesToBucket(self): argument
116 def testCopyingNestedFileToBucketSubdir(self): argument
139 def testCopyingAbsolutePathDirToBucket(self): argument
156 def testCopyingRelativePathDirToBucket(self): argument
167 def testCopyingRelPathSubDirToBucketSubdirWithDollarFolderObj(self): argument
188 def testCopyingRelativePathSubDirToBucketSubdirSignifiedBySlash(self): argument
203 def testCopyingRelativePathSubDirToBucket(self): argument
215 def testCopyingDotSlashToBucket(self): argument
[all …]
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/
Dtokenizer.py37 def __init__(self, stream, encoding=None, parseMeta=True, useChardet=True, argument
57 def __iter__(self): argument
73 def consumeNumberEntity(self, isHex): argument
145 def consumeEntity(self, allowedChar=None, fromAttribute=False): argument
225 def processEntityInAttribute(self, allowedChar): argument
230 def emitCurrentToken(self): argument
251 def dataState(self): argument
280 def entityDataState(self): argument
285 def rcdataState(self): argument
314 def characterReferenceInRcdata(self): argument
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/dynamodb2/
Dtest_table.py21 def test_hash_key(self): argument
36 def test_range_key(self): argument
51 def test_alternate_type(self): argument
68 def test_all_index(self): argument
101 def test_keys_only_index(self): argument
134 def test_include_index(self): argument
174 def test_global_all_index(self): argument
215 def test_global_keys_only_index(self): argument
256 def test_global_include_index(self): argument
301 def test_global_include_index_throughput(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/chromium-trace/catapult/telemetry/third_party/webpagereplay/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/chromium-trace/catapult/dashboard/dashboard/
Dadd_point_test.py138 def setUp(self): argument
152 def testPost(self, mock_process_test): argument
260 self, mock_process_test): argument
274 self, mock_process_test): argument
288 self, mock_process_test): argument
299 def testPost_TestPathTooLong_PointRejected(self): argument
310 def testPost_TrailingSlash_Ignored(self): argument
323 def testPost_LeadingSlash_Ignored(self): argument
336 def testPost_BadJson_DataRejected(self): argument
342 def testPost_BadGraphName_DataRejected(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 …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/ec2/
Dtest_connection.py21 def setUp(self): argument
28 def default_body(self): argument
83 def test_get_reserved_instance_offerings(self): argument
105 def test_get_reserved_instance_offerings_params(self): argument
141 def default_body(self): argument
144 def test_serialized_api_args(self): argument
160 def default_body(self): argument
166 def test_minimal(self): argument
178 def test_block_device_mapping(self): argument
196 def default_body(self): argument
[all …]
/external/autotest/cli/
Djob_unittest.py19 def setUp(self): argument
106 def test_job_list_jobs(self): argument
117 def test_job_list_jobs_only_user(self): argument
129 def test_job_list_jobs_all(self): argument
139 def test_job_list_jobs_id(self): argument
160 def test_job_list_jobs_id_verbose(self): argument
182 def test_job_list_jobs_name(self): argument
203 def test_job_list_jobs_all_verbose(self): argument
213 def test_job_list_jobs_all_and_user(self): argument
226 def test_job_stat_job(self): argument
[all …]
/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/
Dclosurizednamespacesinfo_test.py66 def testGetClosurizedNamespace(self): argument
79 def testIgnoredExtraNamespaces(self): argument
95 def testIsExtraProvide_created(self): argument
108 def testIsExtraProvide_createdIdentifier(self): argument
121 def testIsExtraProvide_notCreated(self): argument
131 def testIsExtraProvide_notCreatedMultipartClosurizedNamespace(self): argument
141 def testIsExtraProvide_duplicate(self): argument
158 def testIsExtraProvide_notClosurized(self): argument
168 def testIsExtraRequire_used(self): argument
181 def testIsExtraRequire_usedIdentifier(self): argument
[all …]

12345678910>>...191