truffle-tck
API reference for truffle-tck.
Packages
com.oracle.truffle.tck3 types
Contains testing utilities like DebuggerTester and TruffleRunner.
public final class DebuggerTesterTest utility class that makes it easier to test and debug debugger functionality for guest languages.
public interface .PositionPredicatePredicate of testable positions.
public class TruffleRunnerJUnit test runner for unit testing Truffle AST interpreters.
public @interface .InjectA parameter annotated with
Injectspecifies theRootNodeof the test AST.public static final class .ParametersFactoryParametersRunnerFactoryfor testing Truffle AST interpreters usingParameterizedunit tests.public static final class .RunWithPolyglotRuleJUnit rule to run the tests in the context of a polyglot engine.
public @interface .WarmupA test method can be annotated with
Warmupto specify how many warmup iterations of a test should be done before the Truffle tree is compiled.
public final class TruffleTestInvokerTruffleTestInvokerLanguageProviderNo description.
com.oracle.truffle.tck.impl6 types
public class PolyglotEngineWithJavaScriptTests with code snippets referencing JavaScript (executed only when an implementation of JavaScript is around).
public static final class .MomentNo description.
public class PolyglotEngineWithRTests with code snippets in R language (executed only when an implementation of R is around).
public class PolyglotEngineWithRubyTests with code snippets referencing Ruby (executed only when implementation of Ruby is around).
public final class TckLanguageNo description.
public final class TckLanguageProviderNo description.
public abstract class TruffleLanguageRunnerNo description.
public static final class .JavaScriptRunnerNo description.
public static final class .RRunnerNo description.
public static final class .RubyRunnerNo description.