Class DefaultODataContextGeneratorUnitTest
- java.lang.Object
-
- de.hybris.platform.odata2services.odata.impl.DefaultODataContextGeneratorUnitTest
-
@UnitTest public class DefaultODataContextGeneratorUnitTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DefaultODataContextGeneratorUnitTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestGenerateCreateServiceThrowsException()voidtestGenerateEmptyServiceRoot()voidtestGenerateEntityExtractorIsApplicable()voidtestGenerateEntityExtractorNotApplicable()voidtestGenerateNoContentLanguage()voidtestGenerateNoServiceNameIsProvided()voidtestGenerateNullPathInfo()voidtestGenerateSetsMultipleContentLanguages()voidtestGenerateSetsODataService()voidtestGenerateSetsOneContentLanguage()voidtestGenerateSetsRequestParameter()voidtestGenerateSetsServiceParameter()
-
-
-
Method Detail
-
setUp
public void setUp()
-
testGenerateNullPathInfo
public void testGenerateNullPathInfo()
-
testGenerateEmptyServiceRoot
public void testGenerateEmptyServiceRoot()
-
testGenerateNoServiceNameIsProvided
public void testGenerateNoServiceNameIsProvided()
-
testGenerateSetsServiceParameter
public void testGenerateSetsServiceParameter()
-
testGenerateEntityExtractorIsApplicable
public void testGenerateEntityExtractorIsApplicable()
-
testGenerateEntityExtractorNotApplicable
public void testGenerateEntityExtractorNotApplicable()
-
testGenerateSetsODataService
public void testGenerateSetsODataService() throws org.apache.olingo.odata2.api.exception.ODataException- Throws:
org.apache.olingo.odata2.api.exception.ODataException
-
testGenerateCreateServiceThrowsException
public void testGenerateCreateServiceThrowsException() throws org.apache.olingo.odata2.api.exception.ODataException- Throws:
org.apache.olingo.odata2.api.exception.ODataException
-
testGenerateSetsOneContentLanguage
public void testGenerateSetsOneContentLanguage()
-
testGenerateSetsMultipleContentLanguages
public void testGenerateSetsMultipleContentLanguages()
-
testGenerateNoContentLanguage
public void testGenerateNoContentLanguage()
-
testGenerateSetsRequestParameter
public void testGenerateSetsRequestParameter()
-
-