Package io.trino.tests.cli
Class TestTrinoLdapCli
- java.lang.Object
-
- io.trino.tempto.ProductTest
-
- io.trino.tests.cli.TrinoCliLauncher
-
- io.trino.tests.cli.TestTrinoLdapCli
-
- All Implemented Interfaces:
io.trino.tempto.RequirementsProvider
public class TestTrinoLdapCli extends TrinoCliLauncher implements io.trino.tempto.RequirementsProvider
-
-
Field Summary
-
Fields inherited from class io.trino.tests.cli.TrinoCliLauncher
nationTableBatchLines, nationTableInteractiveLines, serverAddress, serverHost, TIMEOUT, trino
-
-
Constructor Summary
Constructors Constructor Description TestTrinoLdapCli()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.trino.tempto.RequirementgetRequirements(io.trino.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.trino.tests.cli.TrinoCliLauncher
getProcessBuilder, launchTrinoCli, launchTrinoCli
-
-
-
-
Constructor Detail
-
TestTrinoLdapCli
public TestTrinoLdapCli() throws IOException- Throws:
IOException
-
-
Method Detail
-
stopPresto
public void stopPresto() throws InterruptedException- Overrides:
stopPrestoin classTrinoCliLauncher- Throws:
InterruptedException
-
getRequirements
public io.trino.tempto.Requirement getRequirements(io.trino.tempto.configuration.Configuration configuration)
- Specified by:
getRequirementsin interfaceio.trino.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
-
-