Searched refs:capture_output (Results 1 – 17 of 17) sorted by relevance
/tools/asuite/atest/ |
D | atest_utils_unittest.py | 168 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 …]
|
D | atest_unittest.py | 116 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)
|
D | result_reporter_unittest.py | 273 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()
|
D | atest_utils.py | 107 capture_output = [] 112 capture_output.append(line) 115 return capture_output
|
D | cli_translator_unittest.py | 350 capture_output = StringIO() 351 sys.stdout = capture_output 356 self.assertEqual(capture_output.getvalue(), output)
|
/tools/tradefederation/core/atest/ |
D | atest_utils_unittest.py | 167 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 …]
|
D | atest_unittest.py | 116 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)
|
D | result_reporter_unittest.py | 272 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()
|
D | atest_utils.py | 96 capture_output = [] 101 capture_output.append(line) 104 return capture_output
|
D | cli_translator_unittest.py | 349 capture_output = StringIO() 350 sys.stdout = capture_output 355 self.assertEqual(capture_output.getvalue(), output)
|
/tools/repohooks/rh/ |
D | git.py | 37 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 …]
|
D | utils.py | 268 check=True, int_timeout=1, kill_timeout=1, capture_output=False, argument 303 if capture_output:
|
/tools/repohooks/tools/ |
D | google-java-format.py | 86 diff = rh.utils.run(diff_cmd, capture_output=True).stdout 94 stdout = rh.utils.run(cmd, input=diff, capture_output=True,
|
D | clang-format.py | 86 result = rh.utils.run(cmd, capture_output=True)
|
/tools/repohooks/ |
D | pre-upload.py | 352 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/ |
D | atest_tf_test_runner_unittest.py | 227 capture_output = StringIO() 228 sys.stdout = capture_output 232 self.assertTrue('tf msg' in capture_output.getvalue())
|
/tools/asuite/atest/test_runners/ |
D | atest_tf_test_runner_unittest.py | 227 capture_output = StringIO() 228 sys.stdout = capture_output 232 self.assertTrue('tf msg' in capture_output.getvalue())
|