org.apache.directory.server.core.integ
Class FrameworkSuite

java.lang.Object
  extended by org.junit.runner.Runner
      extended by org.junit.runners.ParentRunner<org.junit.runner.Runner>
          extended by org.junit.runners.Suite
              extended by org.apache.directory.server.core.integ.FrameworkSuite
All Implemented Interfaces:
org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable

public class FrameworkSuite
extends org.junit.runners.Suite

A class to read and store the Suite's annotations. It's called when we start running a Suite, and will call all the classes contained in the suite.

Version:
$Rev$, $Date$
Author:
Apache Directory Project

Nested Class Summary
 
Nested classes/interfaces inherited from class org.junit.runners.Suite
org.junit.runners.Suite.SuiteClasses
 
Constructor Summary
FrameworkSuite(java.lang.Class<?> clazz, org.junit.runners.model.RunnerBuilder builder)
          Creates a new instance of FrameworkSuite.
 
Method Summary
 DirectoryService getDirectoryService()
           
 LdapServer getLdapServer()
           
 CreateLdapServer getLdapServerBuilder()
           
 void run(org.junit.runner.notification.RunNotifier notifier)
          
protected  void runChild(org.junit.runner.Runner runner, org.junit.runner.notification.RunNotifier notifier)
          
 void setDirectoryService(DirectoryService directoryService)
           
 
Methods inherited from class org.junit.runners.Suite
describeChild, emptySuite, getChildren
 
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, collectInitializationErrors, filter, getDescription, getName, getTestClass, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses
 
Methods inherited from class org.junit.runner.Runner
testCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FrameworkSuite

public FrameworkSuite(java.lang.Class<?> clazz,
                      org.junit.runners.model.RunnerBuilder builder)
               throws org.junit.runners.model.InitializationError
Creates a new instance of FrameworkSuite.

Throws:
org.junit.runners.model.InitializationError
Method Detail

run

public void run(org.junit.runner.notification.RunNotifier notifier)

Overrides:
run in class org.junit.runners.ParentRunner<org.junit.runner.Runner>

runChild

protected void runChild(org.junit.runner.Runner runner,
                        org.junit.runner.notification.RunNotifier notifier)

Overrides:
runChild in class org.junit.runners.Suite

getDirectoryService

public DirectoryService getDirectoryService()
Returns:
the DirectoryService instance

setDirectoryService

public void setDirectoryService(DirectoryService directoryService)
Parameters:
directoryService - the directoryService to set

getLdapServerBuilder

public CreateLdapServer getLdapServerBuilder()
Returns:
the suiteLdapServerBuilder

getLdapServer

public LdapServer getLdapServer()
Returns:
the suiteLdapServer


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.