Issue Details (XML | Word | Printable)

Key: DIRSERVER-293
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Emmanuel Lecharny
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Directory ApacheDS

class AbstractCoreTest should not be in core/src/main/java?

Created: 07/May/05 07:52 AM   Updated: 24/Jun/06 08:42 PM
Return to search
Component/s: None
Affects Version/s: pre-1.0
Fix Version/s: 1.0-RC1

Time Tracking:
Not Specified

Resolution Date: 10/Feb/06 01:15 PM


 Description  « Hide
This is quite strange that the class AbstractCoreTest is found in apacheds/trunk/core/src/main/java/org/apache/ldap/server and not in apacheds/trunk/core/src/test/org/apache/ldap/server...

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Alex Karasulu added a comment - 07/May/05 08:29 AM
Emmanuel this class is abstract for easily firing up the server and running unit tests. It's like ApacheDS-UNIT :). It is in the src dir as opposed to test because it is not a test and needs to be accessed from the outside world. Others testing new features with the server will use it.

Good catch regardless .. we have to be dilligent. Thanks Alex.

Emmanuel Lecharny added a comment - 07/May/05 09:38 AM
Even if this class is not a unit test per se, it's not either a part of the core ApacheDS program, so it may deserve a special place to be defined.

Is this just me? I'm reluctant to deliver a program which need to bundle junit.jar to be fully functional. I just saw it so many times, so ... (my 2cts)

Alex Karasulu added a comment - 07/May/05 09:59 AM
All great points. I will see if this can be taken care of after the release. Thanks for persevering ... at first I did not undertand exactly why you recommended this. We can create a apacheds-unit artifact just for those that wanna use an easy unit test that fires up the server to play.

Alex Karasulu added a comment - 10/Feb/06 01:15 PM
moved to core-unit

Emmanuel Lecharny added a comment - 24/Jun/06 08:42 PM
done