Author: bdaw
Date: 2011-07-12 17:11:12 -0400 (Tue, 12 Jul 2011)
New Revision: 1084
Modified:
idm/trunk/picketlink-idm-testsuite/integration/ldap2/src/test/java/org/picketlink/idm/impl/store/ldap/api/TwoLDAPTestCase.java
Log:
- fix testsuite
Modified:
idm/trunk/picketlink-idm-testsuite/integration/ldap2/src/test/java/org/picketlink/idm/impl/store/ldap/api/TwoLDAPTestCase.java
===================================================================
---
idm/trunk/picketlink-idm-testsuite/integration/ldap2/src/test/java/org/picketlink/idm/impl/store/ldap/api/TwoLDAPTestCase.java 2011-07-12
20:57:41 UTC (rev 1083)
+++
idm/trunk/picketlink-idm-testsuite/integration/ldap2/src/test/java/org/picketlink/idm/impl/store/ldap/api/TwoLDAPTestCase.java 2011-07-12
21:11:12 UTC (rev 1084)
@@ -61,6 +61,11 @@
hibernateTest.start();
ldapTestPOJO.start();
+ if
(!ldapTestPOJO.getDirectoryName().equals(ldapTestPOJO.EMBEDDED_OPEN_DS_DIRECTORY_NAME))
+ {
+ return;
+ }
+
setRealmName("DB_2LDAP_REALM");
ldapTestPOJO.populateLDIF("ldap/initial-opends.ldif");
@@ -85,6 +90,12 @@
public void testWhatIsAccesible() throws Exception
{
+
+ if
(!ldapTestPOJO.getDirectoryName().equals(ldapTestPOJO.EMBEDDED_OPEN_DS_DIRECTORY_NAME))
+ {
+ return;
+ }
+
IdentitySession session =
identitySessionFactory.createIdentitySession(getRealmName());
begin();
Show replies by date