HomeSort by relevance Sort by last modified time
    Searched defs:isUnboxableToPrimitive (Results 1 - 2 of 2) sorted by null

  /external/android-mock/src/com/google/android/testing/mocking/
AndroidMock.java     [all...]
  /external/android-mock/tests/com/google/android/testing/mocking/
AndroidMockTest.java 103 assertTrue(AndroidMock.isUnboxableToPrimitive(Integer.TYPE, new Integer(42), true));
104 assertTrue(AndroidMock.isUnboxableToPrimitive(Long.TYPE, new Long(42L), true));
105 assertTrue(AndroidMock.isUnboxableToPrimitive(Short.TYPE, new Short((short) 42), true));
106 assertTrue(AndroidMock.isUnboxableToPrimitive(Byte.TYPE, new Byte((byte) 42), true));
107 assertTrue(AndroidMock.isUnboxableToPrimitive(Boolean.TYPE, Boolean.TRUE, true));
108 assertTrue(AndroidMock.isUnboxableToPrimitive(Float.TYPE, new Float(42.0f), true));
109 assertTrue(AndroidMock.isUnboxableToPrimitive(Double.TYPE, new Double(42.0), true));
110 assertTrue(AndroidMock.isUnboxableToPrimitive(Character.TYPE, new Character('a'), true));
112 assertTrue(AndroidMock.isUnboxableToPrimitive(Integer.TYPE, 42, true));
113 assertTrue(AndroidMock.isUnboxableToPrimitive(Long.TYPE, 42L, true))
    [all...]

Completed in 449 milliseconds