├── .gitignore ├── LICENSE ├── README.md ├── UI Testing with Espresso.pdf ├── android-tests ├── build.gradle └── src │ └── unit-tests │ └── java │ └── com │ └── xrigau │ └── droidcon │ └── espresso │ └── AndroidUnitTest.java ├── app ├── build.gradle └── src │ ├── instrumentTest │ └── java │ │ └── com │ │ └── xrigau │ │ └── droidcon │ │ └── espresso │ │ ├── helper │ │ ├── DrawableMatcher.java │ │ └── EspressoTestsMatchers.java │ │ └── presentation │ │ ├── IdlingResourceActivityTest.java │ │ ├── MainActivityTest.java │ │ ├── PostListActivityTest.java │ │ └── VisitorActivityTest.java │ └── main │ ├── AndroidManifest.xml │ ├── java │ └── com │ │ └── xrigau │ │ └── droidcon │ │ └── espresso │ │ ├── loader │ │ ├── LoaderListener.java │ │ ├── PostsTaskLoader.java │ │ └── PostsTaskLoaderCallbacks.java │ │ ├── presentation │ │ ├── IdlingResourceActivity.java │ │ ├── MainActivity.java │ │ ├── PostListActivity.java │ │ ├── VisitorActivity.java │ │ ├── WorldDestructionCountdown.java │ │ └── adapter │ │ │ ├── EmptyAdapter.java │ │ │ └── PostsAdapter.java │ │ └── util │ │ └── DeveloperError.java │ └── res │ ├── drawable-hdpi │ └── ic_launcher.png │ ├── drawable-mdpi │ └── ic_launcher.png │ ├── drawable-xhdpi │ └── ic_launcher.png │ ├── drawable-xxhdpi │ └── ic_launcher.png │ ├── layout │ ├── activity_idling_resource.xml │ ├── activity_main.xml │ ├── activity_post_list.xml │ ├── activity_visitor.xml │ └── posts_list_item.xml │ ├── menu │ └── activity_visitor.xml │ └── values │ ├── strings.xml │ └── styles.xml ├── core ├── build.gradle └── src │ ├── main │ └── java │ │ └── com │ │ └── xrigau │ │ └── droidcon │ │ └── core │ │ ├── debug │ │ └── MockClient.java │ │ ├── model │ │ ├── Post.java │ │ └── PostList.java │ │ ├── service │ │ └── Services.java │ │ └── task │ │ ├── NewsTask.java │ │ ├── Task.java │ │ └── TaskExecutor.java │ └── unit-tests │ └── java │ └── com │ └── xrigau │ └── droidcon │ └── core │ ├── model │ └── PostShould.java │ └── task │ └── TaskExecutorShould.java ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/README.md -------------------------------------------------------------------------------- /UI Testing with Espresso.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/UI Testing with Espresso.pdf -------------------------------------------------------------------------------- /android-tests/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/android-tests/build.gradle -------------------------------------------------------------------------------- /android-tests/src/unit-tests/java/com/xrigau/droidcon/espresso/AndroidUnitTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/android-tests/src/unit-tests/java/com/xrigau/droidcon/espresso/AndroidUnitTest.java -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/app/build.gradle -------------------------------------------------------------------------------- /app/src/instrumentTest/java/com/xrigau/droidcon/espresso/helper/DrawableMatcher.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/app/src/instrumentTest/java/com/xrigau/droidcon/espresso/helper/DrawableMatcher.java -------------------------------------------------------------------------------- /app/src/instrumentTest/java/com/xrigau/droidcon/espresso/helper/EspressoTestsMatchers.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/app/src/instrumentTest/java/com/xrigau/droidcon/espresso/helper/EspressoTestsMatchers.java -------------------------------------------------------------------------------- /app/src/instrumentTest/java/com/xrigau/droidcon/espresso/presentation/IdlingResourceActivityTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/app/src/instrumentTest/java/com/xrigau/droidcon/espresso/presentation/IdlingResourceActivityTest.java -------------------------------------------------------------------------------- /app/src/instrumentTest/java/com/xrigau/droidcon/espresso/presentation/MainActivityTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/app/src/instrumentTest/java/com/xrigau/droidcon/espresso/presentation/MainActivityTest.java -------------------------------------------------------------------------------- /app/src/instrumentTest/java/com/xrigau/droidcon/espresso/presentation/PostListActivityTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/app/src/instrumentTest/java/com/xrigau/droidcon/espresso/presentation/PostListActivityTest.java -------------------------------------------------------------------------------- /app/src/instrumentTest/java/com/xrigau/droidcon/espresso/presentation/VisitorActivityTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/app/src/instrumentTest/java/com/xrigau/droidcon/espresso/presentation/VisitorActivityTest.java -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /app/src/main/java/com/xrigau/droidcon/espresso/loader/LoaderListener.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/app/src/main/java/com/xrigau/droidcon/espresso/loader/LoaderListener.java -------------------------------------------------------------------------------- /app/src/main/java/com/xrigau/droidcon/espresso/loader/PostsTaskLoader.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/app/src/main/java/com/xrigau/droidcon/espresso/loader/PostsTaskLoader.java -------------------------------------------------------------------------------- /app/src/main/java/com/xrigau/droidcon/espresso/loader/PostsTaskLoaderCallbacks.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/app/src/main/java/com/xrigau/droidcon/espresso/loader/PostsTaskLoaderCallbacks.java -------------------------------------------------------------------------------- /app/src/main/java/com/xrigau/droidcon/espresso/presentation/IdlingResourceActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/app/src/main/java/com/xrigau/droidcon/espresso/presentation/IdlingResourceActivity.java -------------------------------------------------------------------------------- /app/src/main/java/com/xrigau/droidcon/espresso/presentation/MainActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/app/src/main/java/com/xrigau/droidcon/espresso/presentation/MainActivity.java -------------------------------------------------------------------------------- /app/src/main/java/com/xrigau/droidcon/espresso/presentation/PostListActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/app/src/main/java/com/xrigau/droidcon/espresso/presentation/PostListActivity.java -------------------------------------------------------------------------------- /app/src/main/java/com/xrigau/droidcon/espresso/presentation/VisitorActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/app/src/main/java/com/xrigau/droidcon/espresso/presentation/VisitorActivity.java -------------------------------------------------------------------------------- /app/src/main/java/com/xrigau/droidcon/espresso/presentation/WorldDestructionCountdown.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/app/src/main/java/com/xrigau/droidcon/espresso/presentation/WorldDestructionCountdown.java -------------------------------------------------------------------------------- /app/src/main/java/com/xrigau/droidcon/espresso/presentation/adapter/EmptyAdapter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/app/src/main/java/com/xrigau/droidcon/espresso/presentation/adapter/EmptyAdapter.java -------------------------------------------------------------------------------- /app/src/main/java/com/xrigau/droidcon/espresso/presentation/adapter/PostsAdapter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/app/src/main/java/com/xrigau/droidcon/espresso/presentation/adapter/PostsAdapter.java -------------------------------------------------------------------------------- /app/src/main/java/com/xrigau/droidcon/espresso/util/DeveloperError.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/app/src/main/java/com/xrigau/droidcon/espresso/util/DeveloperError.java -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/app/src/main/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/app/src/main/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/app/src/main/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/app/src/main/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_idling_resource.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/app/src/main/res/layout/activity_idling_resource.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/app/src/main/res/layout/activity_main.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_post_list.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/app/src/main/res/layout/activity_post_list.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_visitor.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/app/src/main/res/layout/activity_visitor.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/posts_list_item.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/app/src/main/res/layout/posts_list_item.xml -------------------------------------------------------------------------------- /app/src/main/res/menu/activity_visitor.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/app/src/main/res/menu/activity_visitor.xml -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /core/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/core/build.gradle -------------------------------------------------------------------------------- /core/src/main/java/com/xrigau/droidcon/core/debug/MockClient.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/core/src/main/java/com/xrigau/droidcon/core/debug/MockClient.java -------------------------------------------------------------------------------- /core/src/main/java/com/xrigau/droidcon/core/model/Post.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/core/src/main/java/com/xrigau/droidcon/core/model/Post.java -------------------------------------------------------------------------------- /core/src/main/java/com/xrigau/droidcon/core/model/PostList.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/core/src/main/java/com/xrigau/droidcon/core/model/PostList.java -------------------------------------------------------------------------------- /core/src/main/java/com/xrigau/droidcon/core/service/Services.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/core/src/main/java/com/xrigau/droidcon/core/service/Services.java -------------------------------------------------------------------------------- /core/src/main/java/com/xrigau/droidcon/core/task/NewsTask.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/core/src/main/java/com/xrigau/droidcon/core/task/NewsTask.java -------------------------------------------------------------------------------- /core/src/main/java/com/xrigau/droidcon/core/task/Task.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/core/src/main/java/com/xrigau/droidcon/core/task/Task.java -------------------------------------------------------------------------------- /core/src/main/java/com/xrigau/droidcon/core/task/TaskExecutor.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/core/src/main/java/com/xrigau/droidcon/core/task/TaskExecutor.java -------------------------------------------------------------------------------- /core/src/unit-tests/java/com/xrigau/droidcon/core/model/PostShould.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/core/src/unit-tests/java/com/xrigau/droidcon/core/model/PostShould.java -------------------------------------------------------------------------------- /core/src/unit-tests/java/com/xrigau/droidcon/core/task/TaskExecutorShould.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/core/src/unit-tests/java/com/xrigau/droidcon/core/task/TaskExecutorShould.java -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/gradlew.bat -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xrigau/droidcon-android-espresso/HEAD/settings.gradle --------------------------------------------------------------------------------