-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from jamesnyakush/testing
Added UI Test 🚀☺️
- Loading branch information
Showing
58 changed files
with
682 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.qhala | ||
|
||
import android.app.Application | ||
import android.content.Context | ||
import androidx.test.runner.AndroidJUnitRunner | ||
import dagger.hilt.android.testing.HiltTestApplication | ||
|
||
class HiltTestRunner : AndroidJUnitRunner() { | ||
|
||
override fun newApplication( | ||
cl: ClassLoader?, | ||
className: String?, | ||
context: Context? | ||
): Application { | ||
return super.newApplication(cl, HiltTestApplication::class.java.name, context) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.qhala.data | ||
|
||
import com.qhala.data.db.entity.Movie | ||
|
||
var tomClancy = Movie( | ||
567189, | ||
false, | ||
"https://image.tmdb.org/t/p/rEm96ib0sPiZBADNKBHKBv5bve9.jpg", | ||
"An elite Navy SEAL uncovers an international conspiracy while seeking justice for the murder of his pregnant wife.", | ||
4547.446, | ||
"https://image.tmdb.org/t/p/rEm96ib0sPiZBADNKBHKBv5bve9.jpg", | ||
"2021-04-29", | ||
"Tom Clancy's Without Remorse", | ||
7.3 | ||
) |
Oops, something went wrong.