Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(275)

Side by Side Diff: tests/ppapi_file_system/ppapi_file_system.html

Issue 7167018: Migrating test/ppapi_file_system to messaging (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html> 3 <html>
4 <!-- Copyright 2011 Google Inc. All rights reserved. --> 4 <!-- Copyright 2011 Google Inc. All rights reserved. -->
5 <head> 5 <head>
6 <META HTTP-EQUIV="Pragma" CONTENT="no-cache" /> 6 <META HTTP-EQUIV="Pragma" CONTENT="no-cache" />
7 <META HTTP-EQUIV="Expires" CONTENT="-1" /> 7 <META HTTP-EQUIV="Expires" CONTENT="-1" />
8 <script type="text/javascript" src="nacltest.js"></script> 8 <script type="text/javascript" src="nacltest.js"></script>
9 <script type="application/x-javascript"> 9 <script type="text/javascript" src="ppapi_file_system.js"></script>
10 //<![CDATA[
11 function setupTests(tester, plugin) {
12 tester.addTest('PPB_FileSystem_Dev::Create', function(status) {
13 status.assert(plugin.testCreate());
14 });
15
16 tester.addTest('PPB_FileSystem_Dev::IsFileSystem', function(status) {
17 status.assert(plugin.testIsFileSystem());
18 });
19
20 // TODO(ncbray): Replace with async test harness.
21 tester.addTest('PPB_FileSystem_Dev::Open', function(status) {
22 status.assert(plugin.testOpen());
23 status.waitForCallback('OpenCallback', 4);
24 });
25
26 tester.addTest('PPB_FileSytem_Dev::GetType', function(status) {
27 status.assert(plugin.testGetType());
28 });
29 } // STOP!!!
30 //]]>
31 </script>
32 <title>PPAPI PPB_FileSytem_Dev Test</title> 10 <title>PPAPI PPB_FileSytem_Dev Test</title>
33 </head> 11 </head>
34 <body> 12 <body>
35 <h1>PPAPI PPB_FileSystem_Dev Test</h1> 13 <h1>PPAPI PPB_FileSystem_Dev Test</h1>
36 14
37 <embed type="application/x-nacl" id="test_nexe" 15 <embed type="application/x-nacl" id="test_nexe"
38 name="nacl_module" 16 name="nacl_module"
39 src="ppapi_file_system.nmf" 17 src="ppapi_file_system.nmf"
40 width="0" height="0" /> 18 width="0" height="0" />
41 19
42 <script type="text/javascript"> 20 <script type="text/javascript">
43 //<![CDATA[ 21 //<![CDATA[
44 var tester = new Tester(); 22 var tester = new Tester();
45 setupTests(tester, $('test_nexe')); 23 setupTests(tester, $('test_nexe'));
46 tester.waitFor($('test_nexe')); 24 tester.waitFor($('test_nexe'));
47 tester.run(); 25 tester.run();
48 //]]> 26 //]]>
49 </script> 27 </script>
50 </body> 28 </body>
51 </html> 29 </html>
OLDNEW
« no previous file with comments | « tests/ppapi_file_system/ppapi_file_system.cc ('k') | tests/ppapi_file_system/ppapi_file_system.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698