1# Copyright 2013 the V8 project authors. All rights reserved.
2# Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions
6# are met:
7# 1.  Redistributions of source code must retain the above copyright
8#     notice, this list of conditions and the following disclaimer.
9# 2.  Redistributions in binary form must reproduce the above copyright
10#     notice, this list of conditions and the following disclaimer in the
11#     documentation and/or other materials provided with the distribution.
12#
13# THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY
14# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
15# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
16# DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY
17# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
18# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
19# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
20# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
22# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23
24Tests that a GetByVal that accesses a value that was PutByVal'd, but where the PutByVal invoked a setter, works correctly.
25
26On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
27
28
29PASS foo(array, -1, i) is 42
30PASS thingy is 0
31PASS foo(array, -1, i) is 42
32PASS thingy is 1
33PASS foo(array, -1, i) is 42
34PASS thingy is 2
35PASS foo(array, -1, i) is 42
36PASS thingy is 3
37PASS foo(array, -1, i) is 42
38PASS thingy is 4
39PASS foo(array, -1, i) is 42
40PASS thingy is 5
41PASS foo(array, -1, i) is 42
42PASS thingy is 6
43PASS foo(array, -1, i) is 42
44PASS thingy is 7
45PASS foo(array, -1, i) is 42
46PASS thingy is 8
47PASS foo(array, -1, i) is 42
48PASS thingy is 9
49PASS foo(array, -1, i) is 42
50PASS thingy is 10
51PASS foo(array, -1, i) is 42
52PASS thingy is 11
53PASS foo(array, -1, i) is 42
54PASS thingy is 12
55PASS foo(array, -1, i) is 42
56PASS thingy is 13
57PASS foo(array, -1, i) is 42
58PASS thingy is 14
59PASS foo(array, -1, i) is 42
60PASS thingy is 15
61PASS foo(array, -1, i) is 42
62PASS thingy is 16
63PASS foo(array, -1, i) is 42
64PASS thingy is 17
65PASS foo(array, -1, i) is 42
66PASS thingy is 18
67PASS foo(array, -1, i) is 42
68PASS thingy is 19
69PASS foo(array, -1, i) is 42
70PASS thingy is 20
71PASS foo(array, -1, i) is 42
72PASS thingy is 21
73PASS foo(array, -1, i) is 42
74PASS thingy is 22
75PASS foo(array, -1, i) is 42
76PASS thingy is 23
77PASS foo(array, -1, i) is 42
78PASS thingy is 24
79PASS foo(array, -1, i) is 42
80PASS thingy is 25
81PASS foo(array, -1, i) is 42
82PASS thingy is 26
83PASS foo(array, -1, i) is 42
84PASS thingy is 27
85PASS foo(array, -1, i) is 42
86PASS thingy is 28
87PASS foo(array, -1, i) is 42
88PASS thingy is 29
89PASS foo(array, -1, i) is 42
90PASS thingy is 30
91PASS foo(array, -1, i) is 42
92PASS thingy is 31
93PASS foo(array, -1, i) is 42
94PASS thingy is 32
95PASS foo(array, -1, i) is 42
96PASS thingy is 33
97PASS foo(array, -1, i) is 42
98PASS thingy is 34
99PASS foo(array, -1, i) is 42
100PASS thingy is 35
101PASS foo(array, -1, i) is 42
102PASS thingy is 36
103PASS foo(array, -1, i) is 42
104PASS thingy is 37
105PASS foo(array, -1, i) is 42
106PASS thingy is 38
107PASS foo(array, -1, i) is 42
108PASS thingy is 39
109PASS foo(array, -1, i) is 42
110PASS thingy is 40
111PASS foo(array, -1, i) is 42
112PASS thingy is 41
113PASS foo(array, -1, i) is 42
114PASS thingy is 42
115PASS foo(array, -1, i) is 42
116PASS thingy is 43
117PASS foo(array, -1, i) is 42
118PASS thingy is 44
119PASS foo(array, -1, i) is 42
120PASS thingy is 45
121PASS foo(array, -1, i) is 42
122PASS thingy is 46
123PASS foo(array, -1, i) is 42
124PASS thingy is 47
125PASS foo(array, -1, i) is 42
126PASS thingy is 48
127PASS foo(array, -1, i) is 42
128PASS thingy is 49
129PASS foo(array, -1, i) is 42
130PASS thingy is 50
131PASS foo(array, -1, i) is 42
132PASS thingy is 51
133PASS foo(array, -1, i) is 42
134PASS thingy is 52
135PASS foo(array, -1, i) is 42
136PASS thingy is 53
137PASS foo(array, -1, i) is 42
138PASS thingy is 54
139PASS foo(array, -1, i) is 42
140PASS thingy is 55
141PASS foo(array, -1, i) is 42
142PASS thingy is 56
143PASS foo(array, -1, i) is 42
144PASS thingy is 57
145PASS foo(array, -1, i) is 42
146PASS thingy is 58
147PASS foo(array, -1, i) is 42
148PASS thingy is 59
149PASS foo(array, -1, i) is 42
150PASS thingy is 60
151PASS foo(array, -1, i) is 42
152PASS thingy is 61
153PASS foo(array, -1, i) is 42
154PASS thingy is 62
155PASS foo(array, -1, i) is 42
156PASS thingy is 63
157PASS foo(array, -1, i) is 42
158PASS thingy is 64
159PASS foo(array, -1, i) is 42
160PASS thingy is 65
161PASS foo(array, -1, i) is 42
162PASS thingy is 66
163PASS foo(array, -1, i) is 42
164PASS thingy is 67
165PASS foo(array, -1, i) is 42
166PASS thingy is 68
167PASS foo(array, -1, i) is 42
168PASS thingy is 69
169PASS foo(array, -1, i) is 42
170PASS thingy is 70
171PASS foo(array, -1, i) is 42
172PASS thingy is 71
173PASS foo(array, -1, i) is 42
174PASS thingy is 72
175PASS foo(array, -1, i) is 42
176PASS thingy is 73
177PASS foo(array, -1, i) is 42
178PASS thingy is 74
179PASS foo(array, -1, i) is 42
180PASS thingy is 75
181PASS foo(array, -1, i) is 42
182PASS thingy is 76
183PASS foo(array, -1, i) is 42
184PASS thingy is 77
185PASS foo(array, -1, i) is 42
186PASS thingy is 78
187PASS foo(array, -1, i) is 42
188PASS thingy is 79
189PASS foo(array, -1, i) is 42
190PASS thingy is 80
191PASS foo(array, -1, i) is 42
192PASS thingy is 81
193PASS foo(array, -1, i) is 42
194PASS thingy is 82
195PASS foo(array, -1, i) is 42
196PASS thingy is 83
197PASS foo(array, -1, i) is 42
198PASS thingy is 84
199PASS foo(array, -1, i) is 42
200PASS thingy is 85
201PASS foo(array, -1, i) is 42
202PASS thingy is 86
203PASS foo(array, -1, i) is 42
204PASS thingy is 87
205PASS foo(array, -1, i) is 42
206PASS thingy is 88
207PASS foo(array, -1, i) is 42
208PASS thingy is 89
209PASS foo(array, -1, i) is 42
210PASS thingy is 90
211PASS foo(array, -1, i) is 42
212PASS thingy is 91
213PASS foo(array, -1, i) is 42
214PASS thingy is 92
215PASS foo(array, -1, i) is 42
216PASS thingy is 93
217PASS foo(array, -1, i) is 42
218PASS thingy is 94
219PASS foo(array, -1, i) is 42
220PASS thingy is 95
221PASS foo(array, -1, i) is 42
222PASS thingy is 96
223PASS foo(array, -1, i) is 42
224PASS thingy is 97
225PASS foo(array, -1, i) is 42
226PASS thingy is 98
227PASS foo(array, -1, i) is 42
228PASS thingy is 99
229PASS foo(array, -1, i) is 42
230PASS thingy is 100
231PASS foo(array, -1, i) is 42
232PASS thingy is 101
233PASS foo(array, -1, i) is 42
234PASS thingy is 102
235PASS foo(array, -1, i) is 42
236PASS thingy is 103
237PASS foo(array, -1, i) is 42
238PASS thingy is 104
239PASS foo(array, -1, i) is 42
240PASS thingy is 105
241PASS foo(array, -1, i) is 42
242PASS thingy is 106
243PASS foo(array, -1, i) is 42
244PASS thingy is 107
245PASS foo(array, -1, i) is 42
246PASS thingy is 108
247PASS foo(array, -1, i) is 42
248PASS thingy is 109
249PASS foo(array, -1, i) is 42
250PASS thingy is 110
251PASS foo(array, -1, i) is 42
252PASS thingy is 111
253PASS foo(array, -1, i) is 42
254PASS thingy is 112
255PASS foo(array, -1, i) is 42
256PASS thingy is 113
257PASS foo(array, -1, i) is 42
258PASS thingy is 114
259PASS foo(array, -1, i) is 42
260PASS thingy is 115
261PASS foo(array, -1, i) is 42
262PASS thingy is 116
263PASS foo(array, -1, i) is 42
264PASS thingy is 117
265PASS foo(array, -1, i) is 42
266PASS thingy is 118
267PASS foo(array, -1, i) is 42
268PASS thingy is 119
269PASS foo(array, -1, i) is 42
270PASS thingy is 120
271PASS foo(array, -1, i) is 42
272PASS thingy is 121
273PASS foo(array, -1, i) is 42
274PASS thingy is 122
275PASS foo(array, -1, i) is 42
276PASS thingy is 123
277PASS foo(array, -1, i) is 42
278PASS thingy is 124
279PASS foo(array, -1, i) is 42
280PASS thingy is 125
281PASS foo(array, -1, i) is 42
282PASS thingy is 126
283PASS foo(array, -1, i) is 42
284PASS thingy is 127
285PASS foo(array, -1, i) is 42
286PASS thingy is 128
287PASS foo(array, -1, i) is 42
288PASS thingy is 129
289PASS foo(array, -1, i) is 42
290PASS thingy is 130
291PASS foo(array, -1, i) is 42
292PASS thingy is 131
293PASS foo(array, -1, i) is 42
294PASS thingy is 132
295PASS foo(array, -1, i) is 42
296PASS thingy is 133
297PASS foo(array, -1, i) is 42
298PASS thingy is 134
299PASS foo(array, -1, i) is 42
300PASS thingy is 135
301PASS foo(array, -1, i) is 42
302PASS thingy is 136
303PASS foo(array, -1, i) is 42
304PASS thingy is 137
305PASS foo(array, -1, i) is 42
306PASS thingy is 138
307PASS foo(array, -1, i) is 42
308PASS thingy is 139
309PASS foo(array, -1, i) is 42
310PASS thingy is 140
311PASS foo(array, -1, i) is 42
312PASS thingy is 141
313PASS foo(array, -1, i) is 42
314PASS thingy is 142
315PASS foo(array, -1, i) is 42
316PASS thingy is 143
317PASS foo(array, -1, i) is 42
318PASS thingy is 144
319PASS foo(array, -1, i) is 42
320PASS thingy is 145
321PASS foo(array, -1, i) is 42
322PASS thingy is 146
323PASS foo(array, -1, i) is 42
324PASS thingy is 147
325PASS foo(array, -1, i) is 42
326PASS thingy is 148
327PASS foo(array, -1, i) is 42
328PASS thingy is 149
329PASS foo(array, -1, i) is 42
330PASS thingy is 150
331PASS foo(array, -1, i) is 42
332PASS thingy is 151
333PASS foo(array, -1, i) is 42
334PASS thingy is 152
335PASS foo(array, -1, i) is 42
336PASS thingy is 153
337PASS foo(array, -1, i) is 42
338PASS thingy is 154
339PASS foo(array, -1, i) is 42
340PASS thingy is 155
341PASS foo(array, -1, i) is 42
342PASS thingy is 156
343PASS foo(array, -1, i) is 42
344PASS thingy is 157
345PASS foo(array, -1, i) is 42
346PASS thingy is 158
347PASS foo(array, -1, i) is 42
348PASS thingy is 159
349PASS foo(array, -1, i) is 42
350PASS thingy is 160
351PASS foo(array, -1, i) is 42
352PASS thingy is 161
353PASS foo(array, -1, i) is 42
354PASS thingy is 162
355PASS foo(array, -1, i) is 42
356PASS thingy is 163
357PASS foo(array, -1, i) is 42
358PASS thingy is 164
359PASS foo(array, -1, i) is 42
360PASS thingy is 165
361PASS foo(array, -1, i) is 42
362PASS thingy is 166
363PASS foo(array, -1, i) is 42
364PASS thingy is 167
365PASS foo(array, -1, i) is 42
366PASS thingy is 168
367PASS foo(array, -1, i) is 42
368PASS thingy is 169
369PASS foo(array, -1, i) is 42
370PASS thingy is 170
371PASS foo(array, -1, i) is 42
372PASS thingy is 171
373PASS foo(array, -1, i) is 42
374PASS thingy is 172
375PASS foo(array, -1, i) is 42
376PASS thingy is 173
377PASS foo(array, -1, i) is 42
378PASS thingy is 174
379PASS foo(array, -1, i) is 42
380PASS thingy is 175
381PASS foo(array, -1, i) is 42
382PASS thingy is 176
383PASS foo(array, -1, i) is 42
384PASS thingy is 177
385PASS foo(array, -1, i) is 42
386PASS thingy is 178
387PASS foo(array, -1, i) is 42
388PASS thingy is 179
389PASS foo(array, -1, i) is 42
390PASS thingy is 180
391PASS foo(array, -1, i) is 42
392PASS thingy is 181
393PASS foo(array, -1, i) is 42
394PASS thingy is 182
395PASS foo(array, -1, i) is 42
396PASS thingy is 183
397PASS foo(array, -1, i) is 42
398PASS thingy is 184
399PASS foo(array, -1, i) is 42
400PASS thingy is 185
401PASS foo(array, -1, i) is 42
402PASS thingy is 186
403PASS foo(array, -1, i) is 42
404PASS thingy is 187
405PASS foo(array, -1, i) is 42
406PASS thingy is 188
407PASS foo(array, -1, i) is 42
408PASS thingy is 189
409PASS foo(array, -1, i) is 42
410PASS thingy is 190
411PASS foo(array, -1, i) is 42
412PASS thingy is 191
413PASS foo(array, -1, i) is 42
414PASS thingy is 192
415PASS foo(array, -1, i) is 42
416PASS thingy is 193
417PASS foo(array, -1, i) is 42
418PASS thingy is 194
419PASS foo(array, -1, i) is 42
420PASS thingy is 195
421PASS foo(array, -1, i) is 42
422PASS thingy is 196
423PASS foo(array, -1, i) is 42
424PASS thingy is 197
425PASS foo(array, -1, i) is 42
426PASS thingy is 198
427PASS foo(array, -1, i) is 42
428PASS thingy is 199
429PASS successfullyParsed is true
430
431TEST COMPLETE
432
433