Uh oh!
There was an error while loading. Please reload this page.
The CreateDSTesetExtension no longer requires a parent test class - #145
The CreateDSTesetExtension no longer requires a parent test class#145bdemers wants to merge 1 commit into
Conversation
The previous behavior of the extension required the use `AbstractLdapTestUnit` or duplicating static variables named `classDirectoryService`/`methodDirectoryService`
Now the directoryService can be injected into the test as a parameter, e.g.
void myTest( DirectoryService directoryService ) { ... }
A class level or method level DirectoryService will be injected automatically
NOTE: The previous behavior will still work to ensure backward compatiblity.bdemers
commented
Feb 4, 2024
While creating a SCIMple + ApacheDS example, I ran into a few minor issues trying to use the extension without using NOTE: I only updated Also, do we care about the backward compatibility here? If not, I can cleanup the code a bit more (and still keep the functionality of |
The previous behavior of the extension required the use
AbstractLdapTestUnitor duplicating static variables namedclassDirectoryService/methodDirectoryServiceNow the directoryService can be injected into the test as a parameter, e.g.
void myTest( DirectoryService directoryService ) { ... }
A class level or method level DirectoryService will be injected automatically
NOTE: The previous behavior will still work to ensure backward compatiblity.