-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
84fba81
commit 0b781b8
Showing
3 changed files
with
31 additions
and
1 deletion.
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
26 changes: 26 additions & 0 deletions
26
core/test/src/commonTest/kotlin/xyz/ksharma/core/test/fakes/FakeGtfsService.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,26 @@ | ||
package xyz.ksharma.core.test.fakes | ||
|
||
import xyz.ksharma.krail.gtfs_static.NswGtfsService | ||
|
||
class FakeGtfsService : NswGtfsService { | ||
|
||
override suspend fun getSydneyTrains() { | ||
// Do nothing | ||
} | ||
|
||
override suspend fun getSydneyMetro() { | ||
// Do nothing | ||
} | ||
|
||
override suspend fun getLightRail() { | ||
// Do nothing | ||
} | ||
|
||
override suspend fun getNswTrains() { | ||
// Do nothing | ||
} | ||
|
||
override suspend fun getSydneyFerries() { | ||
// Do nothing | ||
} | ||
} |
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