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 void
setUp()
protected boolean
shouldCheckForWebExports(ExtensionInfo extension)
void
testCorrectPlatformClasspathEntry()
Checks if platform classpath entry exists and is not exportedvoid
testIllegalRequirements()
Checks if the .classpath or extensioninfo.xml files require sampledata or a templatevoid
testIllegalWebExports()
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.Exception
Checks 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.Exception
Checks 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)
-
-