Package org.commonjava.indy.folo.ftest.report
-
Class Summary Class Description AbstractCacheReportTest AbstractTrackingReportTest CachedReportWhenDeleteStoreTest This case test if the folo report is cached before the report is requested.CachedReportWhenDeleteTransferTest This case test if the folo report is cached before the report is requested.ExportAndImportTrackingReportTest GIVEN: Three are 2 sealed Folo records WHEN: Export tracking report Zip THEN: The exported zip file contains the 2 sealed records WHEN: Execute clearTrackingRecord to clear all sealed records THEN: All records are cleared WHEN: Execute importTrackingReportZip to import the Zip
THEN: The 2 records are restoredFoloBackupListenerTest InitTrackingRecordThenPullEmptyRecordTest PullReportWithoutContentAccess404Test RecalculateMissingChecksumForTrackingRecordTest RecordsMigrationTest GIVEN: There is a folo-sealed.zip file under indy/data/folo folder WHEN: Indy starts THEN: The records in the zip file are imported to sealed The folo-sealed.dat is backed up to folo-sealed.dat.bak The folo-sealed.zip is rename to folo-sealed.zip.loaded after migration is doneReportIdsGettingTest This case test if the folo tracking ids can be fetched correctly when:
create central store repo and store a pom generate the report for central and pom sealed the report then:
get sealed report ids correctlyRetrieveFileAndVerifyInTrackingReportTest GIVEN: Repo A and path P WHEN: Retrieve the P from A through Folo trackingId Seal the trackingId Get the download records by trackingId THEN: The download record contains path P on store ARetrieveFileFromGroupAndVerifyInTrackingReportTest RetrieveTrackingReportAfterCacheExpirationTest StoreFileAndRecalculateTrackingEntryTest StoreFileAndVerifyInTrackingReportTest StoreFileThenDownloadThenUploadAndVerifyInTrackingReportTest StoreFileThenUploadThenDownloadAndVerifyInTrackingReportTest StoreFileViaGroupAndVerifyInTrackingReportTest UseChecksumFromTransferDecoratorForTrackingRecord_Sha1FileTest UseChecksumFromTransferDecoratorForTrackingRecordTest