-
-
Notifications
You must be signed in to change notification settings - Fork 402
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'fix-robolectric-tests' into fix-55.1
- Loading branch information
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
app/src/test/java/com/battlelancer/seriesguide/EmptyTestApplication.kt
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,9 @@ | ||
package com.battlelancer.seriesguide | ||
|
||
import android.app.Application | ||
|
||
/** | ||
* Empty [Application] to use with Robolectric @Config to avoid errors | ||
* with components that require an actual device to initialize. | ||
*/ | ||
class EmptyTestApplication : Application() |
3 changes: 3 additions & 0 deletions
3
app/src/test/java/com/battlelancer/seriesguide/thetvdbapi/TvdbImageToolsTest.kt
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