jvmTest.org.luaj.vm2.compiler.LuaParserTests.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of luak Show documentation
Show all versions of luak Show documentation
Multiplatform Kotlin LuaJ port (LUA interpreter)
package org.luaj.vm2.compiler
import org.luaj.vm2.*
import org.luaj.vm2.io.*
import org.luaj.vm2.parser.*
import java.io.*
import kotlin.test.*
class LuaParserTests : CompilerUnitTests() {
init {
LuaValue.valueOf(true)
}
override fun doTest(file: String) {
//try {
//val parser = LuaParser(inputStreamOfFile(file), "ISO-8859-1")
val parser = LuaParser(inputStreamOfFile(file))
parser.Chunk()
//} catch (e: Exception) {
// fail(e.message)
// e.printStackTrace()
//}
}
}