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

Side by Side Diff: ppapi/native_client/tests/ppapi_simple_tests/file2.stdin

Issue 11358131: NaCl: remove dead tests and files from the SCons build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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
(Empty)
1 # To be used with
2 # sel_universal_ppapi_replay_prolog.stdin
3 # define a bunch of variables for readability
4
5 # NOTE: this test exercises the request.SetStreamToFile(true) case
6 # which does not result in a 200 return code
7 # So the expected outcome of this tests is a failure.
8
9 set_variable MODULE i(4444)
10 set_variable INSTANCE i(5555)
11
12 # Tags used by pepper/srpc to marshall js parameters
13 set_variable JS_STR 4:5
14 set_variable JS_INT 4:2
15
16 # NOTE: the strings below must not contain unescaped spaces or commas
17
18 set_variable FILE_DATA1 C(6,hello\x20)
19 set_variable FILE_SIZE1 i(6)
20 set_variable FILE_DATA2 C(6,world!)
21 set_variable FILE_SIZE2 i(6)
22
23 set_variable PARAM_STR_URL R(24,${JS_STR},4:10,"myurl.html",6:0)
24 set_variable PARAM_STR_GET R(16,${JS_STR},4:3,"GET",5:0)
25 set_variable PARAM_NUM_0 R(8,${JS_INT},4:0)
26 set_variable PARAM_NUM_1 R(8,${JS_INT},4:1)
27 set_variable PARAM_STATUS R(8,4:3,4:200)
28
29 set_variable NUM_TAGS i(3)
30 set_variable TAGS C(23,chunk_size\000url\000to_file\000)
31 set_variable VALUES C(16,10\000myurl.html\0001\000)
32
33 set_variable ERROR R(48,${JS_STR},4:33,"5555: Error: Finish unexpected rv",7:0)
34
35 ######################################################################
36
37 # These replays are too common to list them separately
38 # TODO(robertm): make the counts tight, eliminate PPB_Var ASAP
39
40 replay 1 PPB_GetInterface:s:i s("PPB_Messaging;1.0") * i(1)
41 replay 1 PPB_GetInterface:s:i s("PPB_Core;1.0") * i(1)
42 replay 1 PPB_GetInterface:s:i s("PPB_Var;1.0") * i(1)
43 replay 1 PPB_GetInterface:s:i s("PPB_URLRequestInfo;1.0") * i(1)
44 replay 1 PPB_GetInterface:s:i s("PPB_URLResponseInfo;1.0") * i(1)
45 replay 1 PPB_GetInterface:s:i s("PPB_URLLoader;1.0") * i(1)
46 replay 1 PPB_GetInterface:s:i s("PPB_FileIO;1.0") * i(1)
47
48 ######################################################################
49
50 echo
51 echo "*** INIT MODULE"
52 # the results contain a process id which is non-determinisitic
53 rpc PPP_InitializeModule hide-results i(0) ${MODULE} h(pepper_desc) s("${service _string}") * i(0) i(0)
54
55 echo
56 echo "*** Load URL"
57 replay 1 PPB_URLRequestInfo_Create:i:i ${INSTANCE} * i(30)
58 replay 1 PPB_URLLoader_Create:i:i ${INSTANCE} * i(34)
59 replay 1 PPB_URLRequestInfo_SetProperty:iiC:i i(30) i(0) ${PARAM_STR_URL} * i(1)
60 replay 1 PPB_URLRequestInfo_SetProperty:iiC:i i(30) i(1) ${PARAM_STR_GET} * i(1)
61 replay 1 PPB_URLRequestInfo_SetProperty:iiC:i i(30) i(3) ${PARAM_NUM_1} * i(1)
62 replay 1 PPB_URLLoader_Open:iii:i i(34) i(30) i(1) * i(-1)
63 replay 1 PPB_Core_ReleaseResource:i: i(30) *
64 rpc PPP_Instance_DidCreate ${INSTANCE} ${NUM_TAGS} ${TAGS} ${VALUES} * i(0)
65
66 echo
67 echo "*** async Open Callback"
68 replay 1 PPB_URLLoader_GetResponseInfo:i:i i(34) * i(38)
69 replay 1 PPB_URLResponseInfo_GetProperty:ii:C i(38) i(3) * ${PARAM_STATUS}
70 replay 1 PPB_URLLoader_ReadResponseBody:iii:Ci i(34) i(10) i(2) * C(0,) i(-1)
71 replay 1 PPB_Core_ReleaseResource:i: i(38) *
72 replay 1 PPB_Messaging_PostMessage:iC: ${INSTANCE} ${ERROR} *
73 rpc RunCompletionCallback i(1) i(0) C(0,) *
74
75
76 ######################################################################
77 ## EPILOG
78 ######################################################################
79 echo
80 echo "*** DONE"
81 rpc PPP_ShutdownModule *
82
83
OLDNEW
« no previous file with comments | « ppapi/native_client/tests/ppapi_simple_tests/file1.stdout ('k') | ppapi/native_client/tests/ppapi_simple_tests/file2.stdout » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698