Commit graph

290 commits

Author SHA1 Message Date
Theresa Gresch
411d998ac6 Add more test conditions to strings test 2019-07-17 13:46:21 +02:00
Theresa Gresch
f7063e7643 Add test for strings functions 2019-07-17 13:26:20 +02:00
Theresa Gresch
429f226c5c Add test for hash function 2019-07-17 13:22:55 +02:00
Theresa Gresch
a995bb87de Add test for makeTensor 2019-07-17 12:22:50 +02:00
Theresa Gresch
30013b6ea7 Add NewTestParamsError and NewTestErrorConfig function 2019-07-17 12:00:15 +02:00
Theresa Gresch
e66f795783 Add test for loadLabels function 2019-07-17 11:59:21 +02:00
Theresa Gresch
d63f4ec09f Created loadLabels function 2019-07-17 11:53:33 +02:00
Theresa Gresch
73b16162ab Add test for bestLabels function 2019-07-17 11:52:26 +02:00
Theresa Gresch
1972662669 Add test for loadlLabelRule function 2019-07-17 10:59:19 +02:00
Theresa Gresch
4aa110396e Add tests for LoadLabelRules, LabelsFromFile, Labels and LoadModel functions 2019-07-17 10:48:23 +02:00
Theresa Gresch
e782abd7e3 Add new test condition to openstreetmap test 2019-07-17 09:53:53 +02:00
Theresa Gresch
a6bf3161c2 Add test for openstreetmap.go 2019-07-17 09:49:00 +02:00
Theresa Gresch
99738790cb Refactored order of tests in mediafile_test.go 2019-07-16 17:27:51 +02:00
Theresa Gresch
ffcb498fce Add tests for HastTimeAndPlace, Aperture, Iso and Exposure functions 2019-07-16 17:11:22 +02:00
Theresa Gresch
f2b6d4f31f Add tests for TimeZone, CameraModel, CameraMake, LensModel, LensMake and FocalLength functions 2019-07-16 17:02:40 +02:00
Theresa Gresch
253923ce48 Add tests for Extension, Basename and Directory functions of mediafiles 2019-07-16 16:45:32 +02:00
Theresa Gresch
3c7dba5d51 Add tests for decodeDimension, Jpeg, IsPhoto, IsRaw, IsHEIF, HasType and IsJpeg functions 2019-07-16 16:25:36 +02:00
Theresa Gresch
bd5d32fa84 Add tests for aspect ratio, height and orientation function to mediafile_test.go 2019-07-16 14:12:10 +02:00
Theresa Gresch
7f444185c0 Add test condition for camera model 2019-07-16 14:11:33 +02:00
Theresa Gresch
8d7cbe3cb0 Add test photoLabel model 2019-07-16 13:10:31 +02:00
Theresa Gresch
d2c9b73a38 Add test for lens model 2019-07-16 13:02:42 +02:00
Theresa Gresch
adead738cd Add tests for label model 2019-07-16 12:57:55 +02:00
Theresa Gresch
2eb0011377 Add test for country model 2019-07-16 12:53:23 +02:00
Theresa Gresch
67c21ab0d1 Add tests for album model 2019-07-16 12:44:13 +02:00
Theresa Gresch
1fec474bd0 Add tests for camera model 2019-07-16 12:36:30 +02:00
Theresa Gresch
ab9938999c Add tests for label search form 2019-07-16 11:18:30 +02:00
Theresa Gresch
8cedf9d192 Add tests for album search form 2019-07-16 11:17:52 +02:00
Theresa Gresch
0b26f813ca Add more test conditions to photos search form 2019-07-16 11:17:33 +02:00
Theresa Gresch
81f6ded2cc Add tests for photos search form 2019-07-16 10:41:30 +02:00
Michael Mayer
9b73c91ed5 Remove index from label name (use slug instead)
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-07-15 23:11:29 +02:00
Michael Mayer
7afb7a87db Search performance improvements (indexes and labels) 2019-07-15 22:54:54 +02:00
Michael Mayer
b628592510 Fix TestConfig_ClientConfig 2019-07-15 21:19:11 +02:00
Michael Mayer
61c1478533 Fix for finding existing photo by time and place 2019-07-15 20:42:49 +02:00
Michael Mayer
c531c5aec9 Use test config for TestConfig_Db and TestConfig_CloseDb 2019-07-14 19:06:44 +02:00
Theresa Gresch
801097c368 Revert change to Db function 2019-07-10 10:33:16 +02:00
Theresa Gresch
31b29fa42b Adapt Db function to return nil in case the db is not initialized 2019-07-10 09:10:46 +02:00
Theresa Gresch
73d5871886 Add tests for config.go 2019-07-10 09:10:02 +02:00
Theresa Gresch
9c6c6f2539 Add tests for config.go 2019-07-09 17:43:34 +02:00
Theresa Gresch
3813ee327a Add tests for config.co 2019-07-09 16:57:37 +02:00
Theresa Gresch
92e03b2069 Add test for indexAll function 2019-07-09 14:30:08 +02:00
Theresa Gresch
775a48727b Add assertion for chroma hex value to colors test 2019-07-09 14:16:41 +02:00
Theresa Gresch
064a5b7c09 Add tests ThumbnailFromFile and CreateThumbnail functions 2019-07-09 13:55:31 +02:00
Theresa Gresch
7e537014e2 Add test for ThumbnailFilename function 2019-07-09 13:26:54 +02:00
Theresa Gresch
46f997e8ba Add tests for invalid thumbnail type and invalid image format for thumbnail function 2019-07-09 12:46:43 +02:00
Theresa Gresch
b99753b051 Add tests for more search queries 2019-07-08 17:42:06 +02:00
Theresa Gresch
0db08e26d2 Add tests for different search queries 2019-07-08 17:25:51 +02:00
Theresa Gresch
f7c18a17f8 Use more suited testdata in lables test 2019-07-08 16:23:34 +02:00
Theresa Gresch
03d7e6af2f Add tests for mediafile.go 2019-07-08 16:09:10 +02:00
Theresa Gresch
416c8ccec0 Refactored RelativeFilename and RelativePath function to be able to deal with paths ending with or without slashes 2019-07-08 16:08:32 +02:00
Theresa Gresch
3dc9abea67 Add tests for label.go 2019-07-08 14:09:21 +02:00