Class DefaultAuditReportDataServiceTest
- java.lang.Object
-
- de.hybris.platform.auditreport.service.impl.DefaultAuditReportDataServiceTest
-
public class DefaultAuditReportDataServiceTest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCONFIG_NAMEstatic java.lang.StringCONFIG_NAME_PARAMstatic java.lang.StringREPORT_ID
-
Constructor Summary
Constructors Constructor Description DefaultAuditReportDataServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit()voidtestCreateMapWithFilesLegacyCode()voidtestCreateReportFileNameWhenNameIsNotSet()voidtestCreateReportFileNameWhenNameIsSetAndHasNotZipExtension()voidtestCreateReportFileNameWhenNameIsSetAndHasZipExtension()voidtestCreateReportsViews()voidtestCreateWhenSaveReportFinishedSuccessfully()voidtestCreateWhenSaveReportThrowsException()voidtestDeleteReportsForItem()voidtestSaveReportWhenCannotCreateNewReport()voidtestSaveReportWhenCannotSaveReport()voidtestSaveReportWhenSaveFinishedSuccessfully()
-
-
-
Field Detail
-
CONFIG_NAME_PARAM
public static final java.lang.String CONFIG_NAME_PARAM
- See Also:
- Constant Field Values
-
REPORT_ID
public static final java.lang.String REPORT_ID
- See Also:
- Constant Field Values
-
CONFIG_NAME
public static final java.lang.String CONFIG_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init()
-
testCreateWhenSaveReportThrowsException
public void testCreateWhenSaveReportThrowsException()
-
testCreateWhenSaveReportFinishedSuccessfully
public void testCreateWhenSaveReportFinishedSuccessfully()
-
testCreateMapWithFilesLegacyCode
public void testCreateMapWithFilesLegacyCode()
-
testCreateReportsViews
public void testCreateReportsViews()
-
testSaveReportWhenCannotCreateNewReport
public void testSaveReportWhenCannotCreateNewReport()
-
testSaveReportWhenCannotSaveReport
public void testSaveReportWhenCannotSaveReport()
-
testSaveReportWhenSaveFinishedSuccessfully
public void testSaveReportWhenSaveFinishedSuccessfully() throws java.io.IOException- Throws:
java.io.IOException
-
testCreateReportFileNameWhenNameIsNotSet
public void testCreateReportFileNameWhenNameIsNotSet()
-
testCreateReportFileNameWhenNameIsSetAndHasZipExtension
public void testCreateReportFileNameWhenNameIsSetAndHasZipExtension()
-
testCreateReportFileNameWhenNameIsSetAndHasNotZipExtension
public void testCreateReportFileNameWhenNameIsSetAndHasNotZipExtension()
-
testDeleteReportsForItem
public void testDeleteReportsForItem()
-
-