Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimisation of directory type checking in file list #1381

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from

Investigate bypassing casacore to distinguish between directories and…

e853c0d
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Draft

Optimisation of directory type checking in file list #1381

Investigate bypassing casacore to distinguish between directories and…
e853c0d
Select commit
Loading
Failed to load commit list.
GitHub Actions / Ubuntu-Focal Unit Test results succeeded Jun 14, 2024 in 0s

302 passed, 0 failed and 0 skipped

Tests passed successfully

✅ build/test/ubuntu_test_report.xml

302 tests were completed in 290s with 302 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
BlockSmoothingTest 2✅ 136s
ContourTest 12✅ 89s
CursorSpatialProfileTest 17✅ 8s
FileExtInfoLoaderTest 5✅ 49ms
FileInfoLoaderTest 4✅ 2ms
FileListTest 4✅ 17ms
FitsImageTest 6✅ 4s
FitsTableTest 33✅ 36ms
Hdf5AttributesTest 1✅ 671ms
Hdf5ImageTest 6✅ 683ms
HistogramTest 5✅ 11s
ImageExprTest 5✅ 117ms
ImageFittingTest 9✅ 38s
MomentTest 2✅ 925ms
NormalizedUnitsTest 4✅ 2ms
ProgramSettingsTest 24✅ 58ms
PvGeneratorTest 10✅ 512ms
RegionHistogramTest 2✅ 17ms
RegionImportExportTest 4✅ 546ms
RegionMatchedTest 10✅ 149ms
RegionSpatialProfileTest 12✅ 121ms
RegionSpectralProfileTest 4✅ 38ms
RegionStatsTest 2✅ 16ms
RegionTest 11✅ 87ms
RestApiTest 50✅ 130ms
SessionFileInfoTest 4✅ 73ms
TileEncodingTest 3✅ 11ms
UtilTest 10✅ 1ms
VoTableTest 41✅ 18ms

✅ BlockSmoothingTest

✅ TestControl
✅ TestSSEAccuracy

✅ ContourTest

✅ NoSmoothingFitsFile
✅ NoSmoothingFitsFileNaN
✅ GaussianBlurFitsFile
✅ GaussianBlurFitsFileNaN
✅ BlockAverageFitsFile
✅ BlockAverageFitsFileNaN
✅ NoSmoothingHdf5File
✅ NoSmoothingHdf5FileNaN
✅ GaussianBlurHdf5File
✅ GaussianBlurHdf5FileNaN
✅ BlockAverageHdf5File
✅ BlockAverageHdf5FileNaN

✅ CursorSpatialProfileTest

✅ SmallFitsProfile
✅ SmallHdf5Profile
✅ LowResFitsProfile
✅ LowResHdf5ProfileExactMipAvailable
✅ LowResHdf5ProfileLowerMipAvailable
✅ LowResHdf5ProfileNoMipAvailable
✅ FullResFitsStartEnd
✅ FullResHdf5StartEnd
✅ LowResFitsStartEnd
✅ LowResHdf5StartEnd
✅ Hdf5MultipleChunkFullRes
✅ Hdf5MultipleChunkFullResStartEnd
✅ FitsChannelChange
✅ FitsChannelStokesChange
✅ ContiguousHDF5ChannelChange
✅ ChunkedHDF5ChannelChange
✅ ChunkedHDF5ChannelStokesChange

✅ FileExtInfoLoaderTest

✅ CasaFile
✅ FitsFile
✅ Hdf5File
✅ MiriadFile
✅ FitsHistoryEntries

✅ FileInfoLoaderTest

✅ CasaFile
✅ FitsFile
✅ Hdf5File
✅ MiriadFile

✅ FileListTest

✅ SetTopLevelFolder
✅ SetStartingFolder
✅ AccessFalseFolder
✅ AccessForbiddenFolder

✅ FitsImageTest

✅ BasicLoadingTest
✅ ExampleFriendTest
✅ CorrectShape2dImage
✅ CorrectShape3dImage
✅ CorrectShapeDegenerate3dImages
✅ CorrectShape4dImages

✅ FitsTableTest

✅ ParseIvoaExampleHeaderOnly
✅ ParseIvoaExample
✅ CorrectFieldCount
✅ CorrectFieldNames
✅ CorrectFieldUnits
✅ CorrectFieldTypes
✅ CorrectFieldSizes
✅ CorrectNameLookups
✅ CorrectColumnTypes
✅ CorrectDataValues
✅ FailOnWrongFilterType
✅ PassOnCorrectFilterType
✅ CaseSensitiveStringFilter
✅ CaseInsensitiveStringFilter
✅ FailFilterExtractMistypedValues
✅ FilterExtractValues
✅ NumericFilterEqual
✅ NumericFilterNotEqual
✅ NumericFilterGreater
✅ NumericFilterLesser
✅ NumericFilterRange
✅ BooleanFilterEqual
✅ BooleanFilterNotEqual
✅ FailSortMissingColummn
✅ SortNumericAscending
✅ SortNumericDescending
✅ SortNumericSubset
✅ SortStringAscending
✅ SortStringDescending
✅ SortStringSubset
✅ ParseArrayFile
✅ IgnoreArrayTypes
✅ CorrectScalarData

