Here are the examples of the java api class com.google.android.apps.common.testing.ui.testapp.SyncActivity.HelloWorldServer taken from open source projects.
1. AdvancedSynchronizationTest#setUp()
Project: double-espresso
File: AdvancedSynchronizationTest.java
File: AdvancedSynchronizationTest.java
@Override public void setUp() throws Exception { super.setUp(); SyncActivity activity = getActivity(); HelloWorldServer realServer = activity.getHelloWorldServer(); // Here, we use CountingIdlingResource - a common convenience class - to track the idle state of // the server. You could also do this yourself, by implementing the IdlingResource interface. CountingIdlingResource countingResource = new CountingIdlingResource("HelloWorldServerCalls"); activity.setHelloWorldServer(new DecoratedHelloWorldServer(realServer, countingResource)); registerIdlingResources(countingResource); }