Modifier and Type | Method and Description |
---|---|
HintTest |
HintTest.classpath(URL... entries)
Use the specified
URL s as compile classpath while parsing
the Java input. |
static HintTest |
HintTest.create()
Bootstraps the test framework.
|
HintTest |
HintTest.input(String code)
Create a test file.
|
HintTest |
HintTest.input(String code,
boolean compilable)
Create a test file.
|
HintTest |
HintTest.input(String fileName,
String code)
Create a test file.
|
HintTest |
HintTest.input(String fileName,
String code,
boolean compilable)
Create a test file.
|
HintTest |
HintTest.options(String... options)
Sets additional command line options for all Java files used in this test.
|
HintTest |
HintTest.preference(String preferencesKey,
boolean value)
Sets a preference that will be visible to the hint.
|
HintTest |
HintTest.preference(String preferencesKey,
int value)
Sets a preference that will be visible to the hint.
|
HintTest |
HintTest.preference(String preferencesKey,
String value)
Sets a preference that will be visible to the hint.
|
HintTest |
HintTest.setCaretMarker(char c)
A character to use as a marker of a caret in the input code.
|
HintTest |
HintTest.sourceLevel(int sourceLevel)
Sets a source level for all Java files used in this test.
|
HintTest |
HintTest.sourceLevel(String sourceLevel)
Sets a source level for all Java files used in this test.
|