Package net.hydromatic.sqllogictest
Class TestStatistics.FailedTestDescription
- java.lang.Object
-
- net.hydromatic.sqllogictest.TestStatistics.FailedTestDescription
-
- Enclosing class:
- TestStatistics
public static class TestStatistics.FailedTestDescription extends Object
Description of a test that failed. Only query tests are tracked; statements are not supposed to fail.
-
-
Field Summary
Fields Modifier and Type Field Description StringerrorDescription of the error encountered.@Nullable ThrowableexceptionIf the test caused an exception it is stored here.SqlTestQueryqueryQuery that caused the failure.booleanverboseIf true then store a verbose description of the exceptions.
-
Constructor Summary
Constructors Constructor Description FailedTestDescription(SqlTestQuery query, String error, @Nullable Throwable exception, boolean verbose)
-
-
-
Field Detail
-
query
public final SqlTestQuery query
Query that caused the failure.
-
error
public final String error
Description of the error encountered.
-
exception
public final @Nullable Throwable exception
If the test caused an exception it is stored here.
-
verbose
public final boolean verbose
If true then store a verbose description of the exceptions.
-
-
Constructor Detail
-
FailedTestDescription
public FailedTestDescription(SqlTestQuery query, String error, @Nullable Throwable exception, boolean verbose)
-
-