/third_party/ninja/misc/ |
D | ninja_syntax_test.py | 38 self.assertEqual(LONGWORD + '\n', self.out.getvalue()) 46 self.out.getvalue()) 52 self.out.getvalue()) 64 self.out.getvalue()) 72 self.out.getvalue()) 79 self.out.getvalue()) 89 self.out.getvalue()) 98 self.out.getvalue()) 107 self.out.getvalue()) 116 self.out.getvalue()) [all …]
|
/third_party/libxml2/python/tests/ |
D | outbuf.py | 18 if f.getvalue() != "foobar": 36 if f.getvalue() != expected: 38 print(' got: %s' % repr(f.getvalue())) 60 if f.getvalue() != expected[i]: 62 print(' got: %s' % repr(f.getvalue())) 81 if f.getvalue() != expected: 83 print(' got: %s' % repr(f.getvalue())) 89 if f.getvalue() != expected: 91 print(' got: %s' % repr(f.getvalue()))
|
/third_party/PyYAML/lib/yaml/ |
D | __init__.py | 164 getvalue = None 167 getvalue = stream.getvalue 175 if getvalue: 176 return getvalue() 187 getvalue = None 193 getvalue = stream.getvalue 205 if getvalue: 206 return getvalue() 225 getvalue = None 231 getvalue = stream.getvalue [all …]
|
/third_party/python/Lib/test/test_email/ |
D | test_generator.py | 92 self.assertEqual(s.getvalue(), self.typ(self.refold_long_expected[n])) 99 self.assertEqual(s.getvalue(), self.typ(self.refold_long_expected[n])) 107 self.assertEqual(s.getvalue(), self.typ(self.refold_long_expected[n])) 115 self.assertEqual(s.getvalue(), self.typ(self.refold_long_expected[0])) 123 self.assertEqual(s.getvalue(), self.typ(self.refold_all_expected[n])) 132 self.assertEqual(s.getvalue(), self.typ(expected)) 141 self.assertEqual(s.getvalue(), self.typ(expected)) 163 self.assertEqual(s.getvalue(), self.typ(expected)) 170 self.assertEqual(s.getvalue(), self.typ(self.refold_long_expected[0])) 193 self.assertEqual(s.getvalue(), self.typ(expected)) [all …]
|
/third_party/python/Lib/test/ |
D | test_memoryio.py | 90 self.assertEqual(memio.getvalue(), buf) 93 self.assertEqual(memio.getvalue(), buf) 103 self.assertEqual(memio.getvalue(), buf * 100) 105 self.assertEqual(memio.getvalue(), buf * 100) 108 self.assertEqual(memio.getvalue(), buf) 129 self.assertEqual(memio.getvalue(), buf[:8]) 131 self.assertEqual(memio.getvalue(), buf[:6]) 133 self.assertEqual(memio.getvalue(), buf[:4]) 137 self.assertEqual(memio.getvalue(), buf[:4] + buf) 149 self.assertEqual(memio.getvalue(), buf) [all …]
|
D | test_exceptions.py | 1499 report = stderr.getvalue() 1680 self.assertIn(suggestion, err.getvalue()) 1690 self.assertIn("'global_for_suggestions'?", err.getvalue()) 1700 self.assertIn("'ZeroDivisionError'?", err.getvalue()) 1713 self.assertNotIn("somethingverywronghehe", err.getvalue()) 1724 self.assertNotIn("you mean", err.getvalue()) 1725 self.assertNotIn("vvv", err.getvalue()) 1726 self.assertNotIn("mom", err.getvalue()) 1727 self.assertNotIn("'id'", err.getvalue()) 1728 self.assertNotIn("'w'", err.getvalue()) [all …]
|
D | test_uu.py | 44 def getvalue(self): member in FakeIO 46 return self.buffer.getvalue().decode(self._encoding, self._errors) 64 self.assertEqual(out.getvalue(), encodedtextwrapped(0o666, "t1")) 68 self.assertEqual(out.getvalue(), encodedtextwrapped(0o644, "t1")) 72 self.assertEqual(out.getvalue(), encodedtextwrapped(0o666, "t1", True)) 81 self.assertEqual(out.getvalue(), plaintext) 89 self.assertEqual(out.getvalue(), plaintext) 132 self.assertEqual(out.getvalue(), plaintext) 146 self.assertIn(safefilename, out.getvalue()) 162 self.assertEqual(sys.stdout.getvalue(), [all …]
|
D | test_sax.py | 133 self.assertEqual(result.getvalue(), xml_str(self.data, 'utf-8')) 222 self.assertEqual(result.getvalue(), xml_str(self.data, 'utf-8')) 444 self.assertEqual(result.getvalue(), self.xml("<doc></doc>")) 454 self.assertEqual(result.getvalue(), self.xml("<doc/>")) 466 self.assertEqual(result.getvalue(), self.xml("<doc>huhei</doc>")) 478 self.assertEqual(result.getvalue(), self.xml("<doc>huhei</doc>")) 490 self.assertEqual(result.getvalue(), 503 self.assertEqual(result.getvalue(), 521 self.assertEqual(result.getvalue(), self.xml( 540 self.assertEqual(result.getvalue(), [all …]
|
D | test_wsgiref.py | 82 return out.getvalue(), err.getvalue() 652 self.assertEqual(h.stdout.getvalue(), 660 self.assertEqual(h.stdout.getvalue(), 667 self.assertEqual(h.stdout.getvalue(), 675 self.assertEqual(h.stdout.getvalue(), 691 self.assertEqual(h.stdout.getvalue(), 695 self.assertEqual(h.stderr.getvalue(),"") 699 self.assertEqual(h.stdout.getvalue(), 706 self.assertIn("AssertionError", h.stderr.getvalue()) 716 self.assertEqual(h.stdout.getvalue(), [all …]
|
D | test_pydoc.py | 679 result = buf.getvalue().strip() 684 self.assertEqual('', output.getvalue()) 685 self.assertEqual('', err.getvalue()) 694 helptext = help_io.getvalue() 704 helptext = help_io.getvalue() 921 self.assertEqual(out.getvalue(), '') 922 self.assertEqual(err.getvalue(), '') 927 self.assertEqual(out.getvalue().strip(), 'syntaxerr') 928 self.assertEqual(err.getvalue(), '') 942 self.assertEqual(out.getvalue(), '') [all …]
|
D | test_traceback.py | 237 self.assertEqual(output.getvalue(), "Exception: projector\n") 242 self.assertEqual(output.getvalue(), "Exception: projector\n") 263 self.assertEqual(excfile.getvalue(), NONE_EXC_STRING) 267 self.assertEqual(excfile.getvalue(), NONE_EXC_STRING) 271 self.assertEqual(excfile.getvalue(), NONE_EXC_STRING) 317 python_fmt = file_.getvalue() 334 self.assertEqual(tbstderr.getvalue(), tbfile.getvalue()) 336 self.assertEqual(excstderr.getvalue(), excfile.getvalue()) 337 self.assertEqual(excfmt, excfile.getvalue()) 364 self.assertEqual(ststderr.getvalue(), stfile.getvalue()) [all …]
|
D | test_cmd.py | 195 self.assertMultiLineEqual(output.getvalue(), 207 self.assertMultiLineEqual(output.getvalue(), 216 self.assertMultiLineEqual(output.getvalue(),
|
D | test_site.py | 145 self.assertRegex(err_out.getvalue(), "line 1") 146 self.assertRegex(err_out.getvalue(), 151 self.assertRegex(err_out.getvalue(), 'Traceback') 152 self.assertRegex(err_out.getvalue(), r'import bad-syntax') 153 self.assertRegex(err_out.getvalue(), 'SyntaxError') 160 self.assertRegex(err_out.getvalue(), "line 2") 161 self.assertRegex(err_out.getvalue(), 164 self.assertRegex(err_out.getvalue(), 'Traceback') 165 self.assertRegex(err_out.getvalue(), 'ModuleNotFoundError') 179 self.assertEqual(err_out.getvalue(), "") [all …]
|
D | test_tabnanny.py | 116 self.assertEqual(stderr.getvalue() , expected) 163 self.assertEqual(stdout.getvalue(), out) 164 self.assertEqual(stderr.getvalue(), err) 189 stdout = stdout.getvalue() 193 self.assertEqual(stderr.getvalue(), "")
|
D | test_multibytecodec.py | 329 self.assertEqual(s.getvalue(), b'123') 331 self.assertEqual(s.getvalue(), b'123\x907\x959') 333 self.assertEqual(s.getvalue(), 340 self.assertEqual(s.getvalue(), b'123') 342 self.assertEqual(s.getvalue(), b'123\xf0\x92\x8d\x85') 344 self.assertEqual(s.getvalue(), 352 self.assertEqual(s.getvalue(), b'abcd')
|
D | test_timeit.py | 235 self.assert_exc_string(s.getvalue(), 'ZeroDivisionError') 252 return s.getvalue() 353 self.assertEqual(error_stringio.getvalue(), 359 self.assert_exc_string(error_stringio.getvalue(), 'ZeroDivisionError') 364 self.assert_exc_string(error_stringio.getvalue(), 'ZeroDivisionError') 397 self.assertEqual(s.getvalue(), expected)
|
/third_party/node/test/tools/ |
D | test_checkimports.py | 34 output = out.getvalue() 48 output = out.getvalue() 55 output = out.getvalue() 62 output = out.getvalue() 73 output = out.getvalue()
|
/third_party/musl/libc-test/src/functionalext/supplement/process/ |
D | posix_spawnattr_getflags.c | 31 short getvalue = 0; in posix_spawnattr_getflags_0100() local 34 ret = posix_spawnattr_getflags(&spawnattr, &getvalue); in posix_spawnattr_getflags_0100() 36 EXPECT_EQ("posix_spawnattr_getflags_0100", getvalue, POSIX_SPAWN_RESETIDS); in posix_spawnattr_getflags_0100()
|
D | posix_spawnattr_getpgroup.c | 31 pid_t getvalue = -1; in posix_spawnattr_getpgroup_0100() local 34 ret = posix_spawnattr_getpgroup(&spawnattr, &getvalue); in posix_spawnattr_getpgroup_0100() 36 EXPECT_EQ("posix_spawnattr_getpgroup_0100", getvalue, group); in posix_spawnattr_getpgroup_0100()
|
/third_party/python/Lib/unittest/test/ |
D | test_result.py | 48 def getvalue(self): member in BufferedWriter 469 self.assertTrue(stream.getvalue().endswith('\n\nOK\n')) 594 self.assertEqual(out_stream.getvalue(), 'foo\n') 595 self.assertEqual(err_stream.getvalue(), 'bar\n') 597 self.assertEqual(result._original_stdout.getvalue(), '') 598 self.assertEqual(result._original_stderr.getvalue(), '') 606 self.assertEqual(result._original_stdout.getvalue(), '') 607 self.assertEqual(result._original_stderr.getvalue(), '') 609 self.assertEqual(out_stream.getvalue(), '') 610 self.assertEqual(err_stream.getvalue(), '') [all …]
|
/third_party/python/Lib/lib2to3/tests/ |
D | test_main.py | 51 output = out.getvalue().decode("ascii") 54 "your terminal", err.getvalue()) 87 stderr = err.getvalue() 115 stderr = err.getvalue() 130 stderr = err.getvalue()
|
/third_party/PyYAML/tests/lib/ |
D | test_input_output.py | 60 data2 = stream.getvalue() 77 data4 = stream.getvalue() 95 data1 = stream.getvalue() 98 data2 = stream.getvalue().decode('utf-16-le')[1:] 129 output2 = stream.getvalue()
|
/third_party/python/Lib/test/test_importlib/frozen/ |
D | test_loader.py | 26 return module, stdout.getvalue() 105 self.assertEqual(stdout.getvalue(), 'Hello world!\n') 123 self.assertEqual(stdout.getvalue(), 'Hello world!\n') 141 self.assertEqual(stdout.getvalue(), 'Hello world!\n') 151 self.assertEqual(stdout.getvalue(), 192 self.assertEqual(stdout.getvalue(), 'Hello world!\n')
|
/third_party/boost/tools/build/test/ |
D | builtin_glob_archive.py | 46 t.write(f, output.getvalue()) 67 t.write("lib/jamfile.jam", output.getvalue()) 95 t.write("file.jam", output.getvalue())
|
/third_party/python/Lib/unittest/ |
D | result.py | 86 output = sys.stdout.getvalue() 87 error = sys.stderr.getvalue() 191 output = sys.stdout.getvalue() 192 error = sys.stderr.getvalue()
|