You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Kiran Ayyagari (JIRA)" <ji...@apache.org> on 2010/05/31 16:04:42 UTC
[jira] Closed: (DIRSERVER-1424) In integ test, add setter search
for ldapServer/service static fields
[ https://issues.apache.org/jira/browse/DIRSERVER-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kiran Ayyagari closed DIRSERVER-1424.
-------------------------------------
Assignee: Kiran Ayyagari
Resolution: Fixed
Note that TestServiceContext no longer exists in the current server code.
There is a new and efficient test framework to run the LDAP server tests and it uses a class named 'AbstractLdapTestUnit' which is like TestServiceContext.
I have added the setters and getters in this class. Let us know if this satisfies your need.
Fixed it here http://svn.apache.org/viewvc?rev=949748&view=rev
> In integ test, add setter search for ldapServer/service static fields
> ---------------------------------------------------------------------
>
> Key: DIRSERVER-1424
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1424
> Project: Directory ApacheDS
> Issue Type: Improvement
> Components: core-integ
> Affects Versions: 1.5.5
> Reporter: Francois Armand
> Assignee: Kiran Ayyagari
> Fix For: 2.0.0-RC1
>
> Attachments: ldapServerBySetter.patch, serviceBySetter.patch
>
>
> I'm trying to use ApacheDS as an LDAP testing server for one the
> application I'm working on but I'm using Scala for my application it
> doesn't have such a thing as "public static field".
> On the other hand, Scala can have "public static method", so it would be
> great if in place of the field, you could use getter/setter for
> accessing LdapServer.
> It should be possible to look for the public static field and if not found, for the setter method (so that backward compatibility is kept).
> Patch demonstrating what works with Scala follows.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.