Class CoverageCalculationServiceIntegrationTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.validation.coverage.impl.CoverageCalculationServiceIntegrationTest
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest
public class CoverageCalculationServiceIntegrationTest
extends ServicelayerBaseTest
Tests for
CoverageCalculationService.-
Field Summary
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
CoverageCalculationServiceIntegrationTest
public CoverageCalculationServiceIntegrationTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
public void tearDown() -
shouldReturn100PercentCoverageForConstraintsWithoutViolations
- Throws:
Exception
-
shouldReturnZeroCoverageForAllConstrainsWithViolations
- Throws:
Exception
-
shouldReturn100PercentCoverageForAllLocalesConstraintWithoutViolations
public void shouldReturn100PercentCoverageForAllLocalesConstraintWithoutViolations() throws Exception- Throws:
Exception
-
shouldReturnZeroPercentCoverageForAllLocalesConstraintWithViolations
- Throws:
Exception
-
shouldReturnHalfCoverageFor1of2LocalesConstraintWithViolations
- Throws:
Exception
-
shouldReturnPropertyInfoMessagesForAllLocalesConstraintWithViolations
public void shouldReturnPropertyInfoMessagesForAllLocalesConstraintWithViolations() throws Exception- Throws:
Exception
-