Home
last modified time | relevance | path

Searched refs:fs (Results 1 – 2 of 2) sorted by relevance

/libcore/luni/src/test/java/libcore/java/text/
DOldDecimalFormatSymbolsTest.java96 DecimalFormatSymbols fs = new DecimalFormatSymbols(Locale.US); in test_clone() local
97 DecimalFormatSymbols fsc = (DecimalFormatSymbols) fs.clone(); in test_clone()
98 assertEquals(fs.getCurrency(), fsc.getCurrency()); in test_clone()
101 fs = new DecimalFormatSymbols(); in test_clone()
102 DecimalFormatSymbols fsc2 = (DecimalFormatSymbols) (fs.clone()); in test_clone()
104 assertTrue("Object's clone isn't equal!", fs.equals(fsc2)); in test_clone()
110 fs.setNaN("not-a-number"); in test_clone()
111 assertTrue("Object's changed clone should not be equal!", !fs.equals(fsc2)); in test_clone()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DChoiceFormatTest.java399 String[] fs = new String[] { "0", "1" }; in test_setChoices$D$Ljava_lang_String() local
400 f.setChoices(l, fs); in test_setChoices$D$Ljava_lang_String()
402 assertTrue("Formats copied", f.getFormats() == fs); in test_setChoices$D$Ljava_lang_String()