-
Notifications
You must be signed in to change notification settings - Fork 0
/
results.txt
716 lines (716 loc) · 32.3 KB
/
results.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
running test ./test-data/FullTests/testcase00_01.java
expecting:
Class named A already exists.
Class named A already exists.
\n
running test ./test-data/FullTests/testcase00_02.java
expecting:
Cannot find class named C
Cannot find class named C
\n
running test ./test-data/FullTests/testcase00_03.java
expecting:
Cannot find class named C
Cannot find class named C
\n
running test ./test-data/FullTests/testcase00_04.java
expecting:
Cannot overload methods. Method start has different type signature than inherited method of the same name. Actual return type boolean of method start does not match declared type int
Cannot overload methods. Method start has different type signature than inherited method of the same name. Actual return type boolean of method start does not match declared type int
Actual return type boolean of method int start() does not match declared type int.
\n
running test ./test-data/FullTests/testcase00_05.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase00_06.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase00_07.java
expecting:
Cannot redeclare method start Cannot overload methods. Method start has different type signature than inherited method of the same name. Cannot assign type boolean to variable b of type int
Cannot redeclare method start(void). Method start(void) is already declared in class B.
\n
running test ./test-data/FullTests/testcase00_08.java
expecting:
The class variable a is already declared. Redeclaration and shadowing are not allowed.
The class variable a is already declared. Redeclaration and shadowing are not allowed.
\n
running test ./test-data/FullTests/testcase00_09.java
expecting:
Cannot redeclare method setB
Cannot redeclare method setB(int). Method setB(int) is already declared in class noPoint2.
\n
running test ./test-data/FullTests/testcase00_10.java
expecting:
The class variable a is already declared. Redeclaration and shadowing are not allowed.
The class variable a is already declared. Redeclaration and shadowing fields are not allowed.
\n
running test ./test-data/FullTests/testcase00_11.java
expecting:
Cannot redeclare method equal Cannot overload methods. Method equal has different type signature than inherited method of the same name. Cannot overload methods. Method equal has different type signature than inherited method of the same name.
\n
running test ./test-data/FullTests/testcase00_12.java
expecting:
Cannot find class named bool Cannot overload methods. Method bad has different type signature than inherited method of the same name. Actual return type boolean of method bad does not match declared type bool
Cannot find class named bool
Actual return type boolean of method bool bad() does not match declared type bool.
\n
running test ./test-data/FullTests/testcase00_13.java
expecting:
Class named start already exists.
Class named start already exists.
\n
running test ./test-data/FullTests/testcase00_14.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase00_15.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase00_16.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase00_17.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase00_18.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase00_19.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase00_20.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase00_21.java
expecting:
Superclass name Foo1 not in scope.
Superclass name Foo1 not in scope
\n
running test ./test-data/FullTests/testcase00_22.java
expecting:
Formal parameter named Foo duplicates the name of another formal parameter.
Formal parameter named Foo duplicates the name of another formal parameter.
\n
running test ./test-data/FullTests/testcase00_23.java
expecting:
Superclass name Foo not in scope. Superclass name Foo not in scope.
Superclass name Foo not in scope
Superclass name Foo not in scope
\n
running test ./test-data/FullTests/testcase00_24.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase00_25.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase00_26.java
expecting:
The class variable x is already declared. Redeclaration and shadowing are not allowed.
The class variable x is already declared. Redeclaration and shadowing are not allowed.
\n
running test ./test-data/FullTests/testcase00_27.java
expecting:
Cannot find class named Baz
Cannot find class named Baz
\n
running test ./test-data/FullTests/testcase00_28.java
expecting:
Cannot redeclare method self
Cannot redeclare method self(void). Method self(void) is already declared in class Bar.
\n
running test ./test-data/FullTests/testcase00_29.java
expecting:
Superclass name Bar not in scope.
Superclass name Bar not in scope
\n
running test ./test-data/FullTests/testcase00_30.java
expecting:
Cannot overload methods. Method self has different type signature than inherited method of the same name.
\n
running test ./test-data/FullTests/testcase00_31.java
expecting:
Superclass name Bar not in scope. Cannot redeclare method self Cannot find class named Nonexistant Actual return type Baz of method self does not match declared type Bar Actual return type Baz of method self does not match declared type Bar Actual return type Bar of method self2 does not match declared type Nonexistant
Superclass name Bar not in scope
Cannot redeclare method self(int). Method self(int) is already declared in class Baz.
Cannot find class named Nonexistant
Actual return type Baz of method Bar self(int a) does not match declared type Bar.
Actual return type Baz of method Bar self(int a) does not match declared type Bar.
Actual return type Bar of method Nonexistant self2() does not match declared type Nonexistant.
\n
running test ./test-data/FullTests/testcase00_32.java
expecting:
Variable this is not declared.
\n
running test ./test-data/FullTests/testcase00_33.java
expecting:
Variable this is not declared.
\n
running test ./test-data/FullTests/testcase00_34.java
expecting:
Cannot find class named C Variable this is not declared. Cannot instantiate undeclared class named C
Cannot find class named C
No class C found in scope.
\n
running test ./test-data/FullTests/testcase00_35.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase00_36.java
expecting:
Cannot assign type boolean to variable b of type int
Cannot assign type boolean to variable b of type int
\n
running test ./test-data/FullTests/testcase00_37.java
expecting:
Cannot instantiate undeclared class named C
Cannot find class named C
No class C found in scope.
\n
running test ./test-data/FullTests/testcase00_38.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase00_39.java
expecting:
Actual return type boolean of method start does not match declared type int
Actual return type boolean of method int start() does not match declared type int.
\n
running test ./test-data/FullTests/testcase00_40.java
expecting:
No variable named a exists in the current scope. Variable a is not declared. Argument type null is incompatible with formal parameter type int The variable c is already declared in the current scope. The variable x is already declared in the current scope.
the variable x is already declared in the current scope
No variable named a exists in the current scope.
the variable c is already declared in the current scope
\n
running test ./test-data/FullTests/testcase00_41.java
expecting:
Cannot assign type boolean to variable alpha of type int Argument type int is incompatible with formal parameter type boolean Cannot assign type Bar to variable gamma of type int Left argument of type boolean does not match expected type int for operator GT
Operator > does not exist for types boolean and int
Cannot assign type boolean to variable alpha of type int
Class myMainClass has no method commit(int)
Cannot assign type Bar to variable gamma of type int
\n
running test ./test-data/FullTests/testcase00_42.java
expecting:
Actual return type boolean of method inc does not match declared type int Right argument of type boolean does not match expected type int for operator MINUS Cannot assign type boolean to variable myInt of type int
Actual return type boolean of method int inc(int x) does not match declared type int.
Operator - does not exist for types int and boolean
Cannot assign type boolean to variable myInt of type int
\n
running test ./test-data/FullTests/testcase00_43.java
expecting:
Variable bar is not declared. No method named add found for class null In MiniJava, System.out.println only takes an int. The expression has type null
Variable bar is not declared
\n
running test ./test-data/FullTests/testcase00_44.java
expecting:
Variable bar is not declared. No method named fib found for class null In MiniJava, System.out.println only takes an int. The expression has type null Actual return type boolean of method fib does not match declared type int
Actual return type boolean of method int fib(int a) does not match declared type int.
Variable bar is not declared
\n
running test ./test-data/FullTests/testcase00_45.java
expecting:
Variable bar is not declared. No method named fib found for class null In MiniJava, System.out.println only takes an int. The expression has type null Variable baz is not declared. No method named fib found for class null Actual return type null of method fib2 does not match declared type boolean
Variable baz is not declared
Variable bar is not declared
\n
running test ./test-data/FullTests/testcase00_46.java
expecting:
Variable bar is not declared. No method named fib found for class null In MiniJava, System.out.println only takes an int. The expression has type null Variable bar is not declared. No method named fib found for class null Variable bar is not declared. No method named fib found for class null Left argument of type null does not match expected type int for operator PLUS Right argument of type null does not match expected type int for operator PLUS
Variable bar is not declared
Variable bar is not declared
\n
running test ./test-data/FullTests/testcase00_47.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase00_48.java
expecting:
No variable named b exists in the current scope.
No variable named b exists in the current scope.
\n
running test ./test-data/FullTests/testcase00_49.java
expecting:
No variable named b exists in the current scope.
No variable named b exists in the current scope.
\n
running test ./test-data/FullTests/testcase00_50.java
expecting:
No variable named b exists in the current scope.
No variable named b exists in the current scope.
\n
running test ./test-data/FullTests/testcase00_51.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase00_52.java
expecting:
Cannot assign type int to variable a of type bool
Cannot find class named bool
Cannot assign type int to variable a of type bool
\n
running test ./test-data/FullTests/testcase00_53.java
expecting:
Cannot assign type boolean to variable x of type int
Cannot assign type boolean to variable x of type int
\n
running test ./test-data/FullTests/testcase00_54.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase00_55.java
expecting:
The variable x is already declared in the current scope. Cannot assign type int to variable x of type boolean
the variable x is already declared in the current scope
\n
running test ./test-data/FullTests/testcase00_56.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase00_57.java
expecting:
Superclass name NextOne not in scope.
Superclass name NextOne not in scope
\n
running test ./test-data/FullTests/testcase00_58.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase00_59.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase00_60.java
expecting:
The variable x is already declared in the current scope.
the variable x is already declared in the current scope
\n
running test ./test-data/FullTests/testcase00_61.java
expecting:
Cannot overload methods. Method ossifrage has different type signature than inherited method of the same name.
\n
running test ./test-data/FullTests/testcase00_62.java
expecting:
Variable this is not declared. Left argument of type boolean does not match expected type int for operator PLUS Argument type boolean is incompatible with formal parameter type int Cannot assign type Test6 to variable e of type Test7 Cannot assign type Test6 to variable f of type Test8 Cannot assign type Test8 to variable h of type Test9
Class Test5 has no method foo(Null)
Operator + does not exist for types boolean and int
Class Test5 has no method xyzzy(boolean)
Cannot assign type Test6 to variable e of type Test7
Cannot assign type Test6 to variable f of type Test8
Cannot assign type Test8 to variable h of type Test9
\n
running test ./test-data/FullTests/testcase00_63.java
expecting:
Right argument of type boolean does not match expected type int for operator PLUS Right argument of type boolean does not match expected type int for operator DIVIDE Right argument of type int does not match expected type boolean for operator AND Left argument of type boolean does not match expected type int for operator MINUS Right argument of type boolean does not match expected type int for operator MINUS Left argument of type int does not match expected type boolean for operator OR Right argument of type int does not match expected type boolean for operator OR Cannot assign type boolean to variable z of type int Variable x is not declared. Cannot assign type null to variable z of type int
Operator + does not exist for types int and boolean
Operator / does not exist for types int and boolean
Operator && does not exist for types boolean and int
Variable x is not declared
\n
running test ./test-data/FullTests/testcase00_64.java
expecting:
Right argument of type boolean does not match expected type int for operator LT Variable y is not declared. Left argument of type null does not match expected type int for operator PLUS No variable named y exists in the current scope. Variable y is not declared. Cannot assign type null to variable x of type int In MiniJava, System.out.println only takes an int. The expression has type boolean
Operator < does not exist for types int and boolean
No variable named y exists in the current scope.
Variable y is not declared
Variable y is not declared
System.out.println() requires integer as an argument
\n
running test ./test-data/FullTests/testcase00_65.java
expecting:
Operand type int is not compatible with expected type boolean of operator NOT Operand type boolean is not compatible with expected type int of operator MINUS The variable x is already declared in the current scope. Cannot assign type boolean to variable x of type int The variable y is already declared in the current scope. Cannot assign type int to variable y of type boolean
Operator ! does not exist for type int
Operator - does not exist for type boolean
the variable x is already declared in the current scope
the variable y is already declared in the current scope
\n
running test ./test-data/FullTests/testcase00_66.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase00_67.java
expecting:
Variable args is not declared. In MiniJava, System.out.println only takes an int. The expression has type null
Variable args is not declared
\n
running test ./test-data/FullTests/testcase00_68.java
expecting:
Variable args is not declared. In MiniJava, System.out.println only takes an int. The expression has type null
Variable args is not declared
\n
running test ./test-data/FullTests/testcase00_69.java
expecting:
Cannot redeclare method predicate Cannot overload methods. Method predicate has different type signature than inherited method of the same name.
\n
running test ./test-data/FullTests/testcase00_70.java
expecting:
The class variable avar is already declared. Redeclaration and shadowing are not allowed.
The class variable avar is already declared. Redeclaration and shadowing are not allowed.
\n
running test ./test-data/FullTests/testcase00_71.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase00_72.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase00_73.java
expecting:
Cannot assign type Foo to variable bar of type Foo2
Cannot assign type Foo to variable bar of type Foo2
\n
running test ./test-data/FullTests/testcase00_74.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase00_75.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase00_76.java
expecting:
Right argument of type boolean does not match expected type int for operator PLUS
Operator + does not exist for types int and boolean
\n
running test ./test-data/FullTests/testcase00_77.java
expecting:
Cannot find class named Point Cannot redeclare method tryToRedeclare Cannot overload methods. Method overrideWithTooFew has different type signature than inherited method of the same name. Cannot overload methods. Method overrideWithTooMany has different type signature than inherited method of the same name. Cannot overload methods. Method switchParameterTypes has different type signature than inherited method of the same name. Cannot find class named Point The class variable x is already declared. Redeclaration and shadowing are not allowed. Cannot instantiate undeclared class named Point Variable a is not declared. In MiniJava, System.out.println only takes an int. The expression has type null In MiniJava, System.out.println only takes an int. The expression has type boolean Cannot instantiate undeclared class named Point Actual return type int of method returnTypeDoesNotMatch1 does not match declared type boolean Actual return type boolean of method returnTypeDoesNotMatch2 does not match declared type int The class variable x is already declared. Redeclaration and shadowing are not allowed. The class variable y is already declared. Redeclaration and shadowing are not allowed. Cannot instantiate undeclared class named Point
The class variable x is already declared. Redeclaration and shadowing fields are not allowed.
The class variable x is already declared. Redeclaration and shadowing are not allowed.
The class variable y is already declared. Redeclaration and shadowing are not allowed.
Cannot find class named Point
Cannot redeclare method tryToRedeclare(void). Method tryToRedeclare(void) is already declared in class EntryPoint2.
Cannot find class named Point
Cannot find class named Point
No class Point found in scope.
Variable a is not declared
System.out.println() requires integer as an argument
No class Point found in scope.
Actual return type int of method boolean returnTypeDoesNotMatch1() does not match declared type boolean.
Actual return type boolean of method int returnTypeDoesNotMatch2() does not match declared type int.
No class Point found in scope.
\n
running test ./test-data/FullTests/testcase00_78.java
expecting:
Condition for if statement is of type int instead of boolean While loop condition must be a boolean. The expressions has type int
If statement condition requires type boolean but conditional expression is type int.
While conditional must return type boolean.
\n
running test ./test-data/FullTests/testcase00_79.java
expecting:
The variable maybe is already declared in the current scope.
the variable maybe is already declared in the current scope
\n
running test ./test-data/FullTests/testcase00_80.java
expecting:
Superclass name DoesNotExist not in scope. Class named Point already exists. Class named Point already exists.
Superclass name DoesNotExist not in scope
Class named Point already exists.
Class named Point already exists.
\n
running test ./test-data/FullTests/testcase00_81.java
expecting:
Variable c is not declared. No variable named a exists in the current scope. The variable i is already declared in the current scope. Cannot assign type int to variable b of type boolean Cannot assign type boolean to variable i of type int Cannot assign type boolean to variable i of type int In MiniJava, System.out.println only takes an int. The expression has type boolean In MiniJava, System.out.println only takes an int. The expression has type boolean
No variable named a exists in the current scope.
Variable c is not declared
the variable i is already declared in the current scope
Cannot assign type int to variable b of type boolean
Cannot assign type boolean to variable i of type int
Cannot assign type boolean to variable i of type int
System.out.println() requires integer as an argument
System.out.println() requires integer as an argument
\n
running test ./test-data/FullTests/testcase00_82.java
expecting:
Cannot assign type boolean to variable x of type int
Cannot assign type boolean to variable x of type int
\n
running test ./test-data/FullTests/testcase00_83.java
expecting:
Left argument of type int does not match expected type boolean for operator AND Right argument of type int does not match expected type boolean for operator AND Cannot assign type boolean to variable result of type int
Operator && does not exist for types int and int
\n
running test ./test-data/FullTests/testcase00_84.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase00_85.java
expecting:
Cannot assign type int to variable x of type boolean
Cannot assign type int to variable x of type boolean
\n
running test ./test-data/FullTests/testcase00_86.java
expecting:
Variable arg is not declared. Cannot assign type null to variable z of type boolean
Variable arg is not declared
\n
running test ./test-data/FullTests/testcase00_87.java
expecting:
Cannot assign type boolean to variable x of type int
Cannot assign type boolean to variable x of type int
\n
running test ./test-data/FullTests/testcase00_88.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase00_89.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase00_90.java
expecting:
Left argument of type null does not match expected type boolean for operator OR
Operator || does not exist for types Object and boolean
\n
running test ./test-data/FullTests/testcase00_91.java
expecting:
Actual return type int of method gety does not match declared type boolean Left argument of type null does not match expected type boolean for operator OR
Actual return type int of method boolean gety() does not match declared type boolean.
Operator || does not exist for types Object and boolean
\n
running test ./test-data/FullTests/testcase00_92.java
expecting:
Condition for if statement is of type int instead of boolean
If statement condition requires type boolean but conditional expression is type int.
\n
running test ./test-data/FullTests/testcase00_93.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase00_94.java
expecting:
In MiniJava, System.out.println only takes an int. The expression has type boolean
System.out.println() requires integer as an argument
\n
running test ./test-data/FullTests/testcase00_95.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase00_96.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase01_01.java
expecting:
No method named a5 found for class A6 The operand types, null and int, are not compatible for equality comparison
Class A6 has no method a5(int)
\n
running test ./test-data/FullTests/testcase01_02.java
expecting:
Actual return type int of method a4 does not match declared type double No method named a5 found for class A6 The operand types, null and int, are not compatible for equality comparison Actual return type boolean of method a4 does not match declared type double
Actual return type int of method double a4(int a5) does not match declared type double.
Class A6 has no method a5(int)
Actual return type boolean of method double a4(int a5) does not match declared type double.
\n
running test ./test-data/FullTests/testcase01_03.java
expecting:
Right argument of type int does not match expected type boolean for operator AND
Operator && does not exist for types boolean and int
\n
running test ./test-data/FullTests/testcase01_04.java
expecting:
Actual return type int of method a4 does not match declared type double Left argument of type boolean does not match expected type int for operator PLUS Actual return type int of method a9 does not match declared type boolean
Actual return type int of method double a4(int a5) does not match declared type double.
Operator + does not exist for types boolean and int
\n
running test ./test-data/FullTests/testcase02_01.java
expecting:
Left argument of type boolean does not match expected type int for operator PLUS
Operator + does not exist for types boolean and int
\n
running test ./test-data/FullTests/testcase02_02.java
expecting:
In MiniJava, System.out.println only takes an int. The expression has type boolean
System.out.println() requires integer as an argument
\n
running test ./test-data/FullTests/testcase02_03.java
expecting:
Cannot assign type boolean to variable myBoolean of type int No method named nonExistingMethod found for class Foo Cannot assign type null to variable nonExisting of type int
Cannot assign type boolean to variable myBoolean of type int
Class Baz has no method nonExistingMethod(void)
\n
running test ./test-data/FullTests/testcase02_04.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase03_01.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase03_02.java
expecting:
Left argument of type int does not match expected type boolean for operator AND In MiniJava, System.out.println only takes an int. The expression has type boolean
Operator && does not exist for types int and boolean
System.out.println() requires integer as an argument
\n
running test ./test-data/FullTests/testcase03_03.java
expecting:
Actual return type int of method getX3 does not match declared type Test3a
Actual return type int of method Test3a getX3() does not match declared type Test3a.
\n
running test ./test-data/FullTests/testcase03_04.java
expecting:
Cannot assign type boolean to variable x of type int
Cannot assign type boolean to variable x of type int
\n
running test ./test-data/FullTests/testcase04_01.java
expecting:
Actual return type boolean of method baz does not match declared type int
Actual return type boolean of method int baz(int Foo) does not match declared type int.
\n
running test ./test-data/FullTests/testcase04_02.java
expecting:
Left argument of type boolean does not match expected type int for operator PLUS
Operator + does not exist for types boolean and int
\n
running test ./test-data/FullTests/testcase04_03.java
expecting:
Condition for if statement is of type int instead of boolean
If statement condition requires type boolean but conditional expression is type int.
\n
running test ./test-data/FullTests/testcase04_04.java
expecting:
Condition for if statement is of type int instead of boolean While loop condition must be a boolean. The expressions has type int Left argument of type int does not match expected type boolean for operator OR Right argument of type int does not match expected type boolean for operator OR Cannot assign type boolean to variable l1 of type int
If statement condition requires type boolean but conditional expression is type int.
While conditional must return type boolean.
Operator || does not exist for types int and int
\n
running test ./test-data/FullTests/testcase04_05.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase04_06.java
expecting:
Argument type int is incompatible with formal parameter type boolean
Class Bar has no method meth(int)
\n
running test ./test-data/FullTests/testcase04_07.java
expecting:
The variable a is already declared in the current scope. The variable b is already declared in the current scope. The variable a is already declared in the current scope. The variable b is already declared in the current scope.
the variable a is already declared in the current scope
the variable b is already declared in the current scope
the variable a is already declared in the current scope
the variable b is already declared in the current scope
Operator && does not exist for types int and int
\n
running test ./test-data/FullTests/testcase04_08.java
expecting:
In MiniJava, System.out.println only takes an int. The expression has type Class2
System.out.println() requires integer as an argument
\n
running test ./test-data/FullTests/testcase91-01.java
expecting:
Cannot overload methods. Method method has different type signature than inherited method of the same name.
Cannot overload methods. Method method has different type signature than inherited method of the same name. Actual return type boolean of method start does not match declared type int
\n
running test ./test-data/FullTests/testcase91-02.java
expecting:
Actual return type boolean of method method does not match declared type int
Actual return type boolean of method int method(int test) does not match declared type int.
\n
running test ./test-data/FullTests/testcase91-03.java
expecting:
Cannot assign type boolean to variable b of type int Cannot assign type boolean to variable value of type int
Cannot assign type boolean to variable b of type int
Cannot assign type boolean to variable value of type int
\n
running test ./test-data/FullTests/testcase93-01.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase93-02.java
expecting:
Cannot assign type int to variable hasCartoonishMascot of type boolean
Cannot assign type int to variable hasCartoonishMascot of type boolean
\n
running test ./test-data/FullTests/testcase93-03.java
expecting:
Variable this is not declared.
\n
running test ./test-data/FullTests/testcase93-04.java
expecting:
Condition for if statement is of type int instead of boolean
If statement condition requires type boolean but conditional expression is type int.
\n
running test ./test-data/FullTests/testcase94-01.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase94-02.java
expecting:
Cannot assign type int to variable a3 of type boolean
Cannot assign type int to variable a3 of type boolean
\n
running test ./test-data/FullTests/testcase94-03.java
expecting:
Right argument of type boolean does not match expected type int for operator PLUS
Operator + does not exist for types int and boolean
\n
running test ./test-data/FullTests/testcase95-01.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase95-02.java
expecting:
In MiniJava, System.out.println only takes an int. The expression has type boolean
System.out.println() requires integer as an argument
\n
running test ./test-data/FullTests/testcase95-03.java
expecting:
Left argument of type int does not match expected type boolean for operator OR Right argument of type int does not match expected type boolean for operator OR
Operator || does not exist for types int and int
\n
running test ./test-data/FullTests/testcase95-04.java
expecting:
Cannot assign type AClass to variable b of type AnotherClass
Cannot assign type AClass to variable b of type AnotherClass
\n
running test ./test-data/FullTests/testcase96-02.java
expecting:
Actual return type int of method foo does not match declared type Blob
Actual return type int of method Blob foo(int Blob) does not match declared type Blob.
\n
running test ./test-data/FullTests/testcase96-03.java
expecting:
Left argument of type boolean does not match expected type int for operator PLUS Actual return type int of method isTasty does not match declared type boolean
Operator + does not exist for types boolean and int
\n
running test ./test-data/FullTests/testcase96-04.java
expecting:
Success!
\n
running test ./test-data/FullTests/testcase97-01.java
expecting:
Right argument of type LightBulb does not match expected type int for operator PLUS
Operator + does not exist for types int and Object
\n
running test ./test-data/FullTests/testcase97-02.java
expecting:
Argument type boolean is incompatible with formal parameter type int No method named developLists found for class Dude Cannot assign type null to variable numNaughty of type int Actual return type int of method eliminateNaughty does not match declared type boolean Cannot assign type Xmas to variable roboticSanta of type Santa Actual return type Santa of method developLists does not match declared type int
Actual return type int of method boolean eliminateNaughty(int rpgs) does not match declared type boolean.
Cannot assign type Xmas to variable roboticSanta of type Santa
Actual return type Santa of method int developLists() does not match declared type int.
Class Xmas has no method eliminateNaughty(boolean)
Class Xmas has no method developLists(void)
\n
running test ./test-data/FullTests/testcase97-03.java
expecting:
Right argument of type boolean does not match expected type int for operator PLUS
Operator + does not exist for types int and boolean
\n
running test ./test-data/FullTests/testcase97-04.java
expecting:
Success!
\n