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
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
-
-
-
-
Constructor Detail
-
TestPrestoLdapCli
public TestPrestoLdapCli() throws IOException- Throws:
IOException
-
-
Method Detail
-
stopPresto
public void stopPresto() throws InterruptedException- Overrides:
stopPrestoin classPrestoCliLauncher- Throws:
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 IOException- Throws:
IOException
-
shouldRunBatchQueryWithLdap
public void shouldRunBatchQueryWithLdap() throws IOException- Throws:
IOException
-
shouldRunQueryFromFileWithLdap
public void shouldRunQueryFromFileWithLdap() throws IOException- Throws:
IOException
-
shouldPassQueryForLdapUserInMultipleGroups
public void shouldPassQueryForLdapUserInMultipleGroups() throws IOException- Throws:
IOException
-
shouldFailQueryForLdapUserInChildGroup
public void shouldFailQueryForLdapUserInChildGroup() throws IOException- Throws:
IOException
-
shouldFailQueryForLdapUserInParentGroup
public void shouldFailQueryForLdapUserInParentGroup() throws IOException- Throws:
IOException
-
shouldFailQueryForOrphanLdapUser
public void shouldFailQueryForOrphanLdapUser() throws IOException- Throws:
IOException
-
shouldFailQueryForWrongLdapPassword
public void shouldFailQueryForWrongLdapPassword() throws IOException- Throws:
IOException
-
shouldFailQueryForWrongLdapUser
public void shouldFailQueryForWrongLdapUser() throws IOException- Throws:
IOException
-
shouldFailQueryForEmptyUser
public void shouldFailQueryForEmptyUser() throws IOException- Throws:
IOException
-
shouldFailQueryForLdapWithoutPassword
public void shouldFailQueryForLdapWithoutPassword() throws IOException- Throws:
IOException
-
shouldFailQueryForLdapWithoutHttps
public void shouldFailQueryForLdapWithoutHttps() throws IOException- Throws:
IOException
-
shouldFailForIncorrectTrustStore
public void shouldFailForIncorrectTrustStore() throws IOException- Throws:
IOException
-
shouldPassForCredentialsWithSpecialCharacters
public void shouldPassForCredentialsWithSpecialCharacters() throws IOException- Throws:
IOException
-
shouldFailForUserWithColon
public void shouldFailForUserWithColon() throws IOException- Throws:
IOException
-
-