Lines 502-508
Link Here
|
502 |
remaining = remainingAsList.iterator(); |
502 |
remaining = remainingAsList.iterator(); |
503 |
assertTrue("does not support -d option", javacStandardJavaFileManager.handleOption("-d", remaining)); |
503 |
assertTrue("does not support -d option", javacStandardJavaFileManager.handleOption("-d", remaining)); |
504 |
assertEquals("unexpected consumption rate", "remainder", remaining.next()); |
504 |
assertEquals("unexpected consumption rate", "remainder", remaining.next()); |
|
|
505 |
javacStandardJavaFileManager.close(); |
505 |
} |
506 |
} |
|
|
507 |
ecjStandardJavaFileManager.close(); |
506 |
} |
508 |
} |
507 |
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=226918 |
509 |
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=226918 |
508 |
// options consumption - check consumption rate on supported zero-args options |
510 |
// options consumption - check consumption rate on supported zero-args options |
Lines 525-530
Link Here
|
525 |
assertEquals("unexpected consumption rate", REMAINDER, remaining.next()); |
527 |
assertEquals("unexpected consumption rate", REMAINDER, remaining.next()); |
526 |
} |
528 |
} |
527 |
} |
529 |
} |
|
|
530 |
ecjStandardJavaFileManager.close(); |
528 |
} |
531 |
} |
529 |
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=226918 |
532 |
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=226918 |
530 |
// options consumption - check consumption rate on supported one-arg options |
533 |
// options consumption - check consumption rate on supported one-arg options |
Lines 540-545
Link Here
|
540 |
assertEquals("unexpected consumption rate", REMAINDER, remaining.next()); |
543 |
assertEquals("unexpected consumption rate", REMAINDER, remaining.next()); |
541 |
} |
544 |
} |
542 |
} |
545 |
} |
|
|
546 |
ecjStandardJavaFileManager.close(); |
543 |
} |
547 |
} |
544 |
// tests #10-11 show that ecj throws a RuntimeException when encountering a wrong |
548 |
// tests #10-11 show that ecj throws a RuntimeException when encountering a wrong |
545 |
// encoding in its parameters, while the default compiler swallows it silently |
549 |
// encoding in its parameters, while the default compiler swallows it silently |