Skip to content

Commit 3453853

Browse files
committed
cleanup code into a separate DateParser class;
remove modified date from exif candidate fields; add filename date parsing; choose earliest among EXIF fields, dateTaken, mtime, filename without priority to any one; add tests for DateParser;
1 parent 3ca99f3 commit 3453853

3 files changed

Lines changed: 569 additions & 199 deletions

File tree

android/app/build.gradle

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,19 @@ android {
3434
buildFeatures {
3535
viewBinding true
3636
}
37+
38+
testOptions {
39+
unitTests.all {
40+
useJUnitPlatform()
41+
42+
testLogging {
43+
events "skipped", "failed"
44+
showStandardStreams = true
45+
exceptionFormat = "full"
46+
}
47+
}
48+
unitTests.returnDefaultValues = true
49+
}
3750
}
3851

3952
dependencies {

0 commit comments

Comments
 (0)