blob: a44bb5fb7ecd4ff50083eadfec9bce6d2ddafc30 [file] [log] [blame]
fpizlo@apple.com0e6e1542013-03-18 18:09:22 +00001Tests what happens when you do ToString twice, and it has a side effect that clobbers the toString method in between the two ToStrings.
2
3On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6PASS foo(new String("hello"), sideEffect) is "hellohello"
7PASS foo(new String("hello"), sideEffect) is "hellohello"
8PASS foo(new String("hello"), sideEffect) is "hellohello"
9PASS foo(new String("hello"), sideEffect) is "hellohello"
10PASS foo(new String("hello"), sideEffect) is "hellohello"
11PASS foo(new String("hello"), sideEffect) is "hellohello"
12PASS foo(new String("hello"), sideEffect) is "hellohello"
13PASS foo(new String("hello"), sideEffect) is "hellohello"
14PASS foo(new String("hello"), sideEffect) is "hellohello"
15PASS foo(new String("hello"), sideEffect) is "hellohello"
16PASS foo(new String("hello"), sideEffect) is "hellohello"
17PASS foo(new String("hello"), sideEffect) is "hellohello"
18PASS foo(new String("hello"), sideEffect) is "hellohello"
19PASS foo(new String("hello"), sideEffect) is "hellohello"
20PASS foo(new String("hello"), sideEffect) is "hellohello"
21PASS foo(new String("hello"), sideEffect) is "hellohello"
22PASS foo(new String("hello"), sideEffect) is "hellohello"
23PASS foo(new String("hello"), sideEffect) is "hellohello"
24PASS foo(new String("hello"), sideEffect) is "hellohello"
25PASS foo(new String("hello"), sideEffect) is "hellohello"
26PASS foo(new String("hello"), sideEffect) is "hellohello"
27PASS foo(new String("hello"), sideEffect) is "hellohello"
28PASS foo(new String("hello"), sideEffect) is "hellohello"
29PASS foo(new String("hello"), sideEffect) is "hellohello"
30PASS foo(new String("hello"), sideEffect) is "hellohello"
31PASS foo(new String("hello"), sideEffect) is "hellohello"
32PASS foo(new String("hello"), sideEffect) is "hellohello"
33PASS foo(new String("hello"), sideEffect) is "hellohello"
34PASS foo(new String("hello"), sideEffect) is "hellohello"
35PASS foo(new String("hello"), sideEffect) is "hellohello"
36PASS foo(new String("hello"), sideEffect) is "hellohello"
37PASS foo(new String("hello"), sideEffect) is "hellohello"
38PASS foo(new String("hello"), sideEffect) is "hellohello"
39PASS foo(new String("hello"), sideEffect) is "hellohello"
40PASS foo(new String("hello"), sideEffect) is "hellohello"
41PASS foo(new String("hello"), sideEffect) is "hellohello"
42PASS foo(new String("hello"), sideEffect) is "hellohello"
43PASS foo(new String("hello"), sideEffect) is "hellohello"
44PASS foo(new String("hello"), sideEffect) is "hellohello"
45PASS foo(new String("hello"), sideEffect) is "hellohello"
46PASS foo(new String("hello"), sideEffect) is "hellohello"
47PASS foo(new String("hello"), sideEffect) is "hellohello"
48PASS foo(new String("hello"), sideEffect) is "hellohello"
49PASS foo(new String("hello"), sideEffect) is "hellohello"
50PASS foo(new String("hello"), sideEffect) is "hellohello"
51PASS foo(new String("hello"), sideEffect) is "hellohello"
52PASS foo(new String("hello"), sideEffect) is "hellohello"
53PASS foo(new String("hello"), sideEffect) is "hellohello"
54PASS foo(new String("hello"), sideEffect) is "hellohello"
55PASS foo(new String("hello"), sideEffect) is "hellohello"
56PASS foo(new String("hello"), sideEffect) is "hellohello"
57PASS foo(new String("hello"), sideEffect) is "hellohello"
58PASS foo(new String("hello"), sideEffect) is "hellohello"
59PASS foo(new String("hello"), sideEffect) is "hellohello"
60PASS foo(new String("hello"), sideEffect) is "hellohello"
61PASS foo(new String("hello"), sideEffect) is "hellohello"
62PASS foo(new String("hello"), sideEffect) is "hellohello"
63PASS foo(new String("hello"), sideEffect) is "hellohello"
64PASS foo(new String("hello"), sideEffect) is "hellohello"
65PASS foo(new String("hello"), sideEffect) is "hellohello"
66PASS foo(new String("hello"), sideEffect) is "hellohello"
67PASS foo(new String("hello"), sideEffect) is "hellohello"
68PASS foo(new String("hello"), sideEffect) is "hellohello"
69PASS foo(new String("hello"), sideEffect) is "hellohello"
70PASS foo(new String("hello"), sideEffect) is "hellohello"
71PASS foo(new String("hello"), sideEffect) is "hellohello"
72PASS foo(new String("hello"), sideEffect) is "hellohello"
73PASS foo(new String("hello"), sideEffect) is "hellohello"
74PASS foo(new String("hello"), sideEffect) is "hellohello"
75PASS foo(new String("hello"), sideEffect) is "hellohello"
76PASS foo(new String("hello"), sideEffect) is "hellohello"
77PASS foo(new String("hello"), sideEffect) is "hellohello"
78PASS foo(new String("hello"), sideEffect) is "hellohello"
79PASS foo(new String("hello"), sideEffect) is "hellohello"
80PASS foo(new String("hello"), sideEffect) is "hellohello"
81PASS foo(new String("hello"), sideEffect) is "hellohello"
82PASS foo(new String("hello"), sideEffect) is "hellohello"
83PASS foo(new String("hello"), sideEffect) is "hellohello"
84PASS foo(new String("hello"), sideEffect) is "hellohello"
85PASS foo(new String("hello"), sideEffect) is "hellohello"
86PASS foo(new String("hello"), sideEffect) is "hellohello"
87PASS foo(new String("hello"), sideEffect) is "hellohello"
88PASS foo(new String("hello"), sideEffect) is "hellohello"
89PASS foo(new String("hello"), sideEffect) is "hellohello"
90PASS foo(new String("hello"), sideEffect) is "hellohello"
91PASS foo(new String("hello"), sideEffect) is "hellohello"
92PASS foo(new String("hello"), sideEffect) is "hellohello"
93PASS foo(new String("hello"), sideEffect) is "hellohello"
94PASS foo(new String("hello"), sideEffect) is "hellohello"
95PASS foo(new String("hello"), sideEffect) is "hellohello"
96PASS foo(new String("hello"), sideEffect) is "hellohello"
97PASS foo(new String("hello"), sideEffect) is "hellohello"
98PASS foo(new String("hello"), sideEffect) is "hellohello"
99PASS foo(new String("hello"), sideEffect) is "hellohello"
100PASS foo(new String("hello"), sideEffect) is "hellohello"
101PASS foo(new String("hello"), sideEffect) is "hellohello"
102PASS foo(new String("hello"), sideEffect) is "hellohello"
103PASS foo(new String("hello"), sideEffect) is "hellohello"
104PASS foo(new String("hello"), sideEffect) is "hellohello"
105PASS foo(new String("hello"), sideEffect) is "hellohello"
106PASS foo(new String("hello"), sideEffect) is "hellohello"
107PASS foo(new String("hello"), sideEffect) is "hellohello"
108PASS foo(new String("hello"), sideEffect) is "hellohello"
109PASS foo(new String("hello"), sideEffect) is "hellohello"
110PASS foo(new String("hello"), sideEffect) is "hellohello"
111PASS foo(new String("hello"), sideEffect) is "hellohello"
112PASS foo(new String("hello"), sideEffect) is "hellohello"
113PASS foo(new String("hello"), sideEffect) is "hellohello"
114PASS foo(new String("hello"), sideEffect) is "hellohello"
115PASS foo(new String("hello"), sideEffect) is "hellohello"
116PASS foo(new String("hello"), sideEffect) is "hellohello"
117PASS foo(new String("hello"), sideEffect) is "hellohello"
118PASS foo(new String("hello"), sideEffect) is "hellohello"
119PASS foo(new String("hello"), sideEffect) is "hellohello"
120PASS foo(new String("hello"), sideEffect) is "hellohello"
121PASS foo(new String("hello"), sideEffect) is "hellohello"
122PASS foo(new String("hello"), sideEffect) is "hellohello"
123PASS foo(new String("hello"), sideEffect) is "hellohello"
124PASS foo(new String("hello"), sideEffect) is "hellohello"
125PASS foo(new String("hello"), sideEffect) is "hellohello"
126PASS foo(new String("hello"), sideEffect) is "hellohello"
127PASS foo(new String("hello"), sideEffect) is "hellohello"
128PASS foo(new String("hello"), sideEffect) is "hellohello"
129PASS foo(new String("hello"), sideEffect) is "hellohello"
130PASS foo(new String("hello"), sideEffect) is "hellohello"
131PASS foo(new String("hello"), sideEffect) is "hellohello"
132PASS foo(new String("hello"), sideEffect) is "hellohello"
133PASS foo(new String("hello"), sideEffect) is "hellohello"
134PASS foo(new String("hello"), sideEffect) is "hellohello"
135PASS foo(new String("hello"), sideEffect) is "hellohello"
136PASS foo(new String("hello"), sideEffect) is "hellohello"
137PASS foo(new String("hello"), sideEffect) is "hellohello"
138PASS foo(new String("hello"), sideEffect) is "hellohello"
139PASS foo(new String("hello"), sideEffect) is "hellohello"
140PASS foo(new String("hello"), sideEffect) is "hellohello"
141PASS foo(new String("hello"), sideEffect) is "hellohello"
142PASS foo(new String("hello"), sideEffect) is "hellohello"
143PASS foo(new String("hello"), sideEffect) is "hellohello"
144PASS foo(new String("hello"), sideEffect) is "hellohello"
145PASS foo(new String("hello"), sideEffect) is "hellohello"
146PASS foo(new String("hello"), sideEffect) is "hellohello"
147PASS foo(new String("hello"), sideEffect) is "hellohello"
148PASS foo(new String("hello"), sideEffect) is "hellohello"
149PASS foo(new String("hello"), sideEffect) is "hellohello"
150PASS foo(new String("hello"), sideEffect) is "hellohello"
151PASS foo(new String("hello"), sideEffect) is "hellohello"
152PASS foo(new String("hello"), sideEffect) is "hellohello"
153PASS foo(new String("hello"), sideEffect) is "hellohello"
154PASS foo(new String("hello"), sideEffect) is "hellohello"
155PASS foo(new String("hello"), sideEffect) is "hellohello"
156hi!
157PASS foo(new String("hello"), sideEffect) is "hello150"
158hi!
159PASS foo(new String("hello"), sideEffect) is "hello151"
160hi!
161PASS foo(new String("hello"), sideEffect) is "hello152"
162hi!
163PASS foo(new String("hello"), sideEffect) is "hello153"
164hi!
165PASS foo(new String("hello"), sideEffect) is "hello154"
166hi!
167PASS foo(new String("hello"), sideEffect) is "hello155"
168hi!
169PASS foo(new String("hello"), sideEffect) is "hello156"
170hi!
171PASS foo(new String("hello"), sideEffect) is "hello157"
172hi!
173PASS foo(new String("hello"), sideEffect) is "hello158"
174hi!
175PASS foo(new String("hello"), sideEffect) is "hello159"
176hi!
177PASS foo(new String("hello"), sideEffect) is "hello160"
178hi!
179PASS foo(new String("hello"), sideEffect) is "hello161"
180hi!
181PASS foo(new String("hello"), sideEffect) is "hello162"
182hi!
183PASS foo(new String("hello"), sideEffect) is "hello163"
184hi!
185PASS foo(new String("hello"), sideEffect) is "hello164"
186hi!
187PASS foo(new String("hello"), sideEffect) is "hello165"
188hi!
189PASS foo(new String("hello"), sideEffect) is "hello166"
190hi!
191PASS foo(new String("hello"), sideEffect) is "hello167"
192hi!
193PASS foo(new String("hello"), sideEffect) is "hello168"
194hi!
195PASS foo(new String("hello"), sideEffect) is "hello169"
196hi!
197PASS foo(new String("hello"), sideEffect) is "hello170"
198hi!
199PASS foo(new String("hello"), sideEffect) is "hello171"
200hi!
201PASS foo(new String("hello"), sideEffect) is "hello172"
202hi!
203PASS foo(new String("hello"), sideEffect) is "hello173"
204hi!
205PASS foo(new String("hello"), sideEffect) is "hello174"
206hi!
207PASS foo(new String("hello"), sideEffect) is "hello175"
208hi!
209PASS foo(new String("hello"), sideEffect) is "hello176"
210hi!
211PASS foo(new String("hello"), sideEffect) is "hello177"
212hi!
213PASS foo(new String("hello"), sideEffect) is "hello178"
214hi!
215PASS foo(new String("hello"), sideEffect) is "hello179"
216hi!
217PASS foo(new String("hello"), sideEffect) is "hello180"
218hi!
219PASS foo(new String("hello"), sideEffect) is "hello181"
220hi!
221PASS foo(new String("hello"), sideEffect) is "hello182"
222hi!
223PASS foo(new String("hello"), sideEffect) is "hello183"
224hi!
225PASS foo(new String("hello"), sideEffect) is "hello184"
226hi!
227PASS foo(new String("hello"), sideEffect) is "hello185"
228hi!
229PASS foo(new String("hello"), sideEffect) is "hello186"
230hi!
231PASS foo(new String("hello"), sideEffect) is "hello187"
232hi!
233PASS foo(new String("hello"), sideEffect) is "hello188"
234hi!
235PASS foo(new String("hello"), sideEffect) is "hello189"
236hi!
237PASS foo(new String("hello"), sideEffect) is "hello190"
238hi!
239PASS foo(new String("hello"), sideEffect) is "hello191"
240hi!
241PASS foo(new String("hello"), sideEffect) is "hello192"
242hi!
243PASS foo(new String("hello"), sideEffect) is "hello193"
244hi!
245PASS foo(new String("hello"), sideEffect) is "hello194"
246hi!
247PASS foo(new String("hello"), sideEffect) is "hello195"
248hi!
249PASS foo(new String("hello"), sideEffect) is "hello196"
250hi!
251PASS foo(new String("hello"), sideEffect) is "hello197"
252hi!
253PASS foo(new String("hello"), sideEffect) is "hello198"
254hi!
255PASS foo(new String("hello"), sideEffect) is "hello199"
256PASS successfullyParsed is true
257
258TEST COMPLETE
259