How to test device reboot using JUnit?
<p>I have created and application that can reboot your device. Now i want to write JUnit for that application. But the problem is when the device is rebooted the JUnit process is also killed.
My test case will pass when the BOOT_COMPLETE broadcast is received.  Please suggest me some ways to test my application. I can go into any depth to resolve this issue. </p>
