aboutsummaryrefslogtreecommitdiff
path: root/internal/testfixtures
diff options
context:
space:
mode:
authorRanXom <saiyedshizain@gmail.com>2026-07-13 14:30:34 +0530
committerRanXom <saiyedshizain@gmail.com>2026-07-13 14:30:34 +0530
commitdc6aab4910c589e1e37e7cb93d65a1195fbbca1f (patch)
tree406fc321c7c5f99a81b0d02e9362171d1a071776 /internal/testfixtures
parent343933855797b9ebff6b759019718c8ddccb7b28 (diff)
downloadgalleryd-dc6aab4910c589e1e37e7cb93d65a1195fbbca1f.tar.xz
galleryd-dc6aab4910c589e1e37e7cb93d65a1195fbbca1f.zip
test: add shared fixture helpers
Diffstat (limited to 'internal/testfixtures')
-rw-r--r--internal/testfixtures/fixtures.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/internal/testfixtures/fixtures.go b/internal/testfixtures/fixtures.go
new file mode 100644
index 0000000..57ebb61
--- /dev/null
+++ b/internal/testfixtures/fixtures.go
@@ -0,0 +1,16 @@
+// Package testfixtures holds shared fixture helpers
+package testfixtures
+
+import "path/filepath"
+
+func Canon40D() string {
+ return filepath.Join("..", "testfixtures", "Canon_40D.jpg")
+}
+
+func NikonD70() string {
+ return filepath.Join("..", "testfixtures", "Nikon_D70.jpg")
+}
+
+func NoEXIF() string {
+ return filepath.Join("..", "testfixtures", "no-exif.png")
+}