public class PrestoCliTests extends PrestoCliLauncher implements io.prestosql.tempto.RequirementsProvider
EXIT_COMMAND, nationTableBatchLines, nationTableInteractiveLines, presto, serverAddress, serverHost, TIMEOUT| Constructor and Description |
|---|
PrestoCliTests() |
| Modifier and Type | Method and Description |
|---|---|
io.prestosql.tempto.Requirement |
getRequirements(io.prestosql.tempto.configuration.Configuration configuration) |
void |
shouldDisplayVersion() |
void |
shouldExitOnErrorFromExecute() |
void |
shouldExitOnErrorFromFile() |
void |
shouldHandleSession() |
void |
shouldHandleTransaction() |
void |
shouldNotExitOnErrorFromExecute() |
void |
shouldNotExitOnErrorFromFile() |
void |
shouldRunBatchQuery() |
void |
shouldRunQuery() |
void |
shouldRunQueryFromFile() |
void |
shouldUseCatalogAndSchemaOptions() |
static List<String> |
squeezeLines(List<String> lines) |
void |
stopPresto() |
void |
testSetRole() |
getProcessBuilder, launchPrestoCli, launchPrestoClipublic PrestoCliTests()
throws IOException
IOExceptionpublic void stopPresto()
throws InterruptedException
stopPresto in class PrestoCliLauncherInterruptedExceptionpublic io.prestosql.tempto.Requirement getRequirements(io.prestosql.tempto.configuration.Configuration configuration)
getRequirements in interface io.prestosql.tempto.RequirementsProviderpublic void shouldDisplayVersion()
throws IOException
IOExceptionpublic void shouldRunQuery()
throws IOException
IOExceptionpublic void shouldUseCatalogAndSchemaOptions()
throws Exception
Exceptionpublic void shouldExitOnErrorFromExecute()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void shouldExitOnErrorFromFile()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void shouldNotExitOnErrorFromExecute()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void shouldNotExitOnErrorFromFile()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void shouldHandleSession()
throws IOException
IOExceptionpublic void shouldHandleTransaction()
throws IOException
IOExceptionpublic void testSetRole()
throws IOException
IOExceptionCopyright © 2012–2019. All rights reserved.