Home
last modified time | relevance | path

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

12345678910>>...57

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/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.py52 def ndiffAssertEqual(self, first, second): argument
62 def _msgobj(self, filename): argument
74 def test_get_all(self): argument
80 def test_getset_charset(self): argument
106 def test_set_charset_from_string(self): argument
113 def test_set_payload_with_charset(self): argument
119 def test_get_charsets(self): argument
136 def test_get_filename(self): argument
147 def test_get_filename_with_name_parameter(self): argument
154 def test_get_boundary(self): argument
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/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 …]
Dtest_pytree.py36 def test_deprecated_prefix_methods(self): argument
51 def test_instantiate_base(self): argument
56 def test_leaf(self): argument
61 def test_leaf_repr(self): argument
65 def test_leaf_str(self): argument
71 def test_leaf_str_numeric_value(self): argument
78 def test_leaf_equality(self): argument
87 def test_leaf_prefix(self): argument
95 def test_node(self): argument
102 def test_node_repr(self): argument
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_minidom.py49 def confirm(self, test, testname = "Test"): argument
52 def checkWholeText(self, node, s): argument
56 def testParseFromFile(self): argument
61 def testGetElementsByTagName(self): argument
67 def testInsertBefore(self): argument
110 def _create_fragment_test_nodes(self): argument
123 def testInsertBeforeFragment(self): argument
140 def testAppendChild(self): argument
147 def testAppendChildFragment(self): argument
156 def testReplaceChildFragment(self): argument
[all …]
Dtest_bytes.py35 def __init__(self, value=0): argument
37 def __index__(self): argument
43 def test_basics(self): argument
48 def test_empty_sequence(self): argument
63 def test_from_list(self): argument
69 def test_from_index(self): argument
76 def test_from_ssize(self): argument
86 def test_constructor_type_errors(self): argument
96 def test_constructor_value_errors(self): argument
108 def test_compare(self): argument
[all …]
Dtest_mailbox.py24 def _check_sample(self, msg): argument
38 def _delete_recursively(self, target): argument
56 def setUp(self): argument
61 def tearDown(self): argument
65 def test_add(self): argument
82 def test_remove(self): argument
86 def test_delitem(self): argument
90 def _test_remove_or_delitem(self, method): argument
114 def test_discard(self, repetitions=10): argument
126 def test_get(self): argument
[all …]
Dtest_decimal.py210 def setUp(self): argument
222 def eval_file(self, file): argument
239 def eval_line(self, s): argument
257 def eval_directive(self, s): argument
270 def eval_equation(self, s): argument
396 def getexceptions(self): argument
399 def change_precision(self, prec): argument
401 def change_rounding_method(self, rounding): argument
403 def change_min_exponent(self, exp): argument
405 def change_max_exponent(self, exp): argument
[all …]
Dtest_subprocess.py37 def setUp(self): argument
42 def tearDown(self): argument
48 def assertStderrEqual(self, stderr, expected, msg=None): argument
58 def test_call_seq(self): argument
64 def test_check_call_zero(self): argument
70 def test_check_call_nonzero(self): argument
77 def test_check_output(self): argument
83 def test_check_output_nonzero(self): argument
90 def test_check_output_stderr(self): argument
97 def test_check_output_stdout_arg(self): argument
[all …]
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_sets.py15 def test_repr(self): argument
19 def test_length(self): argument
22 def test_self_equality(self): argument
25 def test_equivalent_equality(self): argument
28 def test_copy(self): argument
31 def test_self_union(self): argument
35 def test_empty_union(self): argument
39 def test_union_empty(self): argument
43 def test_self_intersection(self): argument
47 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_re.py19 def test_weakref(self): argument
25 def test_search_star_plus(self): argument
37 def bump_num(self, matchobj): argument
41 def test_basic_re_sub(self): argument
69 def test_bug_449964(self): argument
74 def test_bug_449000(self): argument
85 def test_bug_1140(self): argument
110 def test_bug_1661(self): argument
118 def test_bug_3629(self): argument
122 def test_sub_template_numeric_escape(self): argument
[all …]
Dtest_zipfile.py34 def setUp(self): argument
43 def make_test_archive(self, f, compression): argument
50 def zip_test(self, f, compression): argument
108 def test_stored(self): argument
112 def zip_open_test(self, f, compression): argument
136 def test_open_stored(self): argument
140 def test_open_via_zip_info(self): argument
158 def zip_random_open_test(self, f, compression): argument
173 def test_random_open_stored(self): argument
177 def test_univeral_readaheads(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
35 def setUp(self): argument
45 def test_methods(self): argument
53 def test_new_or_init(self): argument
56 def test_len(self): argument
62 def test_contains(self): argument
71 def test_union(self): argument
[all …]
Dtest_strptime.py15 def test_basic(self): argument
26 def setUp(self): argument
31 def compare_against_time(self, testing, directive, tuple_position, argument
45 def test_weekday(self): argument
53 def test_month(self): argument
61 def test_am_pm(self): argument
71 def test_timezone(self): argument
80 def test_date_time(self): argument
105 def test_lang(self): argument
114 def setUp(self): argument
[all …]
Dtest_iter.py23 def __init__(self, n): argument
26 def next(self): argument
34 def __init__(self, n): argument
36 def __iter__(self): argument
40 def __init__(self, n): argument
42 def __getitem__(self, i): argument
53 def check_iterator(self, it, seq): argument
64 def check_for_loop(self, expr, seq): argument
71 def test_iter_basic(self): argument
75 def test_iter_idempotency(self): argument
[all …]
Dtest_os.py22 def setUp(self): argument
27 def test_access(self): argument
32 def test_closerange(self): argument
54 def test_rename(self): argument
63 def setUp(self): argument
67 def tearDown(self): argument
72 def check_tempfile(self, name): argument
80 def test_tempnam(self): argument
96 def test_tmpfile(self): argument
147 def test_tmpnam(self): argument
[all …]
Dstring_tests.py10 def __init__(self, seq='wxyz'): self.seq = seq argument
11 def __len__(self): return len(self.seq) argument
12 def __getitem__(self, i): return self.seq[i] argument
15 def __init__(self): self.seq = [7, 'hello', 123L] argument
18 def __init__(self): self.seq = ['a', 'b', 'c'] argument
19 def __len__(self): return 8 argument
33 def fixtype(self, obj): argument
49 def checkequal(self, result, object, methodname, *args): argument
68 def checkraises(self, exc, object, methodname, *args): argument
78 def checkcall(self, object, methodname, *args): argument
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/
DCheck.py31 def __init__(self): argument
35 def Check(self): argument
46 def UniCheck(self): argument
59 def GeneralCheck(self): argument
64 def GeneralCheckNonAcsii(self): argument
83 def FunctionLayoutCheck(self): argument
91 def WalkTree(self): argument
110 def FunctionLayoutCheckReturnType(self): argument
123 def FunctionLayoutCheckModifier(self): argument
137 def FunctionLayoutCheckName(self): argument
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Object/POM/
DModuleObject.py33 def __init__(self): argument
38 def SetSupportedBootModes(self, SupportedBootModes): argument
41 def GetSupportedBootModes(self): argument
48 def __init__(self): argument
53 def SetEventType(self, EventType): argument
56 def GetEventType(self): argument
63 def __init__(self): argument
68 def SetHobType(self, HobType): argument
71 def GetHobType(self): argument
78 def __init__(self): argument
[all …]
DCommonObject.py24 def __init__(self): argument
27 def SetHelpText(self, HelpText): argument
30 def GetHelpText(self): argument
38 def __init__(self): argument
41 def SetHelpTextList(self, HelpTextList): argument
44 def GetHelpTextList(self): argument
52 def __init__(self): argument
55 def SetPromptList(self, PromptList): argument
58 def GetPromptList(self): argument
73 def __init__(self): argument
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/UnitTest/
DCommentParsingUnitTest.py30 def setUp(self): argument
33 def tearDown(self): argument
39 def testNormalCase1(self): argument
81 def testNormalCase2(self): argument
124 def testNormalCase3(self): argument
167 def testNormalCase4(self): argument
209 def testNormalCase5(self): argument
255 def testNormalCase6(self): argument
303 def testNormalCase7(self): argument
350 def testNormalCase8(self): argument
[all …]
DCommentGeneratingUnitTest.py44 def setUp(self): argument
47 def tearDown(self): argument
53 def testNormalCase1(self): argument
66 def testNormalCase2(self): argument
87 def testNormalCase3(self): argument
108 def testNormalCase4(self): argument
128 def testNormalCase5(self): argument
162 def setUp(self): argument
165 def tearDown(self): argument
171 def GuidFactory(self, CName, FFE, Usage, GuidType, VariableName, HelpStr): argument
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/
Dtest_loader.py15 def test_loadTestsFromTestCase(self): argument
17 def test_1(self): pass argument
18 def test_2(self): pass argument
19 def foo_bar(self): pass argument
30 def test_loadTestsFromTestCase__no_matches(self): argument
32 def foo_bar(self): pass argument
48 def test_loadTestsFromTestCase__TestSuite_subclass(self): argument
66 def test_loadTestsFromTestCase__default_method_name(self): argument
68 def runTest(self): argument
86 def test_loadTestsFromModule__TestCase_subclass(self): argument
[all …]

12345678910>>...57