projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
🚧 Load ALL identities instead of only trusted ones
[Sone.git]
/
src
/
test
/
kotlin
/
net
/
pterodactylus
/
sone
/
main
/
SonePluginTest.kt
diff --git
a/src/test/kotlin/net/pterodactylus/sone/main/SonePluginTest.kt
b/src/test/kotlin/net/pterodactylus/sone/main/SonePluginTest.kt
index
0bb03af
..
d1e2cec
100644
(file)
--- a/
src/test/kotlin/net/pterodactylus/sone/main/SonePluginTest.kt
+++ b/
src/test/kotlin/net/pterodactylus/sone/main/SonePluginTest.kt
@@
-110,7
+110,7
@@
class SonePluginTest {
private class FirstStartListener(private val firstStartReceived: AtomicBoolean) {
@Subscribe
private class FirstStartListener(private val firstStartReceived: AtomicBoolean) {
@Subscribe
- fun firstStart(firstStart: FirstStart) {
+ fun firstStart(
@Suppress("UNUSED_PARAMETER")
firstStart: FirstStart) {
firstStartReceived.set(true)
}
}
firstStartReceived.set(true)
}
}
@@
-141,7
+141,7
@@
class SonePluginTest {
private class ConfigNotReadListener(private val configNotReadReceiver: AtomicBoolean) {
@Subscribe
private class ConfigNotReadListener(private val configNotReadReceiver: AtomicBoolean) {
@Subscribe
- fun configNotRead(configNotRead: ConfigNotRead) {
+ fun configNotRead(
@Suppress("UNUSED_PARAMETER")
configNotRead: ConfigNotRead) {
configNotReadReceiver.set(true)
}
}
configNotReadReceiver.set(true)
}
}
@@
-185,7
+185,7
@@
class SonePluginTest {
private class StartupListener(private val startupReceived: () -> Unit) {
@Subscribe
private class StartupListener(private val startupReceived: () -> Unit) {
@Subscribe
- fun startup(startup: Startup) {
+ fun startup(
@Suppress("UNUSED_PARAMETER")
startup: Startup) {
startupReceived()
}
}
startupReceived()
}
}
@@
-202,7
+202,7
@@
class SonePluginTest {
private class ShutdownListener(private val shutdownReceived: () -> Unit) {
@Subscribe
private class ShutdownListener(private val shutdownReceived: () -> Unit) {
@Subscribe
- fun shutdown(shutdown: Shutdown) {
+ fun shutdown(
@Suppress("UNUSED_PARAMETER")
shutdown: Shutdown) {
shutdownReceived()
}
}
shutdownReceived()
}
}