You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2021/06/20 06:36:51 UTC
[directory-server] 02/02: Adjust test to changed getRootDse()
implementation
This is an automated email from the ASF dual-hosted git repository.
seelmann pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-server.git
commit 1c2b759f68d17ba54c8f24e407c38098b1eab196
Author: Stefan Seelmann <ma...@stefan-seelmann.de>
AuthorDate: Sun Jun 20 08:36:27 2021 +0200
Adjust test to changed getRootDse() implementation
---
.../shared/client/api/operations/GetRootDseTest.java | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/operations/GetRootDseTest.java b/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/operations/GetRootDseTest.java
index cbac1e6..5df9412 100644
--- a/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/operations/GetRootDseTest.java
+++ b/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/operations/GetRootDseTest.java
@@ -77,14 +77,23 @@ public class GetRootDseTest extends AbstractLdapTestUnit
assertNotNull( rootDse );
- assertEquals( 1, rootDse.size() );
+ assertEquals( 11, rootDse.size() );
assertTrue( rootDse.containsAttribute( "objectClass" ) );
+ assertTrue( rootDse.containsAttribute( "entryUUID" ) );
+ assertTrue( rootDse.containsAttribute( "namingContexts" ) );
+ assertTrue( rootDse.containsAttribute( "subschemaSubentry" ) );
+ assertTrue( rootDse.containsAttribute( "supportedControl" ) );
+ assertTrue( rootDse.containsAttribute( "supportedExtension" ) );
+ assertTrue( rootDse.containsAttribute( "supportedFeatures" ) );
+ assertTrue( rootDse.containsAttribute( "supportedLDAPVersion" ) );
+ assertTrue( rootDse.containsAttribute( "supportedSASLMechanisms" ) );
+ assertTrue( rootDse.containsAttribute( "vendorName" ) );
+ assertTrue( rootDse.containsAttribute( "vendorVersion" ) );
}
/**
- * Test a if ( attributeType.getUsage() != UsageEnum.USER_APPLICATIONS )
- lookup requesting all the user attributes (*)
+ * Test a lookup requesting all the user attributes (*)
*
* @throws Exception
*/