You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"To get access to builtins in a test, the best way is to probably build up a stub code execution context."
We would like to provide a basic test that uses builtins (assuming no such test already exists.) So that we could test many commands that depend on builtins. e.g. epochTime.
At the moment, calling any such command results in a runtime error (compiler is not able to catch this problem):
[info] - Translation of java.util.Calendar and System.nanoTime etc to work *** FAILED ***
[info] java.lang.NullPointerException:
[info] at net.kogics.kojo.lite.i18n.TurkishAPI$.buAn(trInit.scala:237)
[info] at net.kogics.kojo.lite.i18n.TurkishAPITest.$anonfun$new$121(TurkishAPITest.scala:686)
[info] at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
[info] at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
[info] at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
[info] at org.scalatest.Transformer.apply(Transformer.scala:22)
[info] at org.scalatest.Transformer.apply(Transformer.scala:20)
[info] at org.scalatest.FunSuiteLike$$anon$1.apply(FunSuiteLike.scala:186)
[info] at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
[info] at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
[info] ...
The text was updated successfully, but these errors were encountered:
"To get access to builtins in a test, the best way is to probably build up a stub code execution context."
We would like to provide a basic test that uses builtins (assuming no such test already exists.) So that we could test many commands that depend on builtins. e.g. epochTime.
At the moment, calling any such command results in a runtime error (compiler is not able to catch this problem):
The text was updated successfully, but these errors were encountered: