Lines Matching refs:err
294 private static boolean err = false;
336 err = true;
337 System.err.println("Unexpected exception: " + e);
343 if (err) {
344 System.err.println(BORDER + " Test failed.");
546 err = true;
548 System.err.print(" Failed: Unexpected SimpleDateFormat(");
615 err = true;
616 System.err.print(" Failed: SimpleDateFormat(" + locale);
617 System.err.print(", \"" + pattern + "\").parse(\"" + given);
618 System.err.println("\") should have thrown ParseException");
629 err = true;
630 System.err.print(" Failed: SimpleDateFormat(" + locale);
631 System.err.print(", \"" + pattern + "\").parse(\"" + given);
632 System.err.println("\")");
634 System.err.print(" Expected: " + expectedGC.getTime());
635 System.err.println(" (" + d.getTime() + ")");
637 System.err.print(" Got: " + d + " (" + d.getTime());
638 System.err.println(")");
640 System.err.print(" Pattern: \"");
641 System.err.print(((DecimalFormat)sdf.getNumberFormat()).toPattern());
642 System.err.println("\"");
655 err = true;
656 System.err.println(" Failed: Unexpected exception with");
658 System.err.print(" SimpleDateFormat(" + locale);
659 System.err.print(", \"" + pattern + "\").parse(\"");
660 System.err.println(given + "\"):");
662 System.err.println(" " + pe);
664 System.err.print(" Pattern: \"");
665 System.err.print(((DecimalFormat)sdf.getNumberFormat()).toPattern());
666 System.err.println("\"");
668 System.err.print(" Month 0: ");
669 System.err.println(sdf.getDateFormatSymbols().getMonths()[0]);
714 err = true;
715 System.err.print(" Failed: Unexpected NumberFormat(" + locale);
716 System.err.println(").format(" + given + ") result.");
718 System.err.println(" Expected: \"" + expected + "\"");
720 System.err.println(" Got: \"" + str + "\"");
738 err = true;
739 System.err.print(" Failed: Unexpected NumberFormat(" + locale);
740 System.err.println(").parse(\"" + given + "\") result.");
742 System.err.println(" Expected: " + expected);
744 System.err.println(" Got: " + n);
748 err = true;
749 System.err.print(" Failed: Unexpected exception with NumberFormat(");
750 System.err.println(locale + ").parse(\"" + given + "\") :");
752 System.err.println(" " + pe);
762 err = true;
764 System.err.print(" Failed: NumberFormat(" + locale);
765 System.err.println(").parse(\"" + given + "\")");
767 System.err.println(" should have thrown ParseException");
780 err = true;
781 System.err.print(" Failed: NumberFormat(" + locale);
782 System.err.println(").parse(\"" + given + "\")");
784 System.err.print(" threw ParseException as expected, but its errorOffset was incorrect: ");
785 System.err.println(errorOffset);