Package ubic.gemma.persistence.util
Class ServiceBasedValueObjectConverterTest
- java.lang.Object
-
- org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
-
- ubic.gemma.persistence.util.ServiceBasedValueObjectConverterTest
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@ContextConfiguration @TestExecutionListeners(WithSecurityContextTestExecutionListener.class) public class ServiceBasedValueObjectConverterTest extends org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServiceBasedValueObjectConverterTest.VoConverterTestContextConfiguration
-
Constructor Summary
Constructors Constructor Description ServiceBasedValueObjectConverterTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
tearDown()
void
testConvertCollection()
void
testConvertCollectionOfIds()
void
testConvertCollectionToListSuperType()
void
testConvertCollectionToSuperType()
void
testConvertEntitiesFromIds()
void
testConvertEntityFromId()
void
testConvertNullEntity()
void
testConvertSingleEntity()
void
testConvertSingleEntityById()
void
testConvertSingleEntityFromSubType()
void
testConvertSingleEntityToSuperType()
void
testConvertUnknownType()
-
-
-
Method Detail
-
setUp
public void setUp()
-
tearDown
public void tearDown()
-
testConvertEntityFromId
public void testConvertEntityFromId()
-
testConvertEntitiesFromIds
public void testConvertEntitiesFromIds()
-
testConvertSingleEntity
@WithMockUser public void testConvertSingleEntity()
-
testConvertSingleEntityById
public void testConvertSingleEntityById()
-
testConvertSingleEntityToSuperType
@WithMockUser public void testConvertSingleEntityToSuperType()
-
testConvertSingleEntityFromSubType
@WithMockUser public void testConvertSingleEntityFromSubType()
-
testConvertCollection
@WithMockUser public void testConvertCollection()
-
testConvertCollectionToListSuperType
@WithMockUser public void testConvertCollectionToListSuperType()
-
testConvertCollectionOfIds
public void testConvertCollectionOfIds()
-
testConvertCollectionToSuperType
@WithMockUser public void testConvertCollectionToSuperType()
-
testConvertNullEntity
public void testConvertNullEntity()
-
testConvertUnknownType
public void testConvertUnknownType()
-
-