All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jvmTest.org.luaj.vm2.compiler.LuaParserTests.kt Maven / Gradle / Ivy

There is a newer version: 4.0.0-alpha-2
Show newest version
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()
        //}

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy