MCPcopy Index your code
hub / github.com/nodejs/node / __init__

Method __init__

deps/v8/tools/testrunner/local/command.py:355–370  ·  view source on GitHub ↗

Initialize the command and all files that need to be pushed to the Android device.

(self, shell, args=None, cmd_prefix=None, timeout=60, env=None,
               verbose=False, test_case=None, handle_sigterm=False,
               log_process_stats=False)

Source from the content-addressed store, hash-verified

353 driver = None
354
355 def __init__(self, shell, args=None, cmd_prefix=None, timeout=60, env=None,
356 verbose=False, test_case=None, handle_sigterm=False,
357 log_process_stats=False):
358 """Initialize the command and all files that need to be pushed to the
359 Android device.
360 """
361 super(AndroidCommand, self).__init__(
362 shell, args=args, cmd_prefix=cmd_prefix, timeout=timeout, env=env,
363 verbose=verbose, handle_sigterm=handle_sigterm,
364 log_process_stats=log_process_stats)
365
366 self.args = [str(arg) for arg in args]
367
368 test_case_resources = test_case.get_android_resources() if test_case else []
369 files_from_args = files_from_relative_args(args)
370 self.files_to_push = test_case_resources + files_from_args
371
372 def execute(self, **additional_popen_kwargs):
373 """Execute the command on the device.

Callers

nothing calls this directly

Calls 4

strFunction · 0.85
files_from_relative_argsFunction · 0.85
__init__Method · 0.45
get_android_resourcesMethod · 0.45

Tested by

no test coverage detected