Package io.trino.tests.product.cli
Class TestTrinoCli
java.lang.Object
io.trino.tempto.ProductTest
io.trino.tests.product.cli.TrinoCliLauncher
io.trino.tests.product.cli.TestTrinoCli
- All Implemented Interfaces:
io.trino.tempto.RequirementsProvider
-
Field Summary
Fields inherited from class io.trino.tests.product.cli.TrinoCliLauncher
nationTableBatchLines, nationTableInteractiveLines, serverAddress, serverHost, TIMEOUT, trino -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.trino.tempto.RequirementgetRequirements(io.trino.tempto.configuration.Configuration configuration) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidsqueezeLines(List<String> lines) voidstopCli()voidMethods inherited from class io.trino.tests.product.cli.TrinoCliLauncher
getProcessBuilder, launchTrinoCli, launchTrinoCli
-
Constructor Details
-
TestTrinoCli
- Throws:
IOException
-
-
Method Details
-
stopCli
- Overrides:
stopCliin classTrinoCliLauncher- Throws:
InterruptedException
-
getRequirements
public io.trino.tempto.Requirement getRequirements(io.trino.tempto.configuration.Configuration configuration) - Specified by:
getRequirementsin interfaceio.trino.tempto.RequirementsProvider
-
shouldDisplayVersion
- Throws:
IOException
-
shouldRunQuery
- Throws:
IOException
-
shouldRunBatchQuery
- Throws:
Exception
-
shouldRunBatchQueryWithStdinRedirect
- Throws:
Exception
-
shouldRunMultipleBatchQueriesWithStdinRedirect
- Throws:
Exception
-
shouldExecuteEmptyListOfStatements
- Throws:
Exception
-
shouldPassSessionUser
- Throws:
Exception
-
shouldUseCatalogAndSchemaOptions
- Throws:
Exception
-
shouldUseCatalogAndSchemaOptionsFromConfigFile
- Throws:
Exception
-
shouldPreferCommandLineArgumentOverConfigDefault
- Throws:
Exception
-
shouldExitWithErrorOnUnknownPropertiesInConfigFile
- Throws:
Exception
-
shouldRunQueryFromFile
- Throws:
Exception
-
shouldExitOnErrorFromExecute
- Throws:
IOException
-
shouldExitOnErrorFromFile
- Throws:
IOException
-
shouldNotExitOnErrorFromExecute
- Throws:
IOException
-
shouldNotExitOnErrorFromFile
- Throws:
IOException
-
shouldHandleSession
- Throws:
IOException
-
shouldHandleTransaction
- Throws:
IOException
-
testSetRole
- Throws:
IOException
-
shouldPrintExplainAnalyzePlan
- Throws:
Exception
-
squeezeLines
-