/// <summary> /// Setups the test values used in the OnEntryExtracted event /// </summary> private void SetupTestValues() { dataSourceAWEventArgs = new ZipEntryReadEvent( dataSourceAW.ZipPath, dataSourceAW.ExtractedTo); dataSourceTestEventArgs = new ZipEntryReadEvent( dataSourceTest.ZipPath, dataSourceTest.ExtractedTo); folderRootEventArgs = new ZipEntryReadEvent( folderRoot.ZipPath, folderRoot.ExtractedTo); folderDataSourcesEventArgs = new ZipEntryReadEvent( folderDataSources.ZipPath, folderDataSources.ExtractedTo); reportsFolderEventArgs = new ZipEntryReadEvent( reportsFolder.ZipPath, reportsFolder.ExtractedTo); folderSubFolderEventArgs = new ZipEntryReadEvent( subFolder.ZipPath, subFolder.ExtractedTo); reportCompanySalesEventArgs = new ZipEntryReadEvent( reportCompanySales.ZipPath, reportCompanySales.ExtractedTo); reportSalesOrderDetailEventArgs = new ZipEntryReadEvent( reportSalesOrderDetail.ZipPath, reportSalesOrderDetail.ExtractedTo); reportStoreContactsEventArgs = new ZipEntryReadEvent( reportStoreContacts.ZipPath, reportStoreContacts.ExtractedTo); reportDoesNotExistEventArgs = new ZipEntryReadEvent( reportDoesNotExist.ZipPath, reportDoesNotExist.ExtractedTo); folderDoesNotExistEventArgs = new ZipEntryReadEvent( folderDoesNotExist.ZipPath, folderDoesNotExist.ExtractedTo); summaryFileEventArgs = new ZipEntryReadEvent( summaryFile.ZipPath, summaryFile.ExtractedTo); bundleSummary.SourceRootPath = bundleSourceRootPath; bundleSummary.SourceVersion = bundleSourceVersion; bundleSummary.Entries = entries; bundleSummaryFileDoesntExist.SourceRootPath = bundleSourceRootPath; bundleSummaryFileDoesntExist.SourceVersion = bundleSourceVersion; bundleSummaryFileDoesntExist.Entries = entriesFileDoesntExist; bundleSummaryDirectoryDoesntExist.SourceRootPath = bundleSourceRootPath; bundleSummaryDirectoryDoesntExist.SourceVersion = bundleSourceVersion; bundleSummaryDirectoryDoesntExist.Entries = entriesDirectoryDoesntExist; bundleSummaryChecksumMismatch.SourceRootPath = bundleSourceRootPath; bundleSummaryChecksumMismatch.SourceVersion = bundleSourceVersion; bundleSummaryChecksumMismatch.Entries = entriesChecksumMismatch; }
private void EntryExtractedEventHandler(IZipFileReaderWrapper sender, ZipEntryReadEvent e) { this.mLogger.Debug("EntryExtractedEventHandler - Entry '{0}' extracted to '{1}'...", e.FileName, e.ExtractedTo); }