Skip to content

Commit 0e4d1df

Browse files
committed
Move testing code to androidTest
Move all code that is no used for the library itself, but for testing the library to the `androidTest` source root. see also: http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Testing-Android-Libraries fix #10
1 parent 39aec45 commit 0e4d1df

9 files changed

Lines changed: 22 additions & 21 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2+
package="com.stericson.RootShell">
3+
4+
<application
5+
android:label="@string/app_name"
6+
android:icon="@drawable/ic_launcher">
7+
8+
<activity
9+
android:name="com.stericson.RootShellTests.SanityCheckRootShell"
10+
android:label="@string/app_name">
11+
12+
<intent-filter>
13+
<action android:name="android.intent.action.MAIN"/>
14+
15+
<category android:name="android.intent.category.LAUNCHER"/>
16+
</intent-filter>
17+
</activity>
18+
19+
</application>
20+
21+
</manifest>

src/main/java/com/stericson/RootShellTests/NativeJavaClass.java renamed to src/androidTest/java/com/stericson/RootShellTests/NativeJavaClass.java

File renamed without changes.

src/main/java/com/stericson/RootShellTests/SanityCheckRootShell.java renamed to src/androidTest/java/com/stericson/RootShellTests/SanityCheckRootShell.java

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/main/AndroidManifest.xml

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1 @@
1-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.stericson.RootShell">
3-
4-
<application
5-
android:label="@string/app_name"
6-
android:icon="@drawable/ic_launcher">
7-
8-
<activity
9-
android:name="com.stericson.RootShellTests.SanityCheckRootShell"
10-
android:label="@string/app_name">
11-
12-
<intent-filter>
13-
<action android:name="android.intent.action.MAIN"/>
14-
15-
<category android:name="android.intent.category.LAUNCHER"/>
16-
</intent-filter>
17-
</activity>
18-
19-
</application>
20-
21-
</manifest>
1+
<manifest package="com.stericson.RootShell"/>

0 commit comments

Comments
 (0)