Class QuidemTest

java.lang.Object
org.apache.calcite.test.QuidemTest

@TestInstance(PER_CLASS) public abstract class QuidemTest extends Object
Test that runs every Quidem file as a test.
  • Constructor Details

    • QuidemTest

      public QuidemTest()
  • Method Details

    • data

      protected static Collection<String> data(String first)
    • checkRun

      protected void checkRun(String path) throws Exception
      Throws:
      Exception
    • createCommandHandler

      protected net.hydromatic.quidem.CommandHandler createCommandHandler()
      Creates a command handler.
    • createConnectionFactory

      protected net.hydromatic.quidem.Quidem.ConnectionFactory createConnectionFactory()
      Creates a connection factory.
    • test

      @ParameterizedTest @MethodSource("getPath") public void test(String path) throws Exception
      Throws:
      Exception
    • getPath

      protected abstract Collection<String> getPath()
      Factory method for test(String) parameters.