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 classServiceBasedValueObjectConverterTest.VoConverterTestContextConfiguration
-
Constructor Summary
Constructors Constructor Description ServiceBasedValueObjectConverterTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtearDown()voidtestConvertCollection()voidtestConvertCollectionOfIds()voidtestConvertCollectionToListSuperType()voidtestConvertCollectionToSuperType()voidtestConvertEntitiesFromIds()voidtestConvertEntityFromId()voidtestConvertNullEntity()voidtestConvertSingleEntity()voidtestConvertSingleEntityById()voidtestConvertSingleEntityFromSubType()voidtestConvertSingleEntityToSuperType()voidtestConvertUnknownType()
-
-
-
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()
-
-