@UnitTest public class ImportPatchActionTest extends java.lang.Object
| Constructor and Description |
|---|
ImportPatchActionTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
shouldAddHeaderOptionsToImportUnit()
Test checks if list of HeaderOption's was added to ImportUnit.
|
void |
shouldAddHeaderOptionToImportUnit()
Test checks if HeaderOption was added to ImportUnit.
|
void |
shouldUpdatedHeaderOptionsWithLanguage()
Test checks if HeaderOption with proper macro was added to ImportUnit and if file path was updated.
|
void |
shouldUpdateFilePathWithGivenSuffix()
Test checks if data file's path was properly changed.
|
void |
shouldUpdateOnlyHeaderOptionsWithLanguage()
Test checks if HeaderOption with proper macro was added to ImportUnit and if file path was not changed.
|
void |
shouldValidateImpexFileSuffixAndReturnFalseForEmptyPath()
Test checks if given file path is incorrect - when there is no file path.
|
void |
shouldValidateImpexFileSuffixAndReturnFalseForIncorrectSuffix()
Test checks if given file path is incorrect - suffix is case sensitive.
|
void |
shouldValidateImpexFileSuffixAndReturnTrueForCorrectSuffix()
Test checks if given file path is correct - suffix is ".impex".
|
public void setUp()
public void shouldUpdateFilePathWithGivenSuffix()
public void shouldAddHeaderOptionToImportUnit()
public void shouldAddHeaderOptionsToImportUnit()
public void shouldUpdatedHeaderOptionsWithLanguage()
public void shouldUpdateOnlyHeaderOptionsWithLanguage()
public void shouldValidateImpexFileSuffixAndReturnTrueForCorrectSuffix()
public void shouldValidateImpexFileSuffixAndReturnFalseForIncorrectSuffix()
public void shouldValidateImpexFileSuffixAndReturnFalseForEmptyPath()
Copyright © 2018 SAP SE. All Rights Reserved.