diff options
| author | RanXom <saiyedshizain@gmail.com> | 2026-07-13 14:30:34 +0530 |
|---|---|---|
| committer | RanXom <saiyedshizain@gmail.com> | 2026-07-13 14:30:34 +0530 |
| commit | dc6aab4910c589e1e37e7cb93d65a1195fbbca1f (patch) | |
| tree | 406fc321c7c5f99a81b0d02e9362171d1a071776 /internal/testfixtures/fixtures.go | |
| parent | 343933855797b9ebff6b759019718c8ddccb7b28 (diff) | |
| download | galleryd-dc6aab4910c589e1e37e7cb93d65a1195fbbca1f.tar.xz galleryd-dc6aab4910c589e1e37e7cb93d65a1195fbbca1f.zip | |
test: add shared fixture helpers
Diffstat (limited to 'internal/testfixtures/fixtures.go')
| -rw-r--r-- | internal/testfixtures/fixtures.go | 16 |
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") +} |