Lines Matching full:link
52 * The {@link #setUp()} method is called before each test method. The base implementation
57 * The test case waits to call {@link android.app.Service#onCreate()} until one of your
58 * test methods calls {@link #startService} or {@link #bindService}. This gives you an
63 * When one of your test methods calls {@link #startService ServiceTestCase.startService()}
64 * or {@link #bindService ServiceTestCase.bindService()}, the test case calls
65 * {@link android.app.Service#onCreate() Service.onCreate()} and then calls either
66 * {@link android.app.Service#startService(Intent) Service.startService(Intent)} or
67 * {@link android.app.Service#bindService(Intent, ServiceConnection, int)
72 * After each test method finishes, the test case calls the {@link #tearDown} method. This
81 * A service has two inherent dependencies, its {@link android.content.Context Context} and its
82 * associated {@link android.app.Application Application}. The ServiceTestCase framework
88 * {@link android.test.mock.MockApplication MockApplication} object. You can inject
90 * {@link AndroidTestCase#setContext(Context) setContext()} or
91 * {@link #setApplication setApplication()}. You must do this <em>before</em> calling
94 * {@link android.test.mock.MockContext MockContext},
95 * {@link android.test.RenamingDelegatingContext RenamingDelegatingContext},
96 * {@link android.content.ContextWrapper ContextWrapper}, and
97 * {@link android.test.IsolatedContext}.
124 * a test calls {@link #startService} or {@link #bindService}.
148 * (Context, Application) to it. This is called automatically by {@link #startService} or
149 * by {@link #bindService}.
150 * If you need to call {@link AndroidTestCase#setContext(Context) setContext()} or
151 * {@link #setApplication setApplication()}, do so before calling this method.
180 * {@link android.content.Context#startService(Intent) Context.startService(Intent)} with
181 * an {@link android.content.Intent} that identifies a service.
183 * {@link #tearDown}.
186 * {@link android.content.Context#startService(Intent) Context.startService(Intent)}.
206 * {@link android.content.Context#bindService(Intent, ServiceConnection, int)
208 * {@link android.content.Intent} that identifies a service.
212 * {@link android.content.ServiceConnection} object or the flags parameter. Instead,
214 * subclass of {@link android.os.IBinder}, or null if the method fails. An IBinder
216 * the service. The flag is assumed to be {@link android.content.Context#BIND_AUTO_CREATE}.
228 * {@link android.content.Context#bindService}.
253 * calls onDestroy(). Ordinarily this is called automatically (by {@link #tearDown}, but
297 * a new {@link android.test.mock.MockApplication MockApplication} object is used.
319 * Returns the real system context that is saved by {@link #setUp()}. Use it to create
329 * Tests that {@link #setupService()} runs correctly and issues an
330 * {@link junit.framework.Assert#assertNotNull(String, Object)} if it does.