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 forCoverageCalculationService
.
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description CoverageCalculationServiceIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
shouldReturn100PercentCoverageForAllLocalesConstraintWithoutViolations()
void
shouldReturn100PercentCoverageForConstraintsWithoutViolations()
void
shouldReturnHalfCoverageFor1of2LocalesConstraintWithViolations()
void
shouldReturnPropertyInfoMessagesForAllLocalesConstraintWithViolations()
void
shouldReturnZeroCoverageForAllConstrainsWithViolations()
void
shouldReturnZeroPercentCoverageForAllLocalesConstraintWithViolations()
void
tearDown()
-
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
-
tearDown
public void tearDown()
-
shouldReturn100PercentCoverageForConstraintsWithoutViolations
public void shouldReturn100PercentCoverageForConstraintsWithoutViolations() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldReturnZeroCoverageForAllConstrainsWithViolations
public void shouldReturnZeroCoverageForAllConstrainsWithViolations() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldReturn100PercentCoverageForAllLocalesConstraintWithoutViolations
public void shouldReturn100PercentCoverageForAllLocalesConstraintWithoutViolations() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldReturnZeroPercentCoverageForAllLocalesConstraintWithViolations
public void shouldReturnZeroPercentCoverageForAllLocalesConstraintWithViolations() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldReturnHalfCoverageFor1of2LocalesConstraintWithViolations
public void shouldReturnHalfCoverageFor1of2LocalesConstraintWithViolations() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldReturnPropertyInfoMessagesForAllLocalesConstraintWithViolations
public void shouldReturnPropertyInfoMessagesForAllLocalesConstraintWithViolations() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-