| Modifier and Type | Class and Description |
|---|---|
| public static class | ResultVerifier.
Provides the test execution data. |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(ResultVerifier.
the snippet execution data. The snippetRunSnippetRun provides the actual
snippet parameters, the execution result, or the PolyglotException thrown
by the execution. If the snippet execution throws an
IllegalArgumentException, it's converted to PolyglotException.Redeclares java. Performs a verification of a result of a snippet execution. |
| public static ResultVerifier | |
| public static ResultVerifier | getIdentityFunctionDefaultResultVerifier()
Creates a default |
| accept | back to summary |
|---|---|
| public void accept(ResultVerifier. Redeclares java. Performs a verification of a result of a snippet execution. The custom
| |
| getDefaultResultVerifier | back to summary |
|---|---|
| public static ResultVerifier getDefaultResultVerifier() Creates a default
| |
| getIdentityFunctionDefaultResultVerifier | back to summary |
|---|---|
| public static ResultVerifier getIdentityFunctionDefaultResultVerifier() Creates a default
| |
| Modifier and Type | Field and Description |
|---|---|
| private final PolyglotException | |
| private final List | |
| private final Value | |
| private final Snippet |
| Access | Constructor and Description |
|---|---|
| private | SnippetRun(final Snippet snippet, final List<? extends Value> parameters, Value result, PolyglotException exception)
|
| Modifier and Type | Method and Description |
|---|---|
| public static ResultVerifier. | Returns: theSnippetRunthe executed snippet, final List<? extends Value> Snippetthe actual parameters of snippet execution parameters, final Value the result of snippet execution result)Creates a new |
| public static ResultVerifier. | Returns: theSnippetRunthe executed snippet, final List<? extends Value> Snippetthe actual parameters of snippet execution parameters, final PolyglotException the exception)PolyglotException thrown during snippet executionCreates a new |
| public PolyglotException | Returns: thePolyglotException thrown during the execution or null in case of
successful execution.Returns the |
| public List | |
| public Value | Returns: the result of a snippet execution or null in case of execution failure.Returns the result of a snippet execution. |
| pack-priv Snippet |
| exception | back to summary |
|---|---|
| private final PolyglotException exception | |
| parameters | back to summary |
|---|---|
| private final List<? extends Value> parameters | |
| result | back to summary |
|---|---|
| private final Value result | |
| snippet | back to summary |
|---|---|
| private final Snippet snippet | |
| SnippetRun | back to summary |
|---|---|
| private SnippetRun(final Snippet snippet, final List<? extends Value> parameters, Value result, PolyglotException exception) | |
| create | back to summary |
|---|---|
| public static ResultVerifier. Creates a new
| |
| create | back to summary |
|---|---|
| public static ResultVerifier. Creates a new
| |
| getException | back to summary |
|---|---|
| public PolyglotException getException() Returns the
| |
| getParameters | back to summary |
|---|---|
| public List Returns the actual parameters of a snippet execution. | |
| getResult | back to summary |
|---|---|
| public Value getResult() Returns the result of a snippet execution.
| |
| getSnippet | back to summary |
|---|---|
| pack-priv Snippet getSnippet() | |