Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
TestContentGeometryRecord.cpp File Reference

Functions

 TEST (TestFileIdentity, AnIdentityMatchesItself)
 
 TEST (TestFileIdentity, EitherFieldDifferingIsADifferentFile)
 
 TEST (TestFileIdentity, NeitherFieldAloneDecides)
 
 TEST (TestFileIdentity, AnUnknownIdentityMatchesNothingIncludingItself)
 
 TEST (TestFileIdentity, PartiallyKnownIsUnknown)
 
 TEST (TestFileIdentity, AMissingFileHasNoIdentity)
 
 TEST (TestFileIdentity, ARealFileHasOneAndItIsStable)
 
 TEST (TestContentAspects, RoundTripThroughTheStoredForm)
 
 TEST (TestContentAspects, NoRatiosIsAnEmptyValue)
 
 TEST (TestContentAspects, AnythingThatIsNotARatioIsSkipped)
 The column is plain text a user can edit, so a value naming no ratio costs only itself.
 
 TEST (TestContentAspects, ARatioIsHeldToTwoDecimals)
 
 TEST (TestContentGeometryRecord, DefaultsToTheCurrentAlgorithmVersion)
 
 TEST (TestContentGeometryRecord, AReadingIsARatioAndVaryingIsMoreThanOne)
 
 TEST (TestContentGeometryLookup, MissingCarriesNoRecord)
 

Function Documentation

◆ TEST() [1/14]

TEST ( TestContentAspects ,
AnythingThatIsNotARatioIsSkipped  )

The column is plain text a user can edit, so a value naming no ratio costs only itself.

◆ TEST() [2/14]

TEST ( TestContentAspects ,
ARatioIsHeldToTwoDecimals  )

◆ TEST() [3/14]

TEST ( TestContentAspects ,
NoRatiosIsAnEmptyValue  )

◆ TEST() [4/14]

TEST ( TestContentAspects ,
RoundTripThroughTheStoredForm  )

◆ TEST() [5/14]

TEST ( TestContentGeometryLookup ,
MissingCarriesNoRecord  )

◆ TEST() [6/14]

TEST ( TestContentGeometryRecord ,
AReadingIsARatioAndVaryingIsMoreThanOne  )

◆ TEST() [7/14]

TEST ( TestContentGeometryRecord ,
DefaultsToTheCurrentAlgorithmVersion  )

◆ TEST() [8/14]

TEST ( TestFileIdentity ,
AMissingFileHasNoIdentity  )

◆ TEST() [9/14]

TEST ( TestFileIdentity ,
AnIdentityMatchesItself  )

◆ TEST() [10/14]

TEST ( TestFileIdentity ,
AnUnknownIdentityMatchesNothingIncludingItself  )

An unknown identity never matches, so a caller that could not identify the file ends up with no rectangle.

◆ TEST() [11/14]

TEST ( TestFileIdentity ,
ARealFileHasOneAndItIsStable  )

◆ TEST() [12/14]

TEST ( TestFileIdentity ,
EitherFieldDifferingIsADifferentFile  )

◆ TEST() [13/14]

TEST ( TestFileIdentity ,
NeitherFieldAloneDecides  )

Neither field alone: a re-crop can preserve the byte count, and a restore can preserve the size while changing the mtime.

◆ TEST() [14/14]

TEST ( TestFileIdentity ,
PartiallyKnownIsUnknown  )