Class QuidemTest

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      protected static class  QuidemTest.QuidemConnectionFactory
      Quidem connection factory for Calcite's built-in test schemas.
    • Field Summary

      Modifier and Type Field Description
      protected java.lang.reflect.Method method  
      protected java.lang.String path  
    • Constructor Summary

      Modifier Constructor Description
      protected QuidemTest​(java.lang.String path)
      Creates a QuidemTest.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void checkRun​(java.lang.String path)  
      protected net.hydromatic.quidem.CommandHandler createCommandHandler()
      Creates a command handler.
      protected net.hydromatic.quidem.Quidem.ConnectionFactory createConnectionFactory()
      Creates a connection factory.
      protected static java.util.Collection<java.lang.Object[]> data​(java.lang.String first)  
      private java.lang.reflect.Method findMethod​(java.lang.String path)  
      private static java.lang.Object getEnv​(java.lang.String varName)  
      private static java.lang.String n2u​(java.lang.String s)  
      void test()  
      private static java.lang.String u2n​(java.lang.String s)
      Converts a path from Unix to native.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • path

        protected final java.lang.String path
      • method

        protected final java.lang.reflect.Method method
    • Constructor Detail

      • QuidemTest

        protected QuidemTest​(java.lang.String path)
        Creates a QuidemTest.
    • Method Detail

      • getEnv

        private static java.lang.Object getEnv​(java.lang.String varName)
      • findMethod

        private java.lang.reflect.Method findMethod​(java.lang.String path)
      • data

        protected static java.util.Collection<java.lang.Object[]> data​(java.lang.String first)
      • checkRun

        protected void checkRun​(java.lang.String path)
                         throws java.lang.Exception
      • createCommandHandler

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

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

        private static java.lang.String u2n​(java.lang.String s)
        Converts a path from Unix to native. On Windows, converts forward-slashes to back-slashes; on Linux, does nothing.
      • n2u

        private static java.lang.String n2u​(java.lang.String s)
      • test

        public void test()
                  throws java.lang.Exception