✅ Hdf5AttributesTest

✅ TestAttributes

✅ Hdf5ImageTest

✅ BasicLoadingTest
✅ ExampleFriendTest
✅ CorrectShape2dImage
✅ CorrectShape3dImage
✅ CorrectShapeDegenerate3dImages
✅ CorrectShape4dImages

✅ HistogramTest

✅ TestHistogramBehaviour
✅ TestHistogramConstructor
✅ TestHistogramAdd
✅ TestSingleThreading
✅ TestMultithreading

✅ ImageExprTest

✅ FitsImageExprTimesTwo
✅ Hdf5ImageExprTimesTwo
✅ FitsImageExprSave
✅ ImageExprFails
✅ ImageExprTwoDirs

✅ ImageFittingTest

✅ OneComponentFitting
✅ ThreeComponentFitting
✅ CenterFixedFitting
✅ BackgroundUnfixedFitting
✅ FittingWithFov
✅ IncorrectRegionId
✅ IncorrectFov
✅ FovOutsideImage
✅ insufficientData

✅ MomentTest

✅ CheckConsistency
✅ CheckConsistencyForBeamConvolutions

✅ NormalizedUnitsTest

✅ ValidBunits
✅ Bunit
✅ BunitPrefixUpperM
✅ BunitPrefixLowerM

✅ ProgramSettingsTest

✅ DefaultConstructor
✅ EmptyArugments
✅ ExpectedValuesLong
✅ ExpectedValuesShort
✅ OverrideDeprecatedRoot
✅ OverrideDeprecatedBase
✅ StartingFolderFromPositional
✅ IgnoreInvalidFolder
✅ IgnoreInvalidFile
✅ FileImageFromPositional
✅ RelativeFileImageFromPositional
✅ TrimExtraFolders
✅ FileImageRelativeToTopLevel
✅ CasaImageSetFromPositional
✅ MultipleImagesFromPositional
✅ ExpectedValuesLongJSON
✅ ValidateJSONFromFileWithGoodFields
✅ ValidateJSONFromFileWithBadFields
✅ TestValuesFromGoodSettings
✅ TestDefaultsFallbackFromBadSettings
✅ TestFileQueryStringEmptyFiles
✅ TestFileQueryStringSingleFile
✅ TestFileQueryStringTwoFilesSameFolder
✅ TestFileQueryStringTwoFilesDifferentFolder

✅ PvGeneratorTest

✅ FitsPvImage
✅ FitsPvImageHorizontalCut
✅ FitsPvImageVerticalCut
✅ TestNoSpectralAxis
✅ AveragingWidthRange
✅ PvImageSpectralRange
✅ PvImageReversedAxes
✅ PvImageKeep
✅ FitsPvAnnotationLine
✅ FitsPvPolyLine

✅ RegionHistogramTest

✅ TestFitsRegionHistogram
✅ TestFitsAnnotationRegionHistogram

✅ RegionImportExportTest

✅ TestCrtfPixExportImport
✅ TestCrtfWorldExportImport
✅ TestDs9PixExportImport
✅ TestDs9WorldExportImport

✅ RegionMatchedTest

✅ TestMatchedImageRectangleLCRegion
✅ TestMatchedImageRotboxLCRegion
✅ TestMatchedImageEllipseLCRegion
✅ TestMatchedImagePolygonLCRegion
✅ TestMatchedImagePointRecord
✅ TestMatchedImageLineRecord
✅ TestMatchedImageRectangleRecord
✅ TestMatchedImageRotboxRecord
✅ TestMatchedImageEllipseRecord
✅ TestMatchedImagePolygonRecord

✅ RegionSpatialProfileTest

✅ TestSpatialRequirements
✅ FitsLineProfile
✅ Hdf5LineProfile
✅ FitsHorizontalCutProfile
✅ FitsVerticalCutProfile
✅ FitsPolylineProfile
✅ AveragingWidthRange
✅ FitsAnnotationLineProfile
✅ FitsPointProfile
✅ Hdf5PointProfile
✅ FitsPointProfileOutsideImage
✅ FitsAnnotationPointProfile

✅ RegionSpectralProfileTest

✅ TestPolygonSpectralProfile
✅ TestAnnPolygonSpectralProfile
✅ TestPointSpectralProfile
✅ TestAnnPointSpectralProfile

