-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest
37 lines (28 loc) · 981 Bytes
/
test
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
# should generate R file
> gen-r(for android)
$ exists target/scala-2.9.1/src_managed/main/java/org/sbt/android/R.java
# should generate AIDL file
> gen-aidl(for android)
$ exists target/scala-2.9.1/src_managed/main/java/org/sbt/android/IAdditionService.java
# should package resources into APK
> gen-res-apk(for android)
$ exists target/resources.apk
# should compile
> compile
$ exists target/scala-2.9.1/classes/org/sbt/android/R.class
$ exists target/scala-2.9.1/classes/org/sbt/android/MainActivity.class
$ exists target/scala-2.9.1/classes/org/sbt/android/IAdditionService.class
# should generate AIDL file
> compile
> gen-dx(for android)
$ exists target/classes.dex
# should package into an APK
> gen-dx(for android)
> package-apk(for debug)
$ exists target/out.apk
# should clean correctly
> clean
$ delete target/scala-2.9.1/classes/org/sbt/android/R.class
$ delete target/src_managed/main/java/org/sbt/android/R.java
# without robolectric it should fail
-> test