Home
last modified time | relevance | path

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

/cts/tests/tests/content/src/android/content/res/cts/
DPrimitiveTest.java88 private void tryString(final int resid, final String expected) { in tryString() method in PrimitiveTest
99 tryString(R.string.coerceIntegerToString, "100"); in testStringCoerce()
100 tryString(R.string.coerceBooleanToString, "true"); in testStringCoerce()
101 tryString(R.string.coerceColorToString, "#fff"); in testStringCoerce()
102 tryString(R.string.coerceFloatToString, "100.0"); in testStringCoerce()
103 tryString(R.string.coerceDimensionToString, "100px"); in testStringCoerce()
104 tryString(R.string.coerceFractionToString, "100%"); in testStringCoerce()
DResourcesTest.java732 tryString(R.string.coerceIntegerToString, "100"); in testGetValueWithID()
733 tryString(R.string.coerceBooleanToString, "true"); in testGetValueWithID()
734 tryString(R.string.coerceColorToString, "#fff"); in testGetValueWithID()
735 tryString(R.string.coerceFloatToString, "100.0"); in testGetValueWithID()
736 tryString(R.string.coerceDimensionToString, "100px"); in testGetValueWithID()
737 tryString(R.string.coerceFractionToString, "100%"); in testGetValueWithID()
752 private void tryString(final int resid, final String expected) { in tryString() method in ResourcesTest