java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.jellyfish.implementation.MappingManagerDefaultTest
- All Implemented Interfaces:
- junit.framework.Test
- public class MappingManagerDefaultTest
- extends junit.framework.TestCase
| Fields inherited from class junit.framework.TestCase |
|
| 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 |
mappingManager
private MappingManagerDefault mappingManager
attributes
private javax.naming.directory.Attributes attributes
serviceManagerMock
private mock.org.apache.avalon.framework.service.ServiceManagerMock.ServiceManagerMock serviceManagerMock
configurationManagerMock
private org.jellyfish.ConfigurationManagerMock configurationManagerMock
connectionManagerMock
private org.jellyfish.ConnectionManagerMock connectionManagerMock
loggerMock
private mock.org.apache.avalon.framework.logger.LoggerMock loggerMock
MappingManagerDefaultTest
public MappingManagerDefaultTest(java.lang.String arg0)
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.
createAttributes
private javax.naming.directory.Attributes createAttributes()
createConfig
private org.jellyfish.config.Config createConfig()
createPerson
private org.jellyfish.model.Person createPerson()
testMapToAttributes
public void testMapToAttributes()
throws javax.naming.NamingException
testMapToAttributesNullProperty
public void testMapToAttributesNullProperty()
throws javax.naming.NamingException
testMapNestedObjectToAttributes
public void testMapNestedObjectToAttributes()
throws javax.naming.NamingException
testGetObjectDn
public void testGetObjectDn()
testGetUserDn
public void testGetUserDn()
testGetObjectMappingFromAttributes
public void testGetObjectMappingFromAttributes()
throws org.jellyfish.ObjectMapNotFoundException
testMapFromAttributes
public void testMapFromAttributes()
throws javax.naming.NamingException
testMapFromAttributesNullAttribute
public void testMapFromAttributesNullAttribute()
throws javax.naming.NamingException
testMapFromAttributesNestedObject
public void testMapFromAttributesNestedObject()
throws javax.naming.NamingException
testMapFromAttributesNoObjectclass
public void testMapFromAttributesNoObjectclass()