Had a go at adding a simple automatic test - can't make it work though!
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import org.junit.Test;
|
||||
import java.util.regex.Pattern;
|
||||
import static org.junit.Assert.assertFalse;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
|
||||
public class SdServiceConnectionTest {
|
||||
|
||||
@Test
|
||||
public void isconnected_test() {
|
||||
assertThat(SdServiceConnection.isConnected(), is(true));
|
||||
}
|
||||
...
|
||||
}
|
||||
Reference in New Issue
Block a user