Skip to content

Commit

Permalink
Test service preconditions
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinmarnold committed Aug 24, 2015
1 parent 91aac24 commit ea90674
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,14 @@ public void testBindable() {
startIntent.setClass(getContext(), ServiceTestCase.class);
IBinder service = bindService(startIntent);
}

/**
* The name 'test preconditions' is a convention to signal that if this
* test doesn't pass, the test case was not set up properly and it might
* explain any and all failures in other tests. This is not guaranteed
* to run before other tests, as junit uses reflection to find the tests.
*/
@SmallTest
public void testPreconditions() {
}
}

0 comments on commit ea90674

Please sign in to comment.