Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jellyfish.implementation
Class DirectoryManagerDefaultTest  view DirectoryManagerDefaultTest download DirectoryManagerDefaultTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.jellyfish.implementation.DirectoryManagerDefaultTest
All Implemented Interfaces:
junit.framework.Test

public class DirectoryManagerDefaultTest
extends junit.framework.TestCase


Field Summary
private  org.jellyfish.ConnectionManagerMock connectionManagerMock
           
private  DirectoryManagerDefault directoryManager
           
private  org.jellyfish.MappingManagerMock mappingManagerMock
           
private  org.jellyfish.model.Person person
           
private  java.lang.String PERSON
           
private  mock.org.apache.avalon.framework.service.ServiceManagerMock.ServiceManagerMock serviceManagerMock
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
DirectoryManagerDefaultTest(java.lang.String arg0)
           
 
Method Summary
private  javax.naming.directory.Attributes createAttributes()
           
private  org.jellyfish.MappingManagerMock createMappingManagerMock()
           
private  javax.naming.NamingEnumeration createNamingEnumeration()
           
private  org.jellyfish.config.ObjectMapping createObjectMapping()
           
private  org.jellyfish.model.Person createPerson()
           
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
 void testDelete()
           
 void testLookup()
           
 void testSearch()
           
 void testStore()
           
 void testStoreNameNotFound()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

directoryManager

private DirectoryManagerDefault directoryManager

serviceManagerMock

private mock.org.apache.avalon.framework.service.ServiceManagerMock.ServiceManagerMock serviceManagerMock

connectionManagerMock

private org.jellyfish.ConnectionManagerMock connectionManagerMock

mappingManagerMock

private org.jellyfish.MappingManagerMock mappingManagerMock

PERSON

private java.lang.String PERSON

person

private org.jellyfish.model.Person person
Constructor Detail

DirectoryManagerDefaultTest

public DirectoryManagerDefaultTest(java.lang.String arg0)
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Description copied from class: junit.framework.TestCase
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.


createMappingManagerMock

private org.jellyfish.MappingManagerMock createMappingManagerMock()

createObjectMapping

private org.jellyfish.config.ObjectMapping createObjectMapping()

createPerson

private org.jellyfish.model.Person createPerson()

createAttributes

private javax.naming.directory.Attributes createAttributes()

createNamingEnumeration

private javax.naming.NamingEnumeration createNamingEnumeration()

testStore

public void testStore()

testStoreNameNotFound

public void testStoreNameNotFound()
                           throws javax.naming.NamingException

testLookup

public void testLookup()

testDelete

public void testDelete()

testSearch

public void testSearch()