/
DefaultThemeTest.java
45 lines (33 loc) · 1.19 KB
/
DefaultThemeTest.java
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
35
36
37
38
39
40
41
42
43
44
45
/*
package org.mapsforge.samples.android.test;
import android.test.ActivityInstrumentationTestCase2;
import com.robotium.solo.Solo;
import org.mapsforge.samples.android.DefaultTheme;
public class DefaultThemeTest extends ActivityInstrumentationTestCase2<DefaultTheme> {
Solo solo;
final static int iterations = TestUtils.iterations;
public DefaultThemeTest() {
super(DefaultTheme.class);
}
@Override
public void setUp() throws Exception {
this.solo = new Solo(getInstrumentation(), getActivity());
}
public void testClickWithRotation() throws Exception {
TestUtils.testClickWithRotation(this.solo, this.iterations);
}
public void testClickWithoutRotation() throws Exception {
TestUtils.testClickWithoutRotation(this.solo, this.iterations);
}
public void testScrollWithRotation() throws Exception {
TestUtils.testScrollWithRotation(this.solo, this.iterations);
}
public void testScrollWithoutRotation() throws Exception {
TestUtils.testScrollWithoutRotation(this.solo, this.iterations);
}
@Override
public void tearDown() throws Exception {
this.solo.finishOpenedActivities();
}
}
*/