├── .gitignore ├── README.md ├── app ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ └── main │ ├── AndroidManifest.xml │ ├── java │ └── com │ │ └── blundell │ │ └── tests │ │ └── MyActivity.java │ └── res │ ├── drawable-hdpi │ └── ic_launcher.png │ ├── drawable-mdpi │ └── ic_launcher.png │ ├── drawable-xhdpi │ └── ic_launcher.png │ ├── drawable-xxhdpi │ └── ic_launcher.png │ ├── layout │ └── activity_my.xml │ ├── menu │ └── my.xml │ ├── values-w820dp │ └── dimens.xml │ └── values │ ├── dimens.xml │ ├── strings.xml │ └── styles.xml ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── robolectric-tests ├── build.gradle └── src │ └── test │ └── java │ └── com │ └── blundell │ ├── RobolectricGradleTestRunner.java │ └── tests │ └── MyAndroidClassTest.java └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blundell/tests-app-robolectric-junit/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blundell/tests-app-robolectric-junit/HEAD/README.md -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blundell/tests-app-robolectric-junit/HEAD/app/build.gradle -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blundell/tests-app-robolectric-junit/HEAD/app/proguard-rules.pro -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blundell/tests-app-robolectric-junit/HEAD/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /app/src/main/java/com/blundell/tests/MyActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blundell/tests-app-robolectric-junit/HEAD/app/src/main/java/com/blundell/tests/MyActivity.java -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blundell/tests-app-robolectric-junit/HEAD/app/src/main/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blundell/tests-app-robolectric-junit/HEAD/app/src/main/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blundell/tests-app-robolectric-junit/HEAD/app/src/main/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blundell/tests-app-robolectric-junit/HEAD/app/src/main/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_my.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blundell/tests-app-robolectric-junit/HEAD/app/src/main/res/layout/activity_my.xml -------------------------------------------------------------------------------- /app/src/main/res/menu/my.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blundell/tests-app-robolectric-junit/HEAD/app/src/main/res/menu/my.xml -------------------------------------------------------------------------------- /app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blundell/tests-app-robolectric-junit/HEAD/app/src/main/res/values-w820dp/dimens.xml -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blundell/tests-app-robolectric-junit/HEAD/app/src/main/res/values/dimens.xml -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blundell/tests-app-robolectric-junit/HEAD/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blundell/tests-app-robolectric-junit/HEAD/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blundell/tests-app-robolectric-junit/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blundell/tests-app-robolectric-junit/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blundell/tests-app-robolectric-junit/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blundell/tests-app-robolectric-junit/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blundell/tests-app-robolectric-junit/HEAD/gradlew.bat -------------------------------------------------------------------------------- /robolectric-tests/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blundell/tests-app-robolectric-junit/HEAD/robolectric-tests/build.gradle -------------------------------------------------------------------------------- /robolectric-tests/src/test/java/com/blundell/RobolectricGradleTestRunner.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blundell/tests-app-robolectric-junit/HEAD/robolectric-tests/src/test/java/com/blundell/RobolectricGradleTestRunner.java -------------------------------------------------------------------------------- /robolectric-tests/src/test/java/com/blundell/tests/MyAndroidClassTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blundell/tests-app-robolectric-junit/HEAD/robolectric-tests/src/test/java/com/blundell/tests/MyAndroidClassTest.java -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app', ':robolectric-tests' 2 | --------------------------------------------------------------------------------