temporarly exit

This commit is contained in:
Bixilon 2022-11-12 20:32:22 +01:00
parent 04c3129717
commit 5f3a312b84
No known key found for this signature in database
GPG Key ID: 5CAD791931B09AC4

View File

@ -6,9 +6,10 @@ import de.bixilon.pixlyzer.physics.tests.GravityTest
import de.bixilon.pixlyzer.physics.tests.PhysicsTest
import de.bixilon.pixlyzer.physics.tests.packet.PacketReceiveTest
import java.lang.reflect.Method
import kotlin.system.exitProcess
object PhysicsExtractor {
val tests = listOf<Class<out AbstractTest>>(
val tests = listOf(
EmptyTest::class.java,
PacketReceiveTest::class.java,
GravityTest::class.java,
@ -28,6 +29,7 @@ object PhysicsExtractor {
}
@JvmStatic
fun start() {
for (tests in tests) {
val instance = tests.getConstructor().newInstance()
@ -44,5 +46,6 @@ object PhysicsExtractor {
}
}
}
exitProcess(0)
}
}