Index

A C D E G H I J M P R S T V W 
All Classes and Interfaces|All Packages

A

accessFieldsOfJavaObject() - Method in class com.oracle.truffle.tck.impl.PolyglotEngineWithJavaScript
 
accessFieldsOfJavaObjectWithConverter() - Method in class com.oracle.truffle.tck.impl.PolyglotEngineWithJavaScript
 
accessJavaScriptArrayWithTypedElementsFromJava() - Method in class com.oracle.truffle.tck.impl.PolyglotEngineWithJavaScript
 
accessJavaScriptJSONObjectFromJava() - Method in class com.oracle.truffle.tck.impl.PolyglotEngineWithJavaScript
 
apply(Statement, Description) - Method in class com.oracle.truffle.tck.TruffleRunner.RunWithPolyglotRule
Internal method used by the JUnit framework.
assertBreakpointsBreakEverywhere(Source) - Method in class com.oracle.truffle.tck.DebuggerTester
Utility method that tests if a breakpoint submitted to any location in the source code suspends the execution.
assertBreakpointsBreakEverywhere(Source, DebuggerTester.PositionPredicate) - Method in class com.oracle.truffle.tck.DebuggerTester
Utility method that tests if a breakpoint submitted to any location permitted by the DebuggerTester.PositionPredicate in the source code suspends the execution.
assertColumnBreakpointsResolution(String, String, String, String) - Method in class com.oracle.truffle.tck.DebuggerTester
Utility method that checks proper resolution of column breakpoints.
assertColumnBreakpointsResolution(String, String, String, String, URI) - Method in class com.oracle.truffle.tck.DebuggerTester
 
assertLineBreakpointsResolution(String, DebuggerTester.PositionPredicate, String, String) - Method in class com.oracle.truffle.tck.DebuggerTester
 
assertLineBreakpointsResolution(String, String, String) - Method in class com.oracle.truffle.tck.DebuggerTester
Utility method that checks proper resolution of line breakpoints.

C

callJavaScriptClassFactoryFromJava() - Method in class com.oracle.truffle.tck.impl.PolyglotEngineWithJavaScript
 
callJavaScriptFunctionFromJava() - Method in class com.oracle.truffle.tck.impl.PolyglotEngineWithJavaScript
 
callJavaScriptFunctionsWithSharedStateFromJava() - Method in class com.oracle.truffle.tck.impl.PolyglotEngineWithJavaScript
 
callRFunctionFromJava() - Method in class com.oracle.truffle.tck.impl.PolyglotEngineWithR
 
callRubyFunctionFromJava() - Method in class com.oracle.truffle.tck.impl.PolyglotEngineWithRuby
 
checkBounds(int, int) - Static method in class com.oracle.truffle.tck.impl.TckLanguage
 
close() - Method in class com.oracle.truffle.tck.DebuggerTester
Closes the current debugger tester session and all its associated resources like the background thread.
closeEngine() - Method in class com.oracle.truffle.tck.DebuggerTester
Close the engine.
com.oracle.truffle.tck - package com.oracle.truffle.tck
Contains testing utilities like DebuggerTester and TruffleRunner.
com.oracle.truffle.tck.impl - package com.oracle.truffle.tck.impl
 
createContext(TruffleLanguage.Env) - Method in class com.oracle.truffle.tck.impl.TckLanguage
 
createJavaScriptFactoryForJavaClass() - Method in class com.oracle.truffle.tck.impl.PolyglotEngineWithJavaScript
 
createRunnerForTestWithParameters(TestWithParameters) - Method in class com.oracle.truffle.tck.TruffleRunner.ParametersFactory
Internal method used by the JUnit framework.

D

DebuggerTester - Class in com.oracle.truffle.tck
Test utility class that makes it easier to test and debug debugger functionality for guest languages.
DebuggerTester() - Constructor for class com.oracle.truffle.tck.DebuggerTester
Constructs a new debugger tester instance.
DebuggerTester(Context.Builder) - Constructor for class com.oracle.truffle.tck.DebuggerTester
Constructs a new debugger tester instance with a pre-set context builder.
DebuggerTester.PositionPredicate - Interface in com.oracle.truffle.tck
Predicate of testable positions.
disposeEngine() - Method in class com.oracle.truffle.tck.impl.PolyglotEngineWithJavaScript
 
disposeEngine() - Method in class com.oracle.truffle.tck.impl.PolyglotEngineWithR
 
disposeEngine() - Method in class com.oracle.truffle.tck.impl.PolyglotEngineWithRuby
 

E

expectDone() - Method in class com.oracle.truffle.tck.DebuggerTester
Expects the current evaluation to be completed successfully and not be killed or to produce further suspended events.
expectKilled() - Method in class com.oracle.truffle.tck.DebuggerTester
Expects the current evaluation to be killed and not be completed or to produce further suspended events.
expectNumber(Object) - Static method in class com.oracle.truffle.tck.impl.TckLanguage
 
