Class CommonsTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTransactionalBaseTest
-
- de.hybris.platform.commons.test.jalo.CommonsTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class CommonsTest extends ServicelayerTransactionalBaseTest
UnitTest for extension Commons.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCommonsTest.TestRendererContextdefines some renderer context class (interface) - because it is necessary to test RendererTemplate.getContextClassDescription reflection functionality
-
Field Summary
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description CommonsTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestCustomOrder2PDF()voidtestFormatsSearch()voidtestGetandSetAllDocuments1()voidtestGetAndSetDocument()voidtestGetRendererContextClassDescription()voidtestGetRendererContextDescriptionClassEmpty()voidtestGetRendererContextDescriptionClassNotFound()voidtestRefreshAndSo()voidtestSetAndGetScript()voidtestVelocityTemplate()-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
testCustomOrder2PDF
public void testCustomOrder2PDF() throws ConsistencyCheckException, JaloBusinessException, java.io.IOException- Throws:
ConsistencyCheckExceptionJaloBusinessExceptionjava.io.IOException
-
testVelocityTemplate
public void testVelocityTemplate() throws JaloBusinessException, java.io.IOException- Throws:
JaloBusinessExceptionjava.io.IOException
-
testFormatsSearch
public void testFormatsSearch() throws JaloBusinessException- Throws:
JaloBusinessException
-
testGetAndSetDocument
public void testGetAndSetDocument() throws JaloBusinessException- Throws:
JaloBusinessException
-
testGetandSetAllDocuments1
public void testGetandSetAllDocuments1() throws JaloBusinessException- Throws:
JaloBusinessException
-
testRefreshAndSo
public void testRefreshAndSo() throws JaloBusinessException, java.io.IOException, java.lang.InterruptedException- Throws:
JaloBusinessExceptionjava.io.IOExceptionjava.lang.InterruptedException
-
testSetAndGetScript
public void testSetAndGetScript() throws JaloBusinessException, java.io.IOException- Throws:
JaloBusinessExceptionjava.io.IOException
-
testGetRendererContextClassDescription
public void testGetRendererContextClassDescription()
-
testGetRendererContextDescriptionClassEmpty
public void testGetRendererContextDescriptionClassEmpty()
-
testGetRendererContextDescriptionClassNotFound
public void testGetRendererContextDescriptionClassNotFound()
-
-