blob: 553938c805e4f68b7c7d471e25913e8f3ffc265b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
package github.daneren2005.dsub.activity;
import github.daneren2005.dsub.R;
import android.test.ActivityInstrumentationTestCase2;
public class SubsonicFragmentActivityTest extends
ActivityInstrumentationTestCase2<SubsonicFragmentActivity> {
private SubsonicFragmentActivity activity;
public SubsonicFragmentActivityTest() {
super(SubsonicFragmentActivity.class);
}
@Override
protected void setUp() throws Exception {
super.setUp();
activity = getActivity();
}
/**
* Test the main layout.
*/
public void testLayout() {
assertNotNull(activity.findViewById(R.id.content_frame));
}
/**
* Test the bottom bar.
*/
public void testBottomBar() {
assertNotNull(activity.findViewById(R.id.bottom_bar));
}
}
|