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 interface
CommonsTest.TestRendererContext
defines 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 void
setUp()
void
testCustomOrder2PDF()
void
testFormatsSearch()
void
testGetandSetAllDocuments1()
void
testGetAndSetDocument()
void
testGetRendererContextClassDescription()
void
testGetRendererContextDescriptionClassEmpty()
void
testGetRendererContextDescriptionClassNotFound()
void
testRefreshAndSo()
void
testSetAndGetScript()
void
testVelocityTemplate()
-
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:
ConsistencyCheckException
JaloBusinessException
java.io.IOException
-
testVelocityTemplate
public void testVelocityTemplate() throws JaloBusinessException, java.io.IOException
- Throws:
JaloBusinessException
java.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:
JaloBusinessException
java.io.IOException
java.lang.InterruptedException
-
testSetAndGetScript
public void testSetAndGetScript() throws JaloBusinessException, java.io.IOException
- Throws:
JaloBusinessException
java.io.IOException
-
testGetRendererContextClassDescription
public void testGetRendererContextClassDescription()
-
testGetRendererContextDescriptionClassEmpty
public void testGetRendererContextDescriptionClassEmpty()
-
testGetRendererContextDescriptionClassNotFound
public void testGetRendererContextDescriptionClassNotFound()
-
-