✅ RegionStatsTest

✅ TestFitsRegionStats
✅ TestFitsAnnotationRegionStats

✅ RegionTest

✅ TestSetUpdateRemoveRegion
✅ TestReferenceImageRectangleLCRegion
✅ TestReferenceImageRotboxLCRegion
✅ TestReferenceImageEllipseLCRegion
✅ TestReferenceImagePolygonLCRegion
✅ TestReferenceImagePointRecord
✅ TestReferenceImageLineRecord
✅ TestReferenceImageRectangleRecord
✅ TestReferenceImageRotboxRecord
✅ TestReferenceImageEllipseRecord
✅ TestReferenceImagePolygonRecord

✅ RestApiTest

✅ EmptyStartingPrefs
✅ GetExistingPrefs
✅ DeletePrefsEmpty
✅ DeletePrefsInvalid
✅ DeletePrefsIgnoresInvalidKeys
✅ DeletePrefsHandlesMissingKeys
✅ DeletePrefsSingleKey
✅ DeletePrefsKeyList
✅ SetPrefsReadOnly
✅ EmptyStartingLayouts
✅ GetExistingLayoutList
✅ GetExistingLayout
✅ GetExistingLayouts
✅ DeleteLayout
✅ DeleteLayoutEmpty
✅ DeleteLayoutInvalid
✅ DeleteLayoutIgnoresInvalidKeys
✅ DeleteLayoutMissingName
✅ SetLayout
✅ SetLayoutReadOnly
✅ EmptyStartingSnippets
✅ GetExistingSnippetList
✅ GetExistingSnippet
✅ GetExistingSnippets
✅ DeleteSnippet
✅ DeleteSnippetEmpty
✅ DeleteSnippetInvalid
✅ DeleteSnippetIgnoresInvalidKeys
✅ DeleteSnippetMissingName
✅ SetSnippet
✅ SetSnippetReadOnly
✅ EmptyStartingWorkspaces
✅ GetExistingWorkspaceList
✅ GetExistingWorkspace
✅ GetMissingWorkspace
✅ GetExistingWorkspaces
✅ DeleteWorkspace
✅ DeleteWorkspaceEmpty
✅ DeleteWorkspaceInvalid
✅ DeleteWorkspaceIgnoresInvalidKeys
✅ DeleteWorkspaceMissingName
✅ SetWorkspace
✅ SetWorkspaceReadOnly
✅ SendScriptingRequest
✅ SendScriptingRequestSessionNotFound
✅ SendScriptingRequestBadJson
✅ SendScriptingRequestServerError
✅ OnScriptingResponse
✅ OnScriptingResponseFailure
✅ OnScriptingResponseBadResponse

✅ SessionFileInfoTest

✅ CasaFile
✅ FitsFile
✅ Hdf5File
✅ MiriadFile

✅ TileEncodingTest

✅ InvalidInput
✅ OutOfBounds
✅ RoundTrip

✅ UtilTest

✅ SubdirectoryAbs
✅ SubdirectoryRel
✅ SubdirectorySelf
✅ ParentNotSubdirectory
✅ TopIsRoot
✅ ItemCountValidFolder
✅ ItemCountMissingFolder
✅ StringCompare
✅ HasSuffixCaseSensitive
✅ HasSuffixCaseInsensitive

✅ VoTableTest

✅ FailOnEmptyFilename
✅ FailOnEmptyFilenameHeaderOnly
✅ FailOnMissingResource
✅ FailOnMissingTable
✅ FailOnMissingData
✅ ParseMissingDataHeaderOnly
✅ ParseMissingData
✅ ParseIvoaExampleHeaderOnly
✅ ParseIvoaExample
✅ CorrectFieldCount
✅ CorrectFieldNames
✅ CorrectFieldUnits
✅ CorrectFieldTypes
✅ CorrectFieldSizes
✅ CorrectNameLookups
✅ CorrectIdLookups
✅ CorrectColumnTypes
✅ CorrectDataValues
✅ FailOnWrongFilterType
✅ PassOnCorrectFilterType
✅ CaseSensitiveStringFilter
✅ CaseInsensitiveStringFilter
✅ FailFilterExtractMistypedValues
✅ FilterExtractValues
✅ NumericFilterEqual
✅ NumericFilterNotEqual
✅ NumericFilterGreater
✅ NumericFilterLesser
✅ NumericFilterRange
✅ BooleanFilterEqual
✅ BooleanFilterNotEqual
✅ FailSortMissingColummn
✅ SortNumericAscending
✅ SortNumericDescending
✅ SortNumericSubset
✅ SortStringAscending
✅ SortStringDescending
✅ SortStringSubset
✅ ParseArrayFile
✅ IgnoreArrayTypes
✅ CorrectScalarData