expectString(Object) - Static method in class com.oracle.truffle.tck.impl.TckLanguage
 
expectSuspended(SuspendedCallback) - Method in class com.oracle.truffle.tck.DebuggerTester
Expects a suspended event and returns it for potential assertions.
expectSuspended(SuspendedCallback, Function<String, Boolean>) - Method in class com.oracle.truffle.tck.DebuggerTester
Expects a suspended event and returns it for potential assertions, allows to verify errors printed to the error output.
expectThrowable() - Method in class com.oracle.truffle.tck.DebuggerTester
Expects the current evaluation to be completed with an error and not be killed or to produce further suspended events.
expectTruffleObject(Object) - Static method in class com.oracle.truffle.tck.impl.TckLanguage
 

G

getDebugger() - Method in class com.oracle.truffle.tck.DebuggerTester
Get the Debugger instance associated with the current engine.
getErr() - Method in class com.oracle.truffle.tck.DebuggerTester
Returns the error output of the underlying context.
getEvalThread() - Method in class com.oracle.truffle.tck.DebuggerTester
Returns the thread that the execution started with DebuggerTester.startEval(Source) is running on.
getOut() - Method in class com.oracle.truffle.tck.DebuggerTester
Returns the standard output of the underlying context.
getPolyglotContext() - Method in class com.oracle.truffle.tck.TruffleRunner.RunWithPolyglotRule
Get the current Context.
getSourceImpl(Source) - Static method in class com.oracle.truffle.tck.DebuggerTester
Get Truffle Source that corresponds to the Polyglot Source.
getTestLanguage() - Method in class com.oracle.truffle.tck.TruffleRunner.RunWithPolyglotRule
Get an instance of the TruffleLanguage that this test is running under.
getTruffleTestEnv() - Method in class com.oracle.truffle.tck.TruffleRunner.RunWithPolyglotRule
Get an environment to access the polyglot engine using interop.

H

hours - Variable in class com.oracle.truffle.tck.impl.PolyglotEngineWithJavaScript.Moment
 

I

initEngine() - Method in class com.oracle.truffle.tck.impl.PolyglotEngineWithJavaScript
 
initEngine() - Method in class com.oracle.truffle.tck.impl.PolyglotEngineWithR
 
initEngine() - Method in class com.oracle.truffle.tck.impl.PolyglotEngineWithRuby
 

J

JavaScriptRunner(Class<?>) - Constructor for class com.oracle.truffle.tck.impl.TruffleLanguageRunner.JavaScriptRunner
 

M

methodInvoker(FrameworkMethod, Object) - Method in class com.oracle.truffle.tck.TruffleRunner
Internal method used by the JUnit framework.
minutes - Variable in class com.oracle.truffle.tck.impl.PolyglotEngineWithJavaScript.Moment
 
Moment(int, int, int) - Constructor for class com.oracle.truffle.tck.impl.PolyglotEngineWithJavaScript.Moment
 

P

ParametersFactory() - Constructor for class com.oracle.truffle.tck.TruffleRunner.ParametersFactory
Should not be called directly.
parse(TruffleLanguage.ParsingRequest) - Method in class com.oracle.truffle.tck.impl.TckLanguage
 
PolyglotEngineWithJavaScript - Class in com.oracle.truffle.tck.impl
Tests with code snippets referencing JavaScript (executed only when an implementation of JavaScript is around).
PolyglotEngineWithJavaScript() - Constructor for class com.oracle.truffle.tck.impl.PolyglotEngineWithJavaScript
 
PolyglotEngineWithJavaScript.Moment - Class in com.oracle.truffle.tck.impl
 
PolyglotEngineWithR - Class in com.oracle.truffle.tck.impl
Tests with code snippets in R language (executed only when an implementation of R is around).
PolyglotEngineWithR() - Constructor for class com.oracle.truffle.tck.impl.PolyglotEngineWithR
 
PolyglotEngineWithRuby - Class in com.oracle.truffle.tck.impl
Tests with code snippets referencing Ruby (executed only when implementation of Ruby is around).
PolyglotEngineWithRuby() - Constructor for class com.oracle.truffle.tck.impl.PolyglotEngineWithRuby
 

R

RRunner(Class<?>) - Constructor for class com.oracle.truffle.tck.impl.TruffleLanguageRunner.RRunner
 
RubyRunner(Class<?>) - Constructor for class com.oracle.truffle.tck.impl.TruffleLanguageRunner.RubyRunner
 
runChild(FrameworkMethod, RunNotifier) - Method in class com.oracle.truffle.tck.impl.TruffleLanguageRunner
 
Running a test in the polyglot engine - Search tag in class com.oracle.truffle.tck.TruffleRunner
Section
RunWithPolyglotRule() - Constructor for class com.oracle.truffle.tck.TruffleRunner.RunWithPolyglotRule
 
