Home
last modified time | relevance | path

Searched refs:capture_output (Results 1 – 17 of 17) sorted by relevance

/tools/asuite/atest/
Datest_utils_unittest.py168 capture_output = StringIO()
169 sys.stdout = capture_output
174 self.assertEqual(capture_output.getvalue(), uncolored_string)
178 capture_output = StringIO()
179 sys.stdout = capture_output
184 self.assertEqual(capture_output.getvalue(),
189 capture_output = StringIO()
190 sys.stdout = capture_output
195 self.assertEqual(capture_output.getvalue(),
200 capture_output = StringIO()
[all …]
Datest_unittest.py116 capture_output = StringIO()
117 sys.stdout = capture_output
133 self.assertEqual(capture_output.getvalue(), correct_output)
137 capture_output = StringIO()
138 sys.stdout = capture_output
146 self.assertEqual(capture_output.getvalue(), null_output)
189 capture_output = StringIO()
190 sys.stdout = capture_output
219 self.assertEqual(capture_output.getvalue(), correct_output)
Dresult_reporter_unittest.py273 capture_output = StringIO()
274 sys.stdout = capture_output
290 capture_output_str = capture_output.getvalue().strip()
293 capture_output = StringIO()
294 sys.stdout = capture_output
309 capture_output_str = capture_output.getvalue().strip()
Datest_utils.py107 capture_output = []
112 capture_output.append(line)
115 return capture_output
Dcli_translator_unittest.py350 capture_output = StringIO()
351 sys.stdout = capture_output
356 self.assertEqual(capture_output.getvalue(), output)
/tools/tradefederation/core/atest/
Datest_utils_unittest.py167 capture_output = StringIO()
168 sys.stdout = capture_output
173 self.assertEqual(capture_output.getvalue(), uncolored_string)
177 capture_output = StringIO()
178 sys.stdout = capture_output
183 self.assertEqual(capture_output.getvalue(),
188 capture_output = StringIO()
189 sys.stdout = capture_output
194 self.assertEqual(capture_output.getvalue(),
199 capture_output = StringIO()
[all …]
Datest_unittest.py116 capture_output = StringIO()
117 sys.stdout = capture_output
133 self.assertEqual(capture_output.getvalue(), correct_output)
137 capture_output = StringIO()
138 sys.stdout = capture_output
146 self.assertEqual(capture_output.getvalue(), null_output)
189 capture_output = StringIO()
190 sys.stdout = capture_output
219 self.assertEqual(capture_output.getvalue(), correct_output)
Dresult_reporter_unittest.py272 capture_output = StringIO()
273 sys.stdout = capture_output
289 capture_output_str = capture_output.getvalue().strip()
292 capture_output = StringIO()
293 sys.stdout = capture_output
308 capture_output_str = capture_output.getvalue().strip()
Datest_utils.py96 capture_output = []
101 capture_output.append(line)
104 return capture_output
Dcli_translator_unittest.py349 capture_output = StringIO()
350 sys.stdout = capture_output
355 self.assertEqual(capture_output.getvalue(), output)
/tools/repohooks/rh/
Dgit.py37 result = rh.utils.run(cmd, capture_output=True)
42 result = rh.utils.run(cmd, capture_output=True)
53 result = rh.utils.run(cmd, capture_output=True)
60 result = rh.utils.run(cmd, capture_output=True)
66 result = rh.utils.run(cmd, capture_output=True)
77 result = rh.utils.run(cmd, capture_output=True)
92 return rh.utils.run(cmd, capture_output=True).stdout
106 return rh.utils.run(cmd, capture_output=True).stdout
148 diff = rh.utils.run(cmd, cwd=path, capture_output=True).stdout
178 return rh.utils.run(cmd, capture_output=True).stdout.split()
[all …]
Dutils.py268 check=True, int_timeout=1, kill_timeout=1, capture_output=False, argument
303 if capture_output:
/tools/repohooks/tools/
Dgoogle-java-format.py86 diff = rh.utils.run(diff_cmd, capture_output=True).stdout
94 stdout = rh.utils.run(cmd, input=diff, capture_output=True,
Dclang-format.py86 result = rh.utils.run(cmd, capture_output=True)
/tools/repohooks/
Dpre-upload.py352 result = rh.utils.run(cmd, capture_output=True)
421 return rh.utils.run(cmd, capture_output=True, cwd=path).stdout.strip()
453 git_dir = rh.utils.run(cmd, capture_output=True).stdout.strip()
/tools/tradefederation/core/atest/test_runners/
Datest_tf_test_runner_unittest.py227 capture_output = StringIO()
228 sys.stdout = capture_output
232 self.assertTrue('tf msg' in capture_output.getvalue())
/tools/asuite/atest/test_runners/
Datest_tf_test_runner_unittest.py227 capture_output = StringIO()
228 sys.stdout = capture_output
232 self.assertTrue('tf msg' in capture_output.getvalue())