|
Home > Archive > Apache Directory Project > October 2007 > [DNS] Test commit plan
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
[DNS] Test commit plan
|
|
| Enrique Rodriguez 2007-10-29, 1:11 am |
| Hi, Directory developers,
I have tests to commit for DNS and just wanted to double-check a few
things before I commit.
1) I want to add 'dnsjava' as a dep to 'protocol-dns'. This is our
best bet for cross-platform tests, since the DNS JNDI provider is only
Sun JDK, AFAICT.
2) I would add these tests to 'protocol-dns'. I have a
HashMap-backed implementation of the RecordStore interface. This
avoids the need to start-up the ApacheDS backend and so it doesn't
make sense to put these tests anywhere but 'protocol-dns', as opposed
to 'server-unit'.
If this sounds good, I'll can start to commit this week.
Enrique
| |
| Alex Karasulu 2007-10-29, 1:11 pm |
| On 10/28/07, Enrique Rodriguez <enriquer9-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> Hi, Directory developers,
>
> I have tests to commit for DNS and just wanted to double-check a few
> things before I commit.
>
> 1) I want to add 'dnsjava' as a dep to 'protocol-dns'. This is our
> best bet for cross-platform tests, since the DNS JNDI provider is only
> Sun JDK, AFAICT.
OK
2) I would add these tests to 'protocol-dns'. I have a
> HashMap-backed implementation of the RecordStore interface. This
> avoids the need to start-up the ApacheDS backend and so it doesn't
> make sense to put these tests anywhere but 'protocol-dns', as opposed
> to 'server-unit'.
>
Please make your tests work with the DirectoryServer backend so we know we
don't
break things while refactoring. The HashMap-backend is not in itself
sufficient to test
this capability.
So isolate these integration tests in server-unit which is the designated
area for tests going
through the wire. Any protocol oriented test be it LDAP, Kerberos, DNS etc
should be in this
module.
Here's an earlier thread on this topic:
http://www.nabble.com/Kerberos-impl....html#a11510825
Thanks,
Alex
|
|
|
|
|