Skip to content

Add test for file list for default top level folder #2067

Add test for file list for default top level folder

Add test for file list for default top level folder #2067

GitHub Actions / Ubuntu-Focal Unit Test results succeeded Dec 6, 2024 in 1s

302 passed, 0 failed and 0 skipped

Tests passed successfully

✅ build/test/ubuntu_test_report.xml

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

Test suite Passed Failed Skipped Time
BlockSmoothingTest 2✅ 79s
ContourTest 12✅ 81s
CursorSpatialProfileTest 17✅ 7s
FileExtInfoLoaderTest 5✅ 99ms
FileInfoLoaderTest 4✅ 19ms
FileListTest 4✅ 42ms
FitsImageTest 6✅ 3s
FitsTableTest 33✅ 59ms
Hdf5AttributesTest 1✅ 619ms
Hdf5ImageTest 6✅ 255ms
HistogramTest 5✅ 6s
ImageExprTest 5✅ 261ms
ImageFittingTest 9✅ 33s
MomentTest 2✅ 1s
NormalizedUnitsTest 4✅ 2ms
ProgramSettingsTest 24✅ 75ms
PvGeneratorTest 10✅ 511ms
RegionHistogramTest 2✅ 16ms
RegionImportExportTest 4✅ 524ms
RegionMatchedTest 10✅ 140ms
RegionSpatialProfileTest 12✅ 111ms
RegionSpectralProfileTest 4✅ 35ms
RegionStatsTest 2✅ 15ms
RegionTest 11✅ 74ms
RestApiTest 50✅ 131ms
SessionFileInfoTest 4✅ 77ms
TileEncodingTest 3✅ 9ms
UtilTest 10✅ 1ms
VoTableTest 41✅ 69ms

✅ 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