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 3 commits into
base: dev
Choose a base branch
from

Never use casa; always look for files.

fdfa3b7
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

Never use casa; always look for files.
fdfa3b7
Select commit
Loading
Failed to load commit list.
GitHub Actions / AlmaLinux-8 Unit Test results succeeded Nov 22, 2024 in 0s

302 passed, 0 failed and 0 skipped

Tests passed successfully

✅ build/test/almalinux_test_report.xml

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

Test suite Passed Failed Skipped Time
BlockSmoothingTest 2✅ 10s
ContourTest 12✅ 36s
CursorSpatialProfileTest 17✅ 8s
FileExtInfoLoaderTest 5✅ 130ms
FileInfoLoaderTest 4✅ 80ms
FileListTest 4✅ 18ms
FitsImageTest 6✅ 4s
FitsTableTest 33✅ 94ms
Hdf5AttributesTest 1✅ 730ms
Hdf5ImageTest 6✅ 316ms
HistogramTest 5✅ 914ms
ImageExprTest 5✅ 341ms
ImageFittingTest 9✅ 39s
MomentTest 2✅ 1s
NormalizedUnitsTest 4✅ 3ms
ProgramSettingsTest 24✅ 80ms
PvGeneratorTest 10✅ 583ms
RegionHistogramTest 2✅ 24ms
RegionImportExportTest 4✅ 368ms
RegionMatchedTest 10✅ 220ms
RegionSpatialProfileTest 12✅ 165ms
RegionSpectralProfileTest 4✅ 52ms
RegionStatsTest 2✅ 36ms
RegionTest 11✅ 121ms
RestApiTest 50✅ 74ms
SessionFileInfoTest 4✅ 43ms
TileEncodingTest 3✅ 2ms
UtilTest 10✅ 2ms
VoTableTest 41✅ 63ms

✅ 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