directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Derricutt" <m...@talios.com>
Subject Loading custom schemas with AbstractServerTest under 1.5.4
Date Sun, 14 Sep 2008 23:36:46 GMT
'lo

With the recent changes to AbstractServerTest in 1.5.4, how does one
register custom schemas now?

Under 1.5.3 I was using:

        Set<AbstractBootstrapSchema> schemas =
configuration.getBootstrapSchemas();
        schemas.add(new Smx3Schema());
        configuration.setBootstrapSchemas(schemas);

where configuration came from the AbstractServerTest.  It looks like the
test harness has changed a bit.  I"m actually using TestNG to execute my
tests, rather than JUnit so hopefully theres still a way to handle this
easily.

Mark
He who started looking at ldap integration testing at the wrong time..

-- 
"It is easier to optimize correct code than to correct optimized code." --
Bill Harlan

Mime
View raw message