浅谈Android单元测试的作用以及简单示例
static void assertEquals(boolean expected, boolean actual)
static void assertEquals(String message, long expected, long actual)
static void assertEquals(short expected, short actual)
static void assertEquals(String message, String expected, String actual)
static void assertEquals(String message, int expected, int actual)
static void assertEquals(Object expected, Object actual)
static void assertEquals(String message, boolean expected, boolean actual)
static void assertEquals(String expected, String actual)
static void assertEquals(String message, short expected, short actual)
static void assertEquals(String message, Object expected, Object actual)
static void assertEquals(char expected, char actual)
static void assertEquals(byte expected, byte actual)
static void assertEquals(double expected, double actual, double delta)
static void assertEquals(String message, char expected, char actual)
static void assertEquals(float expected, float actual, float delta)
static void assertEquals(String message, double expected, double actual, double delta)
static void assertEquals(String message, byte expected, byte actual)
static void assertEquals(String message, float expected, float actual, float delta)
static void assertEquals(long expected, long actual)
static void assertEquals(int expected, int actual)
static void assertFalse(String message, boolean condition)
static void assertFalse(boolean condition)
static void assertNotNull(Object object)
static void assertNotNull(String message, Object object)
static void assertNotSame(String message, Object expected, Object actual)
static void assertNotSame(Object expected, Object actual)
static void assertNull(String message, Object object)
static void assertNull(Object object)
static void assertSame(String message, Object expected, Object actual)
static void assertSame(Object expected, Object actual)
static void assertTrue(String message, boolean condition)
static void assertTrue(boolean condition)
static void fail(String message)
static void fail()
static void failNotEquals(String message, Object expected, Object actual)
static void failNotSame(String message, Object expected, Object actual)
static void failSame(String message)
static String format(String message, Object expected, Object actual)