RunWithPolyglotRule(Context.Builder) - Constructor for class com.oracle.truffle.tck.TruffleRunner.RunWithPolyglotRule
 

S

seconds - Variable in class com.oracle.truffle.tck.impl.PolyglotEngineWithJavaScript.Moment
 
startEval(Source) - Method in class com.oracle.truffle.tck.DebuggerTester
Starts a new evaluation on the background thread.
startExecute(Function<Context, Value>) - Method in class com.oracle.truffle.tck.DebuggerTester
Starts a new script evaluation on the background thread.
startSession() - Method in class com.oracle.truffle.tck.DebuggerTester
Starts a new debugger session in the context's engine.
startSession(SourceElement...) - Method in class com.oracle.truffle.tck.DebuggerTester
Starts a new debugger session in the context's engine.

T

TckLanguage - Class in com.oracle.truffle.tck.impl
 
TckLanguage() - Constructor for class com.oracle.truffle.tck.impl.TckLanguage
 
testAccessFieldsOfJavaObject() - Method in class com.oracle.truffle.tck.impl.PolyglotEngineWithJavaScript
 
testAccessFieldsOfJavaObjectWithConverter() - Method in class com.oracle.truffle.tck.impl.PolyglotEngineWithJavaScript
 
testAccessJavaScriptArrayWithTypedElementsFromJava() - Method in class com.oracle.truffle.tck.impl.PolyglotEngineWithJavaScript
 
testCallJavaScriptClassFactoryFromJava() - Method in class com.oracle.truffle.tck.impl.PolyglotEngineWithJavaScript
 
testCallJavaScriptFunctionFromJava() - Method in class com.oracle.truffle.tck.impl.PolyglotEngineWithJavaScript
 
testCallJavaScriptFunctionsWithSharedStateFromJava() - Method in class com.oracle.truffle.tck.impl.PolyglotEngineWithJavaScript
 
testCallRtFunctionFromJava() - Method in class com.oracle.truffle.tck.impl.PolyglotEngineWithR
 
testCallRubyFunctionFromJava() - Method in class com.oracle.truffle.tck.impl.PolyglotEngineWithRuby
 
testCreateJavaScriptFactoryForJavaClass() - Method in class com.oracle.truffle.tck.impl.PolyglotEngineWithJavaScript
 
testLine(int) - Method in interface com.oracle.truffle.tck.DebuggerTester.PositionPredicate
Whether to test at the line.
testLineColumn(int, int) - Method in interface com.oracle.truffle.tck.DebuggerTester.PositionPredicate
Whether to test at the line and column position.
tetsAccessJSONObjectProperties() - Method in class com.oracle.truffle.tck.impl.PolyglotEngineWithJavaScript
 
TruffleLanguageRunner - Class in com.oracle.truffle.tck.impl
 
TruffleLanguageRunner.JavaScriptRunner - Class in com.oracle.truffle.tck.impl
 
TruffleLanguageRunner.RRunner - Class in com.oracle.truffle.tck.impl
 
TruffleLanguageRunner.RubyRunner - Class in com.oracle.truffle.tck.impl
 
TruffleRunner - Class in com.oracle.truffle.tck
JUnit test runner for unit testing Truffle AST interpreters.
TruffleRunner(Class<?>) - Constructor for class com.oracle.truffle.tck.TruffleRunner
Should not be called directly.
TruffleRunner(TestClass) - Constructor for class com.oracle.truffle.tck.TruffleRunner
Should not be called directly.
TruffleRunner.Inject - Annotation Interface in com.oracle.truffle.tck
A parameter annotated with TruffleRunner.Inject specifies the RootNode of the test AST.
TruffleRunner.ParametersFactory - Class in com.oracle.truffle.tck
ParametersRunnerFactory for testing Truffle AST interpreters using Parameterized unit tests.
TruffleRunner.RunWithPolyglotRule - Class in com.oracle.truffle.tck
JUnit rule to run the tests in the context of a polyglot engine.
TruffleRunner.Warmup - Annotation Interface in com.oracle.truffle.tck
A test method can be annotated with TruffleRunner.Warmup to specify how many warmup iterations of a test should be done before the Truffle tree is compiled.

V

validateTestMethods(List<Throwable>) - Method in class com.oracle.truffle.tck.TruffleRunner
Internal method used by the JUnit framework.
value() - Element in annotation interface com.oracle.truffle.tck.TruffleRunner.Inject
Defines the root node of the Truffle tree that should be tested.
value() - Element in annotation interface com.oracle.truffle.tck.TruffleRunner.Warmup
The number of warmup iterations to run before a test is compiled.

W

Writing a test AST - Search tag in class com.oracle.truffle.tck.TruffleRunner
Section
Writing a test method - Search tag in class com.oracle.truffle.tck.TruffleRunner
Section
A C D E G H I J M P R S T V W 
All Classes and Interfaces|All Packages