Searched refs:tryString (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/content/src/android/content/res/cts/ |
D | PrimitiveTest.java | 88 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()
|
D | ResourcesTest.java | 627 tryString(R.string.coerceIntegerToString, "100"); in testGetValueWithID() 628 tryString(R.string.coerceBooleanToString, "true"); in testGetValueWithID() 629 tryString(R.string.coerceColorToString, "#fff"); in testGetValueWithID() 630 tryString(R.string.coerceFloatToString, "100.0"); in testGetValueWithID() 631 tryString(R.string.coerceDimensionToString, "100px"); in testGetValueWithID() 632 tryString(R.string.coerceFractionToString, "100%"); in testGetValueWithID() 647 private void tryString(final int resid, final String expected) { in tryString() method in ResourcesTest
|