Class TestTrinoCli

  • All Implemented Interfaces:
    io.trino.tempto.RequirementsProvider

    public class TestTrinoCli
    extends TrinoCliLauncher
    implements io.trino.tempto.RequirementsProvider
    • Method Detail

      • getRequirements

        public io.trino.tempto.Requirement getRequirements​(io.trino.tempto.configuration.Configuration configuration)
        Specified by:
        getRequirements in interface io.trino.tempto.RequirementsProvider
      • shouldRunBatchQuery

        public void shouldRunBatchQuery()
                                 throws Exception
        Throws:
        Exception
      • shouldRunBatchQueryWithStdinRedirect

        public void shouldRunBatchQueryWithStdinRedirect()
                                                  throws Exception
        Throws:
        Exception
      • shouldRunMultipleBatchQueriesWithStdinRedirect

        public void shouldRunMultipleBatchQueriesWithStdinRedirect()
                                                            throws Exception
        Throws:
        Exception
      • shouldExecuteEmptyListOfStatements

        public void shouldExecuteEmptyListOfStatements()
                                                throws Exception
        Throws:
        Exception
      • shouldPassSessionUser

        public void shouldPassSessionUser()
                                   throws Exception
        Throws:
        Exception
      • shouldUseCatalogAndSchemaOptions

        public void shouldUseCatalogAndSchemaOptions()
                                              throws Exception
        Throws:
        Exception
      • shouldUseCatalogAndSchemaOptionsFromConfigFile

        public void shouldUseCatalogAndSchemaOptionsFromConfigFile()
                                                            throws Exception
        Throws:
        Exception
      • shouldPreferCommandLineArgumentOverConfigDefault

        public void shouldPreferCommandLineArgumentOverConfigDefault()
                                                              throws Exception
        Throws:
        Exception
      • shouldExitWithErrorOnUnknownPropertiesInConfigFile

        public void shouldExitWithErrorOnUnknownPropertiesInConfigFile()
                                                                throws Exception
        Throws:
        Exception
      • shouldRunQueryFromFile

        public void shouldRunQueryFromFile()
                                    throws Exception
        Throws:
        Exception
      • shouldExitOnErrorFromExecute

        public void shouldExitOnErrorFromExecute()
                                          throws IOException
        Throws:
        IOException
      • shouldNotExitOnErrorFromExecute

        public void shouldNotExitOnErrorFromExecute()
                                             throws IOException
        Throws:
        IOException
      • shouldNotExitOnErrorFromFile

        public void shouldNotExitOnErrorFromFile()
                                          throws IOException
        Throws:
        IOException