Fix Formatting issue and rename class.
This commit is contained in:
parent
39e95496cb
commit
e6329ae6d9
2 changed files with 5 additions and 5 deletions
|
|
@ -200,7 +200,7 @@ class DefaultBugReporterTest {
|
||||||
withScreenshot = true,
|
withScreenshot = true,
|
||||||
problemDescription = "a bug occurred",
|
problemDescription = "a bug occurred",
|
||||||
canContact = true,
|
canContact = true,
|
||||||
listener = FakeBugReporterListener(),
|
listener = NoopBugReporterListener(),
|
||||||
)
|
)
|
||||||
val request = server.takeRequest()
|
val request = server.takeRequest()
|
||||||
|
|
||||||
|
|
@ -242,7 +242,7 @@ class DefaultBugReporterTest {
|
||||||
withScreenshot = true,
|
withScreenshot = true,
|
||||||
problemDescription = "a bug occurred",
|
problemDescription = "a bug occurred",
|
||||||
canContact = true,
|
canContact = true,
|
||||||
listener = FakeBugReporterListener(),
|
listener = NoopBugReporterListener(),
|
||||||
)
|
)
|
||||||
val request = server.takeRequest()
|
val request = server.takeRequest()
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,9 +18,9 @@ package io.element.android.features.rageshake.impl.reporter
|
||||||
|
|
||||||
import io.element.android.features.rageshake.api.reporter.BugReporterListener
|
import io.element.android.features.rageshake.api.reporter.BugReporterListener
|
||||||
|
|
||||||
class FakeBugReporterListener: BugReporterListener {
|
class NoopBugReporterListener : BugReporterListener {
|
||||||
override fun onUploadCancelled() = Unit
|
override fun onUploadCancelled() = Unit
|
||||||
override fun onUploadFailed(reason: String?) = Unit
|
override fun onUploadFailed(reason: String?) = Unit
|
||||||
override fun onProgress(progress: Int) = Unit
|
override fun onProgress(progress: Int) = Unit
|
||||||
override fun onUploadSucceed() = Unit
|
override fun onUploadSucceed() = Unit
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue