Home
last modified time | relevance | path

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

12345678910>>...55

/openbmc/openbmc/poky/bitbake/lib/bb/tests/
H A Dfetch.py33 def __init__(self, seconds): argument
36 def handle_timeout(self, signum, frame): argument
39 def __enter__(self): argument
43 def __exit__(self, exc_type, exc_val, exc_tb): argument
330 def test_uri(self): argument
352 def test_dict(self): argument
413 def setUp(self): argument
425 def tearDown(self): argument
433 def git(self, cmd, cwd=None): argument
442 def git_init(self, cwd=None): argument
[all …]
H A Devent.py27 def __init__(self): argument
31 def _store_event_data_string(self, event): argument
42 def __init__(self): argument
45 def send(self, event): argument
52 def __init__(self): argument
55 def sendpickle(self, pickled_event): argument
62 def __init__(self): argument
70 def setUp(self): argument
78 def _create_test_handlers(self): argument
85 def test_class_handlers(self): argument
[all …]
H A Ddata.py18 def __enter__(self): argument
21 def emit(self, record): argument
28 def __exit__(self, type, value, traceback): argument
41 def setUp(self): argument
47 def test_one_var(self): argument
51 def test_indirect_one_var(self): argument
55 def test_indirect_and_another(self): argument
59 def test_python_snippet(self): argument
63 def test_python_snippet_w_dict(self): argument
67 def test_python_unexpanded_multi(self): argument
[all …]
H A Dcodeparser.py22 def setUp(self): argument
25 def setEmptyVars(self, varlist): argument
29 def setValues(self, values): argument
33 def assertReferences(self, refs): argument
36 def assertExecs(self, execs): argument
39 def assertContains(self, contains): argument
44 def parseExpression(self, exp): argument
49 def test_simple_reference(self): argument
54 def test_nested_reference(self): argument
60 def test_python_reference(self): argument
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Dwic.py59 def setUpLocal(self): argument
75 def tearDownLocal(self): argument
80 def _get_image_env_path(self, image): argument
90 def test_version(self): argument
94 def test_help(self): argument
99 def test_createhelp(self): argument
103 def test_listhelp(self): argument
107 def test_help_create(self): argument
111 def test_help_list(self): argument
115 def test_help_overview(self): argument
[all …]
H A Ddevtool.py100 def setUp(self): argument
108 def _check_src_repo(self, repo_dir): argument
119 def _check_repo_status(self, repo_dir, expected_status): argument
135 def _test_recipe_contents(self, recipefile, checkvars, checkinherits): argument
184 def _check_bbappend(self, testrecipe, recipefile, appenddir): argument
207 …def _create_temp_layer(self, templayerdir, addlayer, templayername, priority=999, recipepathspec='… argument
213 def _process_ls_output(self, output): argument
236 def _check_diff(self, diffoutput, addlines, removelines): argument
264 def _check_runqemu_prerequisites(self): argument
289 def _test_devtool_add_git_url(self, git_url, version, pn, resulting_src_uri, srcrev=None): argument
[all …]
H A Dbbtests.py17 def getline(self, res, line): argument
23 def test_run_bitbake_from_dir_1(self): argument
28 def test_run_bitbake_from_dir_2(self): argument
35 def test_run_bitbake_from_dir_3(self): argument
42 def test_event_handler(self): argument
51 def test_local_sstate(self): argument
58 def test_bitbake_invalid_recipe(self): argument
62 def test_bitbake_invalid_target(self): argument
66 def test_warnings_errors(self): argument
73 def test_invalid_patch(self): argument
[all …]
H A Drecipetool.py43 def setUpLocal(self): argument
54 def tearDownLocal(self): argument
58 def _try_recipetool_appendcmd(self, cmd, testrecipe, expectedfiles, expectedlines=None): argument
97 …def _try_recipetool_appendfile(self, testrecipe, destfile, newfile, options, expectedlines, expect… argument
101 def _try_recipetool_appendfile_fail(self, destfile, newfile, checkerror): argument
109 def test_recipetool_appendfile_basic(self): argument
116 def test_recipetool_appendfile_invalid(self): argument
122 def test_recipetool_appendfile_alternatives(self): argument
151 def test_recipetool_appendfile_binary(self): argument
159 def test_recipetool_appendfile_add(self): argument
[all …]
/openbmc/u-boot/tools/binman/
H A Dftest.py81 def setUpClass(self): argument
135 def tearDownClass(self): argument
141 def setUp(self): argument
146 def tearDown(self): argument
151 def _ResetDtbs(self): argument
156 def _RunBinman(self, *args, **kwargs): argument
170 def _DoBinman(self, *args): argument
189 def _DoTestFile(self, fname, debug=False, map=False, update_dtb=False, argument
221 def _SetupDtb(self, fname, outfile='u-boot.dtb'): argument
242 def _GetDtbContentsForSplTpl(self, dtb_data, name): argument
[all …]
/openbmc/linux/tools/testing/kunit/
H A Dkunit_tool_test.py43 def test_is_subset_of(self): argument
53 def test_read_from_file(self): argument
67 def test_write_to_file(self): argument
83 def setUp(self): argument
87 def noPrintCallContains(self, substr: str): argument
91 def assertContains(self, needle: str, haystack: kunit_parser.LineStream): argument
99 def test_output_isolated_correctly(self): argument
110 def test_output_with_prefix_isolated_correctly(self): argument
139 def test_parse_successful_test_log(self): argument
146 def test_parse_successful_nested_tests_log(self): argument
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D04147 def setUp(self): argument
56 def tearDown(self): argument
65 def test_complete(self): argument
78 def test_cancel(self): argument
88 def test_cancel_after_ready(self): argument
101 def test_pause(self): argument
123 def test_small_buffer(self): argument
137 def test_small_buffer2(self): argument
152 def test_large_cluster(self): argument
170 def test_implicit_node(self): argument
[all …]
H A D04039 def wait_for_complete(self, need_ready=False): argument
61 def run_commit_test(self, top, base, need_ready=False, node_names=False): argument
69 def run_default_commit_test(self): argument
80 def setUp(self): argument
96 def tearDown(self): argument
102 def test_commit(self): argument
109 def test_commit_node(self): argument
117 def test_commit_with_filter_and_quit(self): argument
131 def test_commit_plus_filter_and_quit(self): argument
143 def test_device_not_found(self): argument
[all …]
H A D05549 def setUp(self): argument
60 def tearDown(self): argument
68 def do_test_cancel(self, cmd, target): argument
77 def test_cancel_drive_backup(self): argument
80 def test_cancel_blockdev_backup(self): argument
83 def do_test_pause(self, cmd, target, image): argument
109 def test_pause_drive_backup(self): argument
112 def test_pause_blockdev_backup(self): argument
115 def do_test_resize_blockdev_backup(self, device, node): argument
129 def test_source_resize_blockdev_backup(self): argument
[all …]
H A D03035 def setUp(self): argument
50 def tearDown(self): argument
56 def test_stream(self): argument
71 def test_stream_intermediate(self): argument
91 def test_stream_pause(self): argument
120 def test_stream_no_op(self): argument
139 def test_stream_partial(self): argument
154 def test_device_not_found(self): argument
159 def test_job_id_missing(self): argument
163 def test_read_only(self): argument
[all …]
H A D11848 def process_events(self): argument
58 def wait_for_open(self): argument
66 def wait_for_close(self): argument
76 def test_blockdev_change_medium(self): argument
89 def test_eject(self): argument
99 def test_tray_eject_change(self): argument
119 def test_tray_open_close(self): argument
146 def test_tray_eject_close(self): argument
165 def test_tray_open_change(self): argument
190 def test_cycle(self, read_only_node=False): argument
[all …]
/openbmc/openbmc/poky/bitbake/lib/hashserv/
H A Dtests.py44 …def start_server(self, dbpath=None, upstream=None, read_only=False, prefunc=server_prefunc, anon_p… argument
70 def make_dbpath(self): argument
73 def start_client(self, server_address, username=None, password=None): argument
82 def start_test_server(self): argument
86 def start_auth_server(self): argument
92 def auth_client(self, user): argument
95 def setUp(self): argument
103 def assertClientGetHash(self, client, taskhash, unihash): argument
107 def assertUserPerms(self, user, permissions): argument
115 def assertUserCanAuth(self, user): argument
[all …]
/openbmc/qemu/python/tests/
H A Dprotocol.py35 def __init__(self, name=None): argument
40 async def _establish_session(self): argument
44 async def _do_start_server(self, address, ssl=None): argument
52 async def _do_accept(self): argument
58 async def _do_connect(self, address, ssl=None): argument
65 async def _do_recv(self) -> None: argument
69 def _do_send(self, msg: None) -> None: argument
72 async def send_msg(self) -> None: argument
75 async def simulate_disconnect(self) -> None: argument
95 def __init__(self, name=None): argument
[all …]
/openbmc/pyphosphor/obmc/utils/
H A Dtestpathtree.py6 def test_set_depth_1(self): argument
10 def test_set_depth_2(self): argument
14 def test_get_no_key(self): argument
19 def test_get_depth_1(self): argument
24 def test_get_depth_2(self): argument
30 def test_get_default(self): argument
33 def test_get_present(self): argument
38 def test_set_2_depth_1(self): argument
46 def test_set_2_depth_2_common_parent(self): argument
54 def test_set_2_depth_2_separate_parent(self): argument
[all …]
/openbmc/openbmc/poky/scripts/esdk-tools/
H A Drunqemu29 def __init__(self, message): argument
133 def __init__(self): argument
229 def acquire_taplock(self, error=True): argument
246 def release_taplock(self): argument
257 def check_free_port(self, host, port, lockdir): argument
275 def acquire_portlock(self, lockfile): argument
290 def release_portlock(self, lockfile=None): argument
311 def get(self, key): argument
319 def set(self, key, value): argument
322 def is_deploy_dir_image(self, p): argument
[all …]
/openbmc/openbmc/poky/scripts/
H A Drunqemu29 def __init__(self, message): argument
133 def __init__(self): argument
229 def acquire_taplock(self, error=True): argument
246 def release_taplock(self): argument
257 def check_free_port(self, host, port, lockdir): argument
275 def acquire_portlock(self, lockfile): argument
290 def release_portlock(self, lockfile=None): argument
311 def get(self, key): argument
319 def set(self, key, value): argument
322 def is_deploy_dir_image(self, p): argument
[all …]
/openbmc/linux/tools/testing/selftests/hid/tests/
H A Dtest_multitouch.py57 def __init__(self, id, x, y): argument
73 def __init__(self, x, y): argument
102 self, argument
150 def touches_in_a_report(self): argument
153 def event(self, slots, global_data=None, contact_count=None, incr_scantime=True): argument
177 def get_report(self, req, rnum, rtype): argument
196 def set_report(self, req, rnum, rtype, data): argument
237 self, argument
260 self, argument
289 def __init__(self, max_slots): argument
[all …]
/openbmc/u-boot/tools/buildman/
H A Dkconfiglib.py104 def __init__(self, filename="Kconfig", base_dir=None, print_warnings=True, argument
233 def get_arch(self): argument
240 def get_srcarch(self): argument
247 def get_srctree(self): argument
254 def get_base_dir(self): argument
259 def get_kconfig_filename(self): argument
264 def get_config_filename(self): argument
269 def get_config_header(self): argument
281 def get_mainmenu_text(self): argument
288 def get_defconfig_filename(self): argument
[all …]
/openbmc/u-boot/tools/dtoc/
H A Dtest_fdt65 def setUp(self): argument
68 def testFdt(self): argument
74 def testGetNode(self): argument
83 def testFlush(self): argument
95 def testPack(self): argument
99 def testGetFdt(self): argument
103 def testGetProps(self): argument
112 def testCheckError(self): argument
118 def testGetFdt(self): argument
133 def setUp(self): argument
[all …]
H A Dtest_fdt.py65 def setUp(self): argument
68 def testFdt(self): argument
74 def testGetNode(self): argument
83 def testFlush(self): argument
95 def testPack(self): argument
99 def testGetFdt(self): argument
103 def testGetProps(self): argument
112 def testCheckError(self): argument
118 def testGetFdt(self): argument
133 def setUp(self): argument
[all …]
/openbmc/linux/tools/verification/dot2/
H A Ddot2c.py25 def __init__(self, file_path): argument
29 def __buff_to_string(self, buff): argument
38 def __get_enum_states_content(self): argument
48 def get_enum_states_string(self): argument
52 def format_states_enum(self): argument
60 def __get_enum_events_content(self): argument
74 def get_enum_events_string(self): argument
78 def format_events_enum(self): argument
86 def get_minimun_type(self): argument
100 def format_automaton_definition(self): argument
[all …]

12345678910>>...55