Package de.hybris.platform.test
Class ExtensionRequirementsTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.test.ExtensionRequirementsTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class ExtensionRequirementsTest extends HybrisJUnit4Test
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description ExtensionRequirementsTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static java.util.Set<ExtensionInfo>getExtensionFilter(java.lang.String filterName)static voidsetUp()protected booleanshouldCheckForWebExports(ExtensionInfo extension)voidtestCorrectPlatformClasspathEntry()Checks if platform classpath entry exists and is not exportedvoidtestIllegalRequirements()Checks if the .classpath or extensioninfo.xml files require sampledata or a templatevoidtestIllegalWebExports()Checks if illegal anything of the web folder is exported-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
setUp
public static void setUp()
-
testCorrectPlatformClasspathEntry
public void testCorrectPlatformClasspathEntry() throws java.lang.ExceptionChecks if platform classpath entry exists and is not exported- Throws:
java.lang.Exception
-
testIllegalRequirements
public void testIllegalRequirements()
Checks if the .classpath or extensioninfo.xml files require sampledata or a template
-
testIllegalWebExports
public void testIllegalWebExports() throws java.lang.ExceptionChecks if illegal anything of the web folder is exported- Throws:
java.lang.Exception
-
shouldCheckForWebExports
protected boolean shouldCheckForWebExports(ExtensionInfo extension)
-
getExtensionFilter
protected static java.util.Set<ExtensionInfo> getExtensionFilter(java.lang.String filterName)
-
-