Home
last modified time | relevance | path

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

12345678910>>...52

/openbmc/openbmc/poky/bitbake/lib/bb/tests/
H A Dfetch.py49 def __init__(self, seconds): argument
52 def handle_timeout(self, signum, frame): argument
55 def __enter__(self): argument
59 def __exit__(self, exc_type, exc_val, exc_tb): argument
361 def test_uri(self): argument
383 def test_dict(self): argument
444 def setUp(self): argument
456 def tearDown(self): argument
464 def git(self, cmd, cwd=None): argument
473 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 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 Ddevtool.py104 def setUp(self): argument
112 def _check_src_repo(self, repo_dir): argument
123 def _check_repo_status(self, repo_dir, expected_status): argument
139 def _test_recipe_contents(self, recipefile, checkvars, checkinherits): argument
188 def _check_bbappend(self, testrecipe, recipefile, appenddir): argument
211 …def _create_temp_layer(self, templayerdir, addlayer, templayername, priority=999, recipepathspec='… argument
217 def _process_ls_output(self, output): argument
240 def _check_diff(self, diffoutput, addlines, removelines): argument
268 def _check_runqemu_prerequisites(self): argument
293 def _test_devtool_add_git_url(self, git_url, version, pn, resulting_src_uri, srcrev=None): 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/
Dkunit_tool_test.py
/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 …]
H A D24548 def setUp(self): argument
59 def tearDown(self): argument
70 def run_qemu_io(self, img, cmd): argument
77 def check_qemu_io_errors(self): argument
91 def reopenMultiple(self, opts, errmsg = None): argument
102 def reopen(self, opts, newopts = {}, errmsg = None): argument
120 def get_node(self, node_name): argument
129 def check_node_graph(self, graph): argument
136 def test_incorrect_parameters_single_file(self): argument
177 def test_incorrect_parameters_backing_file(self): 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/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/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/openbmc/poky/scripts/esdk-tools/
H A Drunqemu29 def __init__(self, message): argument
133 def __init__(self): argument
229 acquire_taplock(self, error=True) global() argument
246 release_taplock(self) global() argument
257 check_free_port(self, host, port, lockdir) global() argument
275 acquire_portlock(self, lockfile) global() argument
290 release_portlock(self, lockfile=None) global() argument
311 get(self, key) global() argument
319 set(self, key, value) global() argument
322 is_deploy_dir_image(self, p) global() argument
334 check_arg_fstype(self, fst) global() argument
347 set_machine_deploy_dir(self, machine, deploy_dir_image) global() argument
354 check_arg_nfs(self, p) global() argument
363 check_arg_path(self, p) global() argument
421 check_arg_machine(self, arg) global() argument
471 set_dri_path(self) global() argument
483 check_args(self) global() argument
590 check_kvm(self) global() argument
635 check_fstype(self) global() argument
678 check_rootfs(self) global() argument
709 setup_pkkek1(self) global() argument
726 check_ovmf(self) global() argument
742 check_kernel(self) global() argument
772 check_dtb(self) global() argument
792 check_bios(self) global() argument
817 check_mem(self) global() argument
846 check_tcpserial(self) global() argument
859 check_and_set(self) global() argument
887 read_qemuboot(self) global() argument
943 validate_paths(self) global() argument
993 print_config(self) global() argument
1019 setup_nfs(self) global() argument
1084 setup_cmd(self) global() argument
1091 setup_net_bridge(self) global() argument
1095 make_lock_dir(self, lockdir) global() argument
1106 setup_slirp(self) global() argument
1146 setup_tap(self) global() argument
1239 setup_network(self) global() argument
1255 setup_rootfs(self) global() argument
1340 guess_qb_system(self) global() argument
1389 check_qemu_system(self) global() argument
1397 check_render_nodes(self) global() argument
1416 setup_guest_agent(self) global() argument
1422 setup_qmp(self) global() argument
1426 setup_vga(self) global() argument
1483 setup_serial(self) global() argument
1517 find_qemu(self) global() argument
1538 setup_final(self) global() argument
1571 start_qemu(self) global() argument
1611 cleanup_cmd(self) global() argument
1618 cleanup(self) global() argument
1667 run_bitbake_env(self, mach=None, target='') global() argument
1702 load_bitbake_env(self, mach=None, target=None) global() argument
1708 validate_combos(self) global() argument
1713 bindir_native(self) global() 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/
Dtest_multitouch.py
/openbmc/linux/tools/verification/dot2/
Ddot2c.py
/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 …]

12345678910>>...52