Class 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 Detail

      • query

        public final SqlTestQuery query
        Query that caused the failure.
      • error

        public final @Nullable String error
        Description of the error encountered.
      • details

        public final String details
        Detailed information about the error. Printed by toString() when verbosity is higher than 1.
      • exception

        public final @Nullable Throwable exception
        If the test caused an exception it is stored here.
    • Constructor Detail

      • FailedTestDescription

        public FailedTestDescription​(SqlTestQuery query,
                                     @Nullable String error,
                                     String details,
                                     @Nullable Throwable exception)
        Create a description of a failed test.
        Parameters:
        query - Query executed that failed.
        error - Error encountered.
        details - Details about error; output by toString() when verbosity is greater than 1.
        exception - Exception encountered while processing query, if any. Null otherwise.