Package de.hybris.platform.testframework
Class HybrisJUnit4TransactionalTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.testframework.HybrisJUnit4TransactionalTest
- All Implemented Interfaces:
JaloSessionHolder
- Direct Known Subclasses:
AbstractColumnAlternationTest,AbstractOrderCalculationTest,AcceleratoroccTest,AcceleratorstorefrontcommonsTest,AcceleratorwebservicesaddonTest,AccessManagerTest,AddonsupportTest,AddressTest,ApparelstoreTest,AssistedservicefacadesTest,AssistedservicestorefrontTest,AssistedserviceyprofileaddonTest,AtomicTypeTest,AttributeTest,B2bacceleratoraddonTest,B2bapprovalprocessfacadesTest,B2bcommercefacadesTest,B2boccaddonTest,B2boccTest,C2LManagerTest,CalculationTest,CaptchaaddonTest,CatalogSynchronizationTest,CatalogTest,CategoryTest,ClassificationAttributeTranslatorTest,ClassificationTest,Cms2libTest,CmscockpitTest,CollectionTest,CommentsTest,CommerceorgaddonTest,CommerceorgsamplesaddonTest,CommercewebservicescommonsTest,ComposedTypeSpringTest,ComposedTypeTest,ConfigurablebundleaddonTest,ConversionStrategyValidateInterceptorTest,CoordinatesTest,CountryTest,CSVReaderTest,CSVWriterTest,CustomerCartTest,CustomerReviewTest,CustomerSupportYbackofficeTest,CustomerTest,CustomerticketingaddonTest,CustomerticketingfacadesTest,CustomPriceFactoryTest,DeeplinkUrlDaoImplTest,DefaultLicenceChangesServicetest,DefaultPropertiesFileServiceTest,DefaultSolrChangesServiceTest,DefaultXmlChangesServiceTest,DefaultXmlDataProviderTest,DeltadetectionTest,DumpHierarchy,EclassTest,EJBToolsTest,ElectronicsstoreTest,EmbeddedserverTest,EncryptionTest,EntitlementYbackofficeTest,EnumerationTest,EnumerationTypeTest,EnumerationValueTypeTest,Europe1DiscountsTranslatorTest,Europe1PricesTranslatorTest,EventtrackingmodelTest,EventtrackingpublisherTest,EventtrackingservicesTest,EventtrackingwsaddonTest,FindByTypeTest,FindUncommittedTest,FlexibleSearchRangeQueryIntegrationTest,FlexibleSearchTest,GenericCSVImportStepTest,GenericItemTypeTest,GenericSearchTest,GroovynatureTest,HJMPInitializationTest,HybrisanalyticsaddonTest,HybrisDataSupplierTest,HybrisrootcauseanalysisTest,InitialAttributePersistenceTest,InvalidationTest,InvalidationTopicTest,ItemRemoveTest,JaloZoneTest,LinkTest,LocalizedAttributeTest,MediaContainerAttributeTest,MediaContainerIntegrationTest,MediaContainerTest,MediaconversionbackofficeTest,MediaImportTest,MediaIntegrationTest,MediaManagerTest,MediaTest,MerchandisingstorefrontsampledataaddonTest,MetaInformationManagerTest,MulticountrysampledataaddonTest,OptionalAttributeTest,OrderAddressCloneTest,OrderEntryPriceFieldsTest,OrdermanagementaddonTest,OrdermanagementfacadeTest,OrdermanagementwebservicesTest,OrderManagerTest,OrderPriceFieldsTest,OrderselfserviceaddonTest,OrderTest,PasswordEncoderTest,PaymentInfoJaloTest,PaymentInfoTest,PcmbackofficesamplesaddonTest,PersistedSessionTest,PersonalizationaddonTest,PersonalizationfacadesTest,PersonalizationpromotionssampledataaddonTest,PersonalizationsampledataaddonTest,PersonalizationwebservicesTest,PersonalizationyprofilesampledataaddonTest,PKCollectionTest,PowertoolsStoreTest,PreviewpersonalizationwebTest,PriceInfoTest,ProcessingTest,ProductcockpitTest,ProductManagerTest,ProductReferenceTest,ProductTest,ProductTypeTest,PromotionEngineSamplesAddonTest,PromotionsTest,PropertyJaloTest,PropertyTest,RegionTest,SaveCountryTest,SearchUnitsTest,SecureMediaFolderTest,SecurityTest,SerialNumberDAOTest,SmarteditaddonTest,StandardPaymentModeTest,SubscriptionbundlecockpitsTest,SubscriptionbundleYbackofficeTest,SubscriptionservicesTest,SubscriptionYbackofficeTest,TomcatembeddedserverTest,TransformTest,TriggerTest,TypecodeTest,TypeInfoTest,TypeManagerJaloTest,TypeManagerTest,UnicodeBOMTest,UnicodeTest,UnitTypeTest,UserManagerTest,UserTypeTest,UtilitiesIntegrationTest,ValueToolsTest,VoucherTest,WarehousingfacadeTest,WarehousingTest,WarehousingwebservicesTest,WorkflowCompatibleTest,WorkflowTest,XyformsfacadesTest,XyformssamplesTest,XyformsservicesTest,XyformsstorefrontcommonsTest,YAcceleratorcockpitsTest,YAddonTest,YbackofficeTest,YBackofficeTest,YcommercewebservicestestsTest,YcommercewebservicestestTest,YEmptyTest,YHacExtTest,YOccAddonTest,YOccTest,YOccTestsTest,YWebServicesTest
Base class for all tests with transaction support using the platform. All platform changes performed within tests
will be rolled back at end of each test method. You do not have to extend this class, you also can register the
TransactionRunListener at the HybrisJUnit4ClassRunner (see HybrisJUnit4Test and mark each
method or your whole class as Transactional.
@RunWith(HybrisJUnit4ClassRunner.class)
@RunListeners(
{ TransactionRunListener.class, PlatformRunListener.class })
@Transactional
public class MyHybrisJUnit4Test
{
@Test
public void myTest()
{
assertNotNull(C2LManager.getInstance().getBaseCurrency());
}
}
- Since:
- 3.0-u3
-
Field Summary
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
HybrisJUnit4TransactionalTest
public HybrisJUnit4TransactionalTest()
-