Skip to content

Added Dagger 2 architecture to test module#32

Open
gleberemeev wants to merge 35 commits intoLiveTyping:githup-apifrom
gleberemeev:master
Open

Added Dagger 2 architecture to test module#32
gleberemeev wants to merge 35 commits intoLiveTyping:githup-apifrom
gleberemeev:master

Conversation

@gleberemeev
Copy link

  • added test component which provides application scope dependencies and can inject test classes
  • added test module which force mock mode
  • added test application inherited from project application which eliminates the needs to change app component runtime
  • changed test instrumentation runner to use test project application instead of regular app during instrumentation testing
  • added some tests
  • added some testing utils
  • refactored existing tests

Gleb Eremeev added 30 commits August 31, 2016 19:11
Conflicts:
	app/build.gradle
	app/src/internalDebug/java/ru/ltst/u2020mvp/data/api/ServerDatabase.java
	app/src/main/java/ru/ltst/u2020mvp/data/GalleryDatabase.java
	app/src/main/java/ru/ltst/u2020mvp/data/api/model/response/Image.java
	app/src/main/java/ru/ltst/u2020mvp/ui/gallery/GalleryComponent.java
	app/src/main/java/ru/ltst/u2020mvp/ui/gallery/view/GalleryView.java
	app/src/main/java/ru/ltst/u2020mvp/ui/image/ImgurImageModule.java
	build.gradle
	gradle.properties
	gradle/wrapper/gradle-wrapper.properties
@gleberemeev gleberemeev changed the base branch from master to githup-api September 23, 2016 18:15
#Wed Aug 31 19:09:15 OMST 2016
=======
#Sat Sep 10 18:24:49 OMST 2016
>>>>>>> upstream/githup-api
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gleberemeev Conflict!

@gleberemeev
Copy link
Author

@cosic fixed

@cosic
Copy link
Collaborator

cosic commented Sep 23, 2016

@gleberemeev а few tests are not passed image

@gleberemeev
Copy link
Author

@cosic fixed

@cosic
Copy link
Collaborator

cosic commented Oct 5, 2016

@gleberemeev Tests still have one crash image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants