|
Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
|
#include "test/TestUtils.h"#include "video/geometry/ContentGeometryRecord.h"#include "video/geometry/test/GeometryTestHelpers.h"#include <gtest/gtest.h>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) | |
| 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 | ( | TestContentAspects | , |
| NoRatiosIsAnEmptyValue | ) |
| TEST | ( | TestContentAspects | , |
| RoundTripThroughTheStoredForm | ) |
| TEST | ( | TestContentGeometryLookup | , |
| MissingCarriesNoRecord | ) |
| TEST | ( | TestContentGeometryRecord | , |
| AReadingIsARatioAndVaryingIsMoreThanOne | ) |
| TEST | ( | TestContentGeometryRecord | , |
| DefaultsToTheCurrentAlgorithmVersion | ) |
| TEST | ( | TestFileIdentity | , |
| AMissingFileHasNoIdentity | ) |
| TEST | ( | TestFileIdentity | , |
| AnIdentityMatchesItself | ) |
| TEST | ( | TestFileIdentity | , |
| AnUnknownIdentityMatchesNothingIncludingItself | ) |
An unknown identity never matches, so a caller that could not identify the file ends up with no rectangle.
| TEST | ( | TestFileIdentity | , |
| ARealFileHasOneAndItIsStable | ) |
| TEST | ( | TestFileIdentity | , |
| EitherFieldDifferingIsADifferentFile | ) |
| 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 | ( | TestFileIdentity | , |
| PartiallyKnownIsUnknown | ) |