Skip to content

Fix Session channel range for loop and add debugging output #2000

Fix Session channel range for loop and add debugging output

Fix Session channel range for loop and add debugging output #2000

GitHub Actions / Ubuntu-Focal Unit Test results succeeded Sep 18, 2024 in 0s

302 passed, 0 failed and 0 skipped

Tests passed successfully

✅ build/test/ubuntu_test_report.xml

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

Test suite Passed Failed Skipped Time
BlockSmoothingTest 2✅ 141s
ContourTest 12✅ 87s
CursorSpatialProfileTest 17✅ 8s
FileExtInfoLoaderTest 5✅ 46ms
FileInfoLoaderTest 4✅ 1ms
FileListTest 4✅ 17ms
FitsImageTest 6✅ 3s
FitsTableTest 33✅ 29ms
Hdf5AttributesTest 1✅ 677ms
Hdf5ImageTest 6✅ 843ms
HistogramTest 5✅ 10s
ImageExprTest 5✅ 113ms
ImageFittingTest 9✅ 36s
MomentTest 2✅ 880ms
NormalizedUnitsTest 4✅ 2ms
ProgramSettingsTest 24✅ 56ms
PvGeneratorTest 10✅ 496ms
RegionHistogramTest 2✅ 20ms
RegionImportExportTest 4✅ 543ms
RegionMatchedTest 10✅ 144ms
RegionSpatialProfileTest 12✅ 126ms
RegionSpectralProfileTest 4✅ 32ms
RegionStatsTest 2✅ 21ms
RegionTest 11✅ 80ms
RestApiTest 50✅ 128ms
SessionFileInfoTest 4✅ 69ms
TileEncodingTest 3✅ 11ms
UtilTest 10✅ 1ms
VoTableTest 41✅ 17ms

✅ 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