File tree 3 files changed +7
-8
lines changed
src/cucumber/example/android/cukeulator/test
3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 10
10
<version >1.1.5-SNAPSHOT</version >
11
11
</parent >
12
12
13
- <artifactId >android-example -test</artifactId >
13
+ <artifactId >cukelator -test</artifactId >
14
14
<packaging >apk</packaging >
15
15
<name >Examples: Android Cukeulator Test</name >
16
16
27
27
</dependency >
28
28
<dependency >
29
29
<groupId >info.cukes</groupId >
30
- <artifactId >cucumber-java </artifactId >
30
+ <artifactId >cucumber-picocontainer </artifactId >
31
31
</dependency >
32
32
<dependency >
33
33
<groupId >info.cukes.android-examples</groupId >
34
- <artifactId >android-example </artifactId >
34
+ <artifactId >cukelator </artifactId >
35
35
<version >${project.version} </version >
36
36
<scope >provided</scope >
37
37
</dependency >
38
38
<!-- declare apk dependency for android:deploy-dependencies target -->
39
39
<dependency >
40
40
<groupId >info.cukes.android-examples</groupId >
41
- <artifactId >android-example </artifactId >
41
+ <artifactId >cukelator </artifactId >
42
42
<version >${project.version} </version >
43
43
<scope >provided</scope >
44
44
<type >apk</type >
Original file line number Diff line number Diff line change 3
3
import android .test .ActivityInstrumentationTestCase2 ;
4
4
import android .widget .TextView ;
5
5
import cucumber .api .CucumberOptions ;
6
- import cucumber .api .java .After ;
7
- import cucumber .api .java .Before ;
8
6
import cucumber .api .java .en .Given ;
9
7
import cucumber .api .java .en .Then ;
10
8
import cucumber .api .java .en .When ;
32
30
@ CucumberOptions (features = "features" )
33
31
public class CalculatorActivitySteps extends ActivityInstrumentationTestCase2 <CalculatorActivity > {
34
32
35
- public CalculatorActivitySteps () {
33
+ public CalculatorActivitySteps (SomeDependency dependency ) {
36
34
super (CalculatorActivity .class );
35
+ assertNotNull (dependency );
37
36
}
38
37
39
38
@ Given ("^I have a CalculatorActivity$" )
Original file line number Diff line number Diff line change 10
10
<version >1.1.5-SNAPSHOT</version >
11
11
</parent >
12
12
13
- <artifactId >android-example </artifactId >
13
+ <artifactId >cukelator </artifactId >
14
14
<packaging >apk</packaging >
15
15
<name >Examples: Android Cukeulator</name >
16
16
You can’t perform that action at this time.
0 commit comments