Interface DatabaseConformanceSuite.Reporter

Enclosing class:
DatabaseConformanceSuite

public static interface DatabaseConformanceSuite.Reporter
Receives the outcome of each individual check.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    check(boolean condition, String message)
    Records one assertion.
    void
    info(String message)
    Records a diagnostic note that is not itself a pass or a failure.
    void
    skip(String reason)
    Records that a group of checks was not applicable here.
  • Method Details

    • check

      void check(boolean condition, String message)

      Records one assertion.

      Parameters
      • condition: true when the check passed

      • message: describes what was being checked, and is shown when it fails

    • skip

      void skip(String reason)

      Records that a group of checks was not applicable here.

      Parameters
      • reason: why the checks were skipped
    • info

      void info(String message)

      Records a diagnostic note that is not itself a pass or a failure.

      Parameters
      • message: the observation