forgejo-aneksajo/tests
Nick f3944c46ff git-annex: create modules/annex (#21)
This moves the `annexObjectPath()` helper out of the tests and into a
dedicated sub-package as `annex.ContentLocation()`, and expands it with
`.Pointer()` (which validates using `git annex examinekey`),
`.IsAnnexed()` and `.Content()` to make it a more useful module.

The tests retain their own wrapper version of `ContentLocation()`
because I tried to follow close to the API modules/lfs uses, which in
terms of abstract `git.Blob` and `git.TreeEntry` objects, not in terms
of `repoPath string`s which are more convenient for the tests.
2024-04-25 14:40:36 +02:00
..
e2e Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
fuzz Move fuzz tests into tests/fuzz (#22376) 2023-01-09 15:30:14 +08:00
gitea-lfs-meta Test views of LFS files (#22196) 2022-12-23 07:41:56 +08:00
gitea-repositories-meta Allow get release download files and lfs files with oauth2 token format (#26430) (#27378) 2023-10-03 14:48:40 +02:00
integration git-annex: create modules/annex (#21) 2024-04-25 14:40:36 +02:00
testdata/data/attachments/a/0 Allow get release download files and lfs files with oauth2 token format (#26430) (#27378) 2023-10-03 14:48:40 +02:00
mssql.ini.tmpl git-annex: add configuration setting [annex].ENABLED (#18) 2024-04-25 14:40:36 +02:00
mysql.ini.tmpl git-annex: add configuration setting [annex].ENABLED (#18) 2024-04-25 14:40:36 +02:00
mysql8.ini.tmpl git-annex: add configuration setting [annex].ENABLED (#18) 2024-04-25 14:40:36 +02:00
pgsql.ini.tmpl git-annex: add configuration setting [annex].ENABLED (#18) 2024-04-25 14:40:36 +02:00
sqlite.ini.tmpl git-annex: add configuration setting [annex].ENABLED (#18) 2024-04-25 14:40:36 +02:00
test_utils.go [TESTS] tests.AddFixtures helper loads additional per-test fixtures 2023-11-25 08:08:37 +01:00