Searched refs:capture_output (Results 1 – 17 of 17) sorted by relevance
/tools/asuite/atest-py2/ |
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/asuite/atest/ |
D | atest_utils_unittest.py | 189 capture_output = StringIO() 190 sys.stdout = capture_output 195 self.assertEqual(capture_output.getvalue(), uncolored_string) 199 capture_output = StringIO() 200 sys.stdout = capture_output 205 self.assertEqual(capture_output.getvalue(), 210 capture_output = StringIO() 211 sys.stdout = capture_output 216 self.assertEqual(capture_output.getvalue(), 221 capture_output = StringIO() [all …]
|
D | atest_unittest.py | 119 capture_output = StringIO() 120 sys.stdout = capture_output 136 self.assertEqual(capture_output.getvalue(), correct_output) 140 capture_output = StringIO() 141 sys.stdout = capture_output 149 self.assertEqual(capture_output.getvalue(), null_output) 194 capture_output = StringIO() 195 sys.stdout = capture_output 224 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 | cli_translator_unittest.py | 382 capture_output = StringIO() 383 sys.stdout = capture_output 388 self.assertEqual(capture_output.getvalue(), output)
|
D | atest_utils.py | 147 capture_output = [] 152 capture_output.append(line) 155 return capture_output
|
/tools/repohooks/rh/ |
D | git.py | 34 result = rh.utils.run(cmd, capture_output=True) 39 result = rh.utils.run(cmd, capture_output=True) 50 result = rh.utils.run(cmd, capture_output=True) 57 result = rh.utils.run(cmd, capture_output=True) 63 result = rh.utils.run(cmd, capture_output=True) 74 result = rh.utils.run(cmd, capture_output=True) 89 return rh.utils.run(cmd, capture_output=True).stdout 103 return rh.utils.run(cmd, capture_output=True).stdout 145 diff = rh.utils.run(cmd, cwd=path, capture_output=True).stdout 175 return rh.utils.run(cmd, capture_output=True).stdout.split() [all …]
|
D | utils.py | 264 check=True, int_timeout=1, kill_timeout=1, capture_output=False, argument 299 if capture_output:
|
/tools/repohooks/tools/ |
D | google-java-format.py | 83 diff = rh.utils.run(diff_cmd, capture_output=True).stdout 91 stdout = rh.utils.run(cmd, input=diff, capture_output=True,
|
D | clang-format.py | 83 result = rh.utils.run(cmd, capture_output=True)
|
/tools/repohooks/ |
D | pre-upload.py | 358 result = rh.utils.run(cmd, capture_output=True) 427 return rh.utils.run(cmd, capture_output=True, cwd=path).stdout.strip() 459 git_dir = rh.utils.run(cmd, capture_output=True).stdout.strip()
|
/tools/asuite/atest-py2/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 | 236 capture_output = StringIO() 237 sys.stdout = capture_output 241 self.assertTrue('tf msg' in capture_output.getvalue())
|