@IntegrationTest public class ImpExImportTest extends AbstractImpExTest
english, german, utf8, windows1252jaloSession| Constructor and Description |
|---|
ImpExImportTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkUnit(Unit toCheck,
ComposedType composedType,
java.lang.String code,
double conversion,
java.lang.String type,
java.lang.String nameDe,
java.lang.String nameEn)
Checks for given unit if it has all given attributes.
|
void |
testAlternativePatterns()
Tests the alternative pattern syntax of header for import.
|
void |
testCollectionModification()
Tests adding and removing of values to an collection using the different possibilities.
|
void |
testDumpingLines()
Tests the import with dumped lines.
|
void |
testDuplicatedAddresses()
Tests the import of addresses if duplicate flag is set.
|
void |
testImportingPrivateAttributes()
Tests if the import of private attributes is possible.
|
void |
testImportWithDocumentID()
Tests the document ID column descriptor while import.
|
void |
testInsertMode_WithSubtype() |
void |
testInsertMode()
Test the insert in insert mode.
|
void |
testInsertUpdateMode_Insert() |
void |
testInsertUpdateMode_UpdateWithSubtype() |
void |
testLocalizedReference()
See PLA-5010.
|
void |
testModeInsertUpdate()
Tests the import in insert update mode.
|
void |
testModeRemove()
Tests the import in remove mode.
|
void |
testModeUpdate()
Tests the import in update mode.
|
void |
testModeUpdateWithUniqueAttribute()
Tests the update mode for updating unique attributes.
|
void |
testModeUpdateWithUniqueLocalizedAttribut()
Tests the update mode using localized attributes with unique modifier.
|
void |
testModificatedTimeByInsertUpdate() |
void |
testReferencesWithNullValues() |
void |
testSingletonImport() |
void |
testUpdateMode_WithSubtype() |
void |
testUserRightsImportComma()
Tests the import of user rights using comma as separator.
|
void |
testUserRightsImportSemicolon()
Tests the import of user rights using semicolon as separator.
|
initJaloItems, setLegacyModeestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic void testImportWithDocumentID()
throws JaloBusinessException,
java.io.IOException
JaloBusinessExceptionjava.io.IOExceptionpublic void testUserRightsImportSemicolon()
throws ImpExException,
ConsistencyCheckException
public void testUserRightsImportComma()
throws ImpExException,
ConsistencyCheckException
public void testAlternativePatterns()
throws ImpExException
ImpExExceptionpublic void testImportingPrivateAttributes()
throws JaloDuplicateQualifierException,
JaloSecurityException,
ImpExException
public void testCollectionModification()
throws ConsistencyCheckException,
ImpExException
public void testModeUpdate()
throws java.io.IOException,
ImpExException
java.io.IOExceptionImpExExceptionpublic void testModeRemove()
throws ConsistencyCheckException,
ImpExException
public void testModeInsertUpdate()
throws ImpExException
ImpExExceptionpublic void testInsertMode()
public void testDumpingLines()
public void testModeUpdateWithUniqueLocalizedAttribut()
public void testModeUpdateWithUniqueAttribute()
public void testLocalizedReference()
public void testDuplicatedAddresses()
public void testSingletonImport()
protected void checkUnit(Unit toCheck, ComposedType composedType, java.lang.String code, double conversion, java.lang.String type, java.lang.String nameDe, java.lang.String nameEn)
toCheck - unit to checkcomposedType - expected typecode - expected codeconversion - expected conversiontype - expected unit typenameDe - expected german languagenameEn - expected english languagepublic void testModificatedTimeByInsertUpdate()
throws ImpExException,
JaloDuplicateQualifierException,
JaloInvalidParameterException,
JaloSecurityException,
java.lang.InterruptedException
ImpExExceptionJaloDuplicateQualifierExceptionJaloInvalidParameterExceptionJaloSecurityExceptionjava.lang.InterruptedException@Transactional public void testInsertMode_WithSubtype() throws java.lang.Exception
java.lang.Exception@Transactional public void testInsertUpdateMode_Insert() throws java.lang.Exception
java.lang.Exception@Transactional public void testInsertUpdateMode_UpdateWithSubtype() throws java.lang.Exception
java.lang.Exception@Transactional public void testUpdateMode_WithSubtype() throws java.lang.Exception
java.lang.Exceptionpublic void testReferencesWithNullValues()
throws JaloGenericCreationException,
JaloAbstractTypeException,
JaloItemNotFoundException,
ImpExException
Copyright © 2018 SAP SE. All Rights Reserved.