Changeset View
Changeset View
Standalone View
Standalone View
autotests/propertyinfotest.cpp
Show First 20 Lines • Show All 124 Lines • ▼ Show 20 Line(s) | 113 | } rows[] = { | |||
---|---|---|---|---|---|
125 | { Property::BitRate, true, bitRateList, QStringLiteral("128 kbit/s and 130 kbit/s")}, | 125 | { Property::BitRate, true, bitRateList, QStringLiteral("128 kbit/s and 130 kbit/s")}, | ||
126 | { Property::ImageOrientation, true, 5, QStringLiteral("Transposed")}, | 126 | { Property::ImageOrientation, true, 5, QStringLiteral("Transposed")}, | ||
127 | { Property::PhotoFlash, true, 0x00, QStringLiteral("No flash")}, | 127 | { Property::PhotoFlash, true, 0x00, QStringLiteral("No flash")}, | ||
128 | { Property::PhotoFlash, true, 0x50, QStringLiteral("No, red-eye reduction")}, | 128 | { Property::PhotoFlash, true, 0x50, QStringLiteral("No, red-eye reduction")}, | ||
129 | { Property::PhotoGpsAltitude, true, 1.1, QStringLiteral("1.1 m")}, | 129 | { Property::PhotoGpsAltitude, true, 1.1, QStringLiteral("1.1 m")}, | ||
130 | // make VisualStudio compiler happy: QChar(0x00B0) = "°" | 130 | // make VisualStudio compiler happy: QChar(0x00B0) = "°" | ||
131 | { Property::PhotoGpsLatitude, true, 25, QStringLiteral("25") + QChar(0x00B0)}, | 131 | { Property::PhotoGpsLatitude, true, 25, QStringLiteral("25") + QChar(0x00B0)}, | ||
132 | { Property::PhotoGpsLongitude, true, 13.5, QStringLiteral("13.5") + QChar(0x00B0)}, | 132 | { Property::PhotoGpsLongitude, true, 13.5, QStringLiteral("13.5") + QChar(0x00B0)}, | ||
133 | { Property::PhotoExposureTime, true, 0.0015625, QStringLiteral("0.00156")}, | 133 | { Property::PhotoExposureTime, true, 0.0015625, QStringLiteral("1/640 s")}, | ||
134 | { Property::PhotoExposureBiasValue, true, 0.3333333, QStringLiteral("0.333")}, | 134 | { Property::PhotoExposureTime, true, 0.5, QStringLiteral("0.5 s")}, | ||
bruns: Please add two more testcases for exposure bias:
1. negative bias
2. abs(bias) > 1 | |||||
135 | { Property::PhotoExposureTime, true, 0.15, QStringLiteral("0.15 s")}, | ||||
135 | { Property::PhotoFNumber, true, 4.0, QStringLiteral("f/4")}, | 136 | { Property::PhotoFNumber, true, 4.0, QStringLiteral("f/4")}, | ||
136 | { Property::PhotoFNumber, true, 2.8, QStringLiteral("f/2.8")}, | 137 | { Property::PhotoFNumber, true, 2.8, QStringLiteral("f/2.8")}, | ||
137 | { Property::ReplayGainAlbumGain, true, -9.90, QStringLiteral("-9.9")}, | 138 | { Property::ReplayGainAlbumGain, true, -9.90, QStringLiteral("-9.9")}, | ||
138 | { Property::ReplayGainAlbumPeak, true, 1.512, QStringLiteral("1.51")}, | 139 | { Property::ReplayGainAlbumPeak, true, 1.512, QStringLiteral("1.51")}, | ||
139 | { Property::ReplayGainAlbumGain, true, 10.44, QStringLiteral("10.4")}, | 140 | { Property::ReplayGainAlbumGain, true, 10.44, QStringLiteral("10.4")}, | ||
140 | { Property::ReplayGainAlbumPeak, true, 1.306, QStringLiteral("1.31")}, | 141 | { Property::ReplayGainAlbumPeak, true, 1.306, QStringLiteral("1.31")}, | ||
141 | { Property::FrameRate, true, 23, QStringLiteral("23 fps")}, | 142 | { Property::FrameRate, true, 23, QStringLiteral("23 fps")}, | ||
142 | { Property::FrameRate, true, 23.976, QStringLiteral("23.98 fps")}, | 143 | { Property::FrameRate, true, 23.976, QStringLiteral("23.98 fps")}, | ||
Show All 9 Lines |
Please add two more testcases for exposure bias: