Package io.prestosql.tests.cli
Class TestPrestoLdapCli
- java.lang.Object
-
- io.prestosql.tempto.ProductTest
-
- io.prestosql.tests.cli.PrestoCliLauncher
-
- io.prestosql.tests.cli.TestPrestoLdapCli
-
- All Implemented Interfaces:
io.prestosql.tempto.RequirementsProvider
public class TestPrestoLdapCli extends PrestoCliLauncher implements io.prestosql.tempto.RequirementsProvider
-
-
Field Summary
-
Fields inherited from class io.prestosql.tests.cli.PrestoCliLauncher
EXIT_COMMAND, nationTableBatchLines, nationTableInteractiveLines, presto, serverAddress, serverHost, TIMEOUT
-
-
Constructor Summary
Constructors Constructor Description TestPrestoLdapCli()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.prestosql.tempto.RequirementgetRequirements(io.prestosql.tempto.configuration.Configuration configuration)voidshouldFailForIncorrectTrustStore()voidshouldFailForUserWithColon()voidshouldFailQueryForEmptyUser()voidshouldFailQueryForLdapUserInChildGroup()voidshouldFailQueryForLdapUserInParentGroup()voidshouldFailQueryForLdapWithoutHttps()voidshouldFailQueryForLdapWithoutPassword()voidshouldFailQueryForOrphanLdapUser()voidshouldFailQueryForWrongLdapPassword()voidshouldFailQueryForWrongLdapUser()voidshouldPassForCredentialsWithSpecialCharacters()voidshouldPassQueryForLdapUserInMultipleGroups()voidshouldRunBatchQueryWithLdap()voidshouldRunQueryFromFileWithLdap()voidshouldRunQueryWithLdap()voidstopPresto()-
Methods inherited from class io.prestosql.tests.cli.PrestoCliLauncher
getProcessBuilder, launchPrestoCli, launchPrestoCli
-
-
-
-
Method Detail
-
stopPresto
public void stopPresto() throws java.lang.InterruptedException- Overrides:
stopPrestoin classPrestoCliLauncher- Throws:
java.lang.InterruptedException
-
getRequirements
public io.prestosql.tempto.Requirement getRequirements(io.prestosql.tempto.configuration.Configuration configuration)
- Specified by:
getRequirementsin interfaceio.prestosql.tempto.RequirementsProvider
-
shouldRunQueryWithLdap
public void shouldRunQueryWithLdap() throws java.io.IOException- Throws:
java.io.IOException
-
shouldRunBatchQueryWithLdap
public void shouldRunBatchQueryWithLdap() throws java.io.IOException- Throws:
java.io.IOException
-
shouldRunQueryFromFileWithLdap
public void shouldRunQueryFromFileWithLdap() throws java.io.IOException- Throws:
java.io.IOException
-
shouldPassQueryForLdapUserInMultipleGroups
public void shouldPassQueryForLdapUserInMultipleGroups() throws java.io.IOException- Throws:
java.io.IOException
-
shouldFailQueryForLdapUserInChildGroup
public void shouldFailQueryForLdapUserInChildGroup() throws java.io.IOException- Throws:
java.io.IOException
-
shouldFailQueryForLdapUserInParentGroup
public void shouldFailQueryForLdapUserInParentGroup() throws java.io.IOException- Throws:
java.io.IOException
-
shouldFailQueryForOrphanLdapUser
public void shouldFailQueryForOrphanLdapUser() throws java.io.IOException- Throws:
java.io.IOException
-
shouldFailQueryForWrongLdapPassword
public void shouldFailQueryForWrongLdapPassword() throws java.io.IOException- Throws:
java.io.IOException
-
shouldFailQueryForWrongLdapUser
public void shouldFailQueryForWrongLdapUser() throws java.io.IOException- Throws:
java.io.IOException
-
shouldFailQueryForEmptyUser
public void shouldFailQueryForEmptyUser() throws java.io.IOException- Throws:
java.io.IOException
-
shouldFailQueryForLdapWithoutPassword
public void shouldFailQueryForLdapWithoutPassword() throws java.io.IOException- Throws:
java.io.IOException
-
shouldFailQueryForLdapWithoutHttps
public void shouldFailQueryForLdapWithoutHttps() throws java.io.IOException- Throws:
java.io.IOException
-
shouldFailForIncorrectTrustStore
public void shouldFailForIncorrectTrustStore() throws java.io.IOException- Throws:
java.io.IOException
-
shouldPassForCredentialsWithSpecialCharacters
public void shouldPassForCredentialsWithSpecialCharacters() throws java.io.IOException- Throws:
java.io.IOException
-
shouldFailForUserWithColon
public void shouldFailForUserWithColon() throws java.io.IOException- Throws:
java.io.IOException
-
-