Java Code Examples for android.support.test.rule.ServiceTestRule

The following are top voted examples for showing how to use android.support.test.rule.ServiceTestRule. These examples are extracted from open source projects. You can vote up the examples you like and your votes will be used in our system to generate more good examples.
Example 1
Project: custom-tabs-client   File: PostMessageTest.java   View source code 4 votes vote down vote up
public PostMessageTest() {
    mActivityTestRule = new ActivityTestRule<TestActivity>(TestActivity.class);
    mServiceRule = new ServiceTestRule();
}
 
Example 2
Project: custom-tabs-client   File: PostMessageServiceConnectionTest.java   View source code 4 votes vote down vote up
public PostMessageServiceConnectionTest() {
    mActivityTestRule = new ActivityTestRule<TestActivity>(TestActivity.class);
    mServiceRule = new ServiceTestRule();
}