@IntegrationTest public class CodeGenerationConfigurationWebServicesTest 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 |
|---|
CodeGenerationConfigurationWebServicesTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testGetCodeGenerationConfigurationsUsingClientCredentials() |
void |
testGetCodeGenerationConfigurationsUsingWrongMediaType() |
void |
testGetCodeGenerationConfigurationsWhenNoConfigurationExists() |
void |
testGetCodeGenerationConfigurationsWithoutAuthorization() |
void |
testGetCodeGenerationConfigurationUsingClientCredentials() |
void |
testGetCodeGenerationConfigurationUsingWrongMediaType() |
void |
testGetCodeGenerationConfigurationWithoutAuthorization() |
void |
testInvalidCodeGenerationConfigurationNameError()
The test should detect the fail with 1 error:
errors" : [ {
"message" : "No Code Generation Configuration found for name [INVALID_CODE_GENERATION_CONFIGURATION]",
"reason" : "invalid",
"subject" : "codeGenerationConfiguration",
"type" : "CodeGenerationConfigurationNotFoundError"
} ]
|
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 CodeGenerationConfigurationWebServicesTest()
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetCodeGenerationConfigurationsWithoutAuthorization()
throws ImpExException
ImpExExceptionpublic void testGetCodeGenerationConfigurationsUsingClientCredentials()
throws ImpExException
ImpExExceptionpublic void testGetCodeGenerationConfigurationWithoutAuthorization()
throws ImpExException
ImpExExceptionpublic void testGetCodeGenerationConfigurationUsingClientCredentials()
throws ImpExException
ImpExExceptionpublic void testInvalidCodeGenerationConfigurationNameError()
throws ImpExException
ImpExExceptionpublic void testGetCodeGenerationConfigurationUsingWrongMediaType()
throws ImpExException
ImpExExceptionpublic void testGetCodeGenerationConfigurationsUsingWrongMediaType()
throws ImpExException
ImpExExceptionpublic void testGetCodeGenerationConfigurationsWhenNoConfigurationExists()
throws ImpExException
ImpExExceptionCopyright © 2018 SAP SE. All Rights Reserved.