/external/chromium_org/third_party/WebKit/Source/testing/plugin/Tests/ |
NullNPPGetValuePointer.cpp | 45 static PluginTest::Register<NullNPPGetValuePointer> registrar("null-npp-getvalue-pointer"); 49 , m_originalNPPGetValuePointer(pluginFunctions->getvalue) 51 // Be sneaky and null out the getvalue pointer the browser is holding. This simulates a plugin 55 pluginFunctions->getvalue = 0; 62 pluginFunctions->getvalue = m_originalNPPGetValuePointer;
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
outputtee_unittest.py | 42 self.assertEqual(file1.getvalue(), "foo bar\nbaz\n") 43 self.assertEqual(file2.getvalue(), file1.getvalue())
|
/external/chromium_org/tools/grit/grit/gather/ |
txt_unittest.py | 26 self.failUnless(gatherer.GetText() == input.getvalue()) 29 input.getvalue())
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_softspace.py | 17 self.assertEqual(f.getvalue(), 'a\nb c d\te\nf g\n')
|
test_future5.py | 17 self.assertEqual(s.getvalue(), "foo\n")
|
test_StringIO.py | 44 self.assertEqual(f.getvalue(), 'abcuvwxyz!') 50 self.assertEqual(f.getvalue(), 'abc') 65 eq(f.getvalue(), 'abcdefghij') 67 eq(f.getvalue(), 'abcde') 69 eq(f.getvalue(), 'abcdexyz') 108 self.assertRaises(ValueError, self._fp.getvalue) 146 self.assertEqual(len(f.getvalue()), size) 165 s = f.getvalue() 176 self.assertEqual(f.getvalue(), '\x00\x01\x02') 188 s = f.getvalue() [all...] |
test_multibytecodec.py | 165 self.assertEqual(s.getvalue(), '123') 167 self.assertEqual(s.getvalue(), '123\x907\x959') 169 self.assertEqual(s.getvalue(), '123\x907\x959') 171 self.assertEqual(s.getvalue(), 174 self.assertEqual(s.getvalue(), 177 self.assertEqual(s.getvalue(), 184 self.assertEqual(s.getvalue(), '123') 186 self.assertEqual(s.getvalue(), '123\xf0\x92\x8d\x85') 191 self.assertEqual(s.getvalue(), '123\xf0\x92\x8d\x85') 193 self.assertEqual(s.getvalue(), [all...] |
test_site.py | 115 self.assertRegexpMatches(err_out.getvalue(), "line 1") 116 self.assertRegexpMatches(err_out.getvalue(), 121 self.assertRegexpMatches(err_out.getvalue(), 'Traceback') 122 self.assertRegexpMatches(err_out.getvalue(), r'import bad\)syntax') 123 self.assertRegexpMatches(err_out.getvalue(), 'SyntaxError') 130 self.assertRegexpMatches(err_out.getvalue(), "line 2") 131 self.assertRegexpMatches(err_out.getvalue(), 134 self.assertRegexpMatches(err_out.getvalue(), 'Traceback') 135 self.assertRegexpMatches(err_out.getvalue(), 'ImportError') 144 self.assertRegexpMatches(err_out.getvalue(), "line 1" [all...] |
test_atexit.py | 27 self.assertEqual(self.subst_io.getvalue(), 39 self.assertEqual(self.subst_io.getvalue(), "h3\nh2\nh1\n") 51 self.assertEqual(self.subst_io.getvalue(), "h2\nh1\n")
|
test_sax.py | 43 self.assertRaises(KeyError, attrs.getValue, "attr") 60 self.assertRaises(KeyError, attrs.getValue, (ns_uri, "attr")) 87 self.assertEqual(attrs.getValue("attr"), "val") 183 self.assertEqual(result.getvalue(), start + "<doc></doc>") 195 self.assertEqual(result.getvalue(), start + "<doc>huhei</doc>") 207 self.assertEqual(result.getvalue(), start + "<?test data?><doc></doc>") 219 self.assertEqual(result.getvalue(), 237 self.assertEqual(result.getvalue(), start + 256 self.assertEqual(result.getvalue(), ( 271 self.assertEqual(result.getvalue(), 432 def getvalue(self): member in class:WriterXmlgenTest.ioclass [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_softspace.py | 17 self.assertEqual(f.getvalue(), 'a\nb c d\te\nf g\n')
|
test_future5.py | 17 self.assertEqual(s.getvalue(), "foo\n")
|
test_StringIO.py | 44 self.assertEqual(f.getvalue(), 'abcuvwxyz!') 50 self.assertEqual(f.getvalue(), 'abc') 65 eq(f.getvalue(), 'abcdefghij') 67 eq(f.getvalue(), 'abcde') 69 eq(f.getvalue(), 'abcdexyz') 108 self.assertRaises(ValueError, self._fp.getvalue) 146 self.assertEqual(len(f.getvalue()), size) 165 s = f.getvalue() 176 self.assertEqual(f.getvalue(), '\x00\x01\x02') 188 s = f.getvalue() [all...] |
test_multibytecodec.py | 165 self.assertEqual(s.getvalue(), '123') 167 self.assertEqual(s.getvalue(), '123\x907\x959') 169 self.assertEqual(s.getvalue(), '123\x907\x959') 171 self.assertEqual(s.getvalue(), 174 self.assertEqual(s.getvalue(), 177 self.assertEqual(s.getvalue(), 184 self.assertEqual(s.getvalue(), '123') 186 self.assertEqual(s.getvalue(), '123\xf0\x92\x8d\x85') 191 self.assertEqual(s.getvalue(), '123\xf0\x92\x8d\x85') 193 self.assertEqual(s.getvalue(), [all...] |
test_site.py | 115 self.assertRegexpMatches(err_out.getvalue(), "line 1") 116 self.assertRegexpMatches(err_out.getvalue(), 121 self.assertRegexpMatches(err_out.getvalue(), 'Traceback') 122 self.assertRegexpMatches(err_out.getvalue(), r'import bad\)syntax') 123 self.assertRegexpMatches(err_out.getvalue(), 'SyntaxError') 130 self.assertRegexpMatches(err_out.getvalue(), "line 2") 131 self.assertRegexpMatches(err_out.getvalue(), 134 self.assertRegexpMatches(err_out.getvalue(), 'Traceback') 135 self.assertRegexpMatches(err_out.getvalue(), 'ImportError') 144 self.assertRegexpMatches(err_out.getvalue(), "line 1" [all...] |
test_atexit.py | 27 self.assertEqual(self.subst_io.getvalue(), 39 self.assertEqual(self.subst_io.getvalue(), "h3\nh2\nh1\n") 51 self.assertEqual(self.subst_io.getvalue(), "h2\nh1\n")
|
test_sax.py | 43 self.assertRaises(KeyError, attrs.getValue, "attr") 60 self.assertRaises(KeyError, attrs.getValue, (ns_uri, "attr")) 87 self.assertEqual(attrs.getValue("attr"), "val") 183 self.assertEqual(result.getvalue(), start + "<doc></doc>") 195 self.assertEqual(result.getvalue(), start + "<doc>huhei</doc>") 207 self.assertEqual(result.getvalue(), start + "<?test data?><doc></doc>") 219 self.assertEqual(result.getvalue(), 237 self.assertEqual(result.getvalue(), start + 256 self.assertEqual(result.getvalue(), ( 271 self.assertEqual(result.getvalue(), 432 def getvalue(self): member in class:WriterXmlgenTest.ioclass [all...] |
/external/chromium_org/tools/grit/grit/tool/ |
xmb_unittest.py | 50 output = self.xmb_file.getvalue() 57 output = self.xmb_file.getvalue() 77 output = self.xmb_file.getvalue() 86 output = self.xmb_file.getvalue() 98 output = self.xmb_file.getvalue()
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/views/ |
printing_unittest.py | 84 self.assertFalse(stream.getvalue()) 87 self.assertTrue(stream.getvalue()) 133 self.assertIn("Using port 'test-mac-leopard'", err.getvalue()) 134 self.assertIn('Test configuration: <leopard, x86, release>', err.getvalue()) 135 self.assertIn('View the test results at file:///tmp', err.getvalue()) 136 self.assertIn('Baseline search path: test-mac-leopard -> test-mac-snowleopard -> generic', err.getvalue()) 137 self.assertIn('Using Release build', err.getvalue()) 138 self.assertIn('Pixel tests enabled', err.getvalue()) 139 self.assertIn('Command line:', err.getvalue()) 140 self.assertIn('Regular timeout: ', err.getvalue()) [all...] |
buildbot_results_unittest.py | 45 self.assertFalse(stream.getvalue()) 48 self.assertTrue(stream.getvalue()) 63 self.assertEqual(out.getvalue(), DASHED_LINE) 90 output = out.getvalue() 102 self.assertTrue(out.getvalue().find('but passed') != -1)
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t054main.py | 73 self.failUnlessEqual(len(stdout.getvalue().splitlines()), 3) 99 self.failUnlessEqual(len(stdout.getvalue().splitlines()), 3) 125 self.failUnlessEqual(len(stdout.getvalue().splitlines()), 3) 153 stdout = stdout.getvalue() 184 stdout = stdout.getvalue().strip() 225 stdout = stdout.getvalue().strip() 268 stdout = stdout.getvalue().strip() 313 stdout = stdout.getvalue().strip()
|
/external/chromium_org/content/test/plugin/ |
plugin_private_test.cc | 24 NPError result = browser->getvalue( 33 HostFunctions()->getvalue(id(), NPNVWindowNPObject, &window_obj);
|
plugin_delete_plugin_in_stream_test.cc | 39 HostFunctions()->getvalue(id(), NPNVWindowNPObject, &window_obj);
|
/external/chromium_org/tools/perf/measurements/ |
loading_measurement_analyzer_unittest.py | 24 output = output.getvalue() 42 output = output.getvalue()
|
/external/chromium_org/chrome/test/chromedriver/ |
embed_extension_in_cpp.py | 32 string_buffer.getvalue())
|