|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.deacon.test.DeaconServiceTest
public class DeaconServiceTest
Unit tests for the DeaconService class.
NOTE: The JUnit library must have higher precedence on the classpath than android.jar, or all tests will fail with a "Stub!" exception.
Constructor Summary | |
---|---|
DeaconServiceTest()
|
Method Summary | |
---|---|
void |
onError(DeaconError err)
Overridden methods from DeaconObserver interface These are necessary in order for the test to receive Deacon events. |
void |
onPush(DeaconResponse response)
|
void |
onReconnect()
|
void |
testCatchUpTimeOut()
|
void |
testJoinChannel()
|
void |
testLeaveChannel()
|
void |
testParse()
|
void |
testStart()
|
void |
testStop()
|
void |
testToString()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, getName, run, run, runBare, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeaconServiceTest()
Method Detail |
---|
public void testToString()
public void testJoinChannel()
public void testLeaveChannel()
public void testCatchUpTimeOut()
public void testParse()
public void testStart()
public void testStop()
public void onError(DeaconError err)
onError
in interface DeaconObserver
public void onPush(DeaconResponse response)
onPush
in interface DeaconObserver
public void onReconnect()
onReconnect
in interface DeaconObserver
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |