Searched refs:format1 (Results 1 – 3 of 3) sorted by relevance
46 private MessageFormat format1, format2, format3; field in MessageFormatTest115 MessageFormat f1 = (MessageFormat) format1.clone(); in test_setFormatILjava_text_Format()205 result = format1.parse(sToParse); in test_parseLjava_lang_String()226 MessageFormat f1 = (MessageFormat) format1.clone(); in test_setFormats$Ljava_text_Format()543 MessageFormat format1 = new MessageFormat("{0}"); in test_equalsLjava_lang_Object() local545 assertTrue("Should not be equal", !format1.equals(format2)); in test_equalsLjava_lang_Object()547 assertTrue("Should be equal", format1.equals(format2)); in test_equalsLjava_lang_Object()549 format1.setFormat(0, DateFormat.getTimeInstance()); in test_equalsLjava_lang_Object()551 assertTrue("Should be equal2", format1.equals(format2)); in test_equalsLjava_lang_Object()613 Format[] formats = format1.getFormats(); in test_getFormats()[all …]
793 DecimalFormat format1 = new DecimalFormat(); in testConstructor_noArg() local794 format1.applyPattern("'$'1000.0000"); in testConstructor_noArg()798 format2.equals(format1)); in testConstructor_noArg()801 format3.equals(format1)); in testConstructor_noArg()804 !format4.equals(format1)); in testConstructor_noArg()813 DecimalFormat format1 = new DecimalFormat(); in testConstructor_string() local814 format1.applyPattern("'$'0000.0000"); in testConstructor_string()816 format.equals(format1)); in testConstructor_string()852 DecimalFormat format1 = new DecimalFormat("'$'1000.0000", dfs); in testConstructor_stringAndSymbols() local857 format2.equals(format1)); in testConstructor_stringAndSymbols()[all …]
262 MessageFormat format1 = null; in Test4111739() local277 format1 = new MessageFormat("pattern{0}"); in Test4111739()278 ostream.writeObject(format1); in Test4111739()289 if (!format1.equals(format2)) { in Test4111739()291 " equal\nformat1 = " + format1 + "(" + format1.toPattern() + ")\nformat2 = " + in Test4111739()