Package ubic.gemma.core.search
Class SearchServiceVoConversionTest
java.lang.Object
org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
ubic.gemma.core.util.test.BaseTest
ubic.gemma.core.search.SearchServiceVoConversionTest
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
@ContextConfiguration
@TestExecutionListeners(WithSecurityContextTestExecutionListener.class)
public class SearchServiceVoConversionTest
extends BaseTest
Test conversion to VOs for search results.
The conversion is typically performed with a ServiceBasedValueObjectConverter which in turn
relies upon specific BaseVoEnabledService logic for performing the VO
conversion. Thus, we want to make sure that the service will produce the expected VOs.
- Author:
- poirigui
-
Field Summary
Fields inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
applicationContext, logger -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
setApplicationContext
-
Constructor Details
-
SearchServiceVoConversionTest
public SearchServiceVoConversionTest()
-
-
Method Details
-
setUp
public void setUp() -
tearDown
public void tearDown() -
testConvertArrayDesign
-
testConvertArrayDesignCollection
-
testConvertBibliographicReference
public void testConvertBibliographicReference() -
testConvertCompositeSequence
-
testConvertCompositeSequenceCollection
-
testConvertExpressionExperiment
-
testConvertGeneSet
public void testConvertGeneSet() -
testConvertUninitializedResult
public void testConvertUninitializedResult() -
testUnsupportedResultTypeRaisesIllegalArgumentException
public void testUnsupportedResultTypeRaisesIllegalArgumentException() -
testUnsupportedResultTypeInCollectionRaisesIllegalArgumentException
public void testUnsupportedResultTypeInCollectionRaisesIllegalArgumentException() -
testConvertAlreadyConvertedCollection
public void testConvertAlreadyConvertedCollection() -
testBlacklistedConversion
-