mirror of
https://gitlab.bixilon.de/bixilon/pixlyzer-physics.git
synced 2025-09-23 12:26:15 -04:00
temporarly exit
This commit is contained in:
parent
04c3129717
commit
5f3a312b84
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user