@IntegrationTest public class CouponCodeGenerationWebServicesTest extends ServicelayerTest
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
OAUTH_CLIENT_ID |
static java.lang.String |
OAUTH_CLIENT_PASS |
importServicejaloSession| Constructor and Description |
|---|
CouponCodeGenerationWebServicesTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
shouldProvideCodeGenerationConfiguration() |
void |
shouldProvideCodeGenerationConfigurationPaged() |
void |
shouldProvideCodeGenerationConfigurationSortedByNameWithDesc() |
void |
testGetGeneratedCouponCodes() |
void |
testGetGeneratedCouponCodesUnauthorized() |
void |
testGetMultiCodeCouponWithGeneratedCodes() |
void |
testPutGenerateCodes() |
void |
testPutGenerateCodesWithoutAuthorization() |
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic static final java.lang.String OAUTH_CLIENT_ID
public static final java.lang.String OAUTH_CLIENT_PASS
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void testPutGenerateCodesWithoutAuthorization()
public void testPutGenerateCodes()
public void testGetGeneratedCouponCodesUnauthorized()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetGeneratedCouponCodes()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetMultiCodeCouponWithGeneratedCodes()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldProvideCodeGenerationConfiguration()
public void shouldProvideCodeGenerationConfigurationSortedByNameWithDesc()
public void shouldProvideCodeGenerationConfigurationPaged()
Copyright © 2018 SAP SE. All Rights Reserved.