forgejo-aneksajo/tests
Nick b70c888f53 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-26 16:37:48 +02:00
..
e2e Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
fuzz Rework markup link rendering (#26745) (#28803) 2024-01-16 14:41:11 +00:00
gitea-lfs-meta Test views of LFS files (#22196) 2022-12-23 07:41:56 +08:00
gitea-repositories-meta [GITEA] Detect file rename and show in history 2023-11-13 14:06:30 +01:00
integration git-annex: create modules/annex (#21) 2024-04-26 16:37:48 +02:00
testdata/data/attachments/a/0 Allow get release download files and lfs files with oauth2 token format (#26430) (#27379) 2023-10-01 19:54:11 +08:00
mssql.ini.tmpl git-annex: add configuration setting [annex].ENABLED (#18) 2024-04-26 16:37:48 +02:00
mysql.ini.tmpl git-annex: add configuration setting [annex].ENABLED (#18) 2024-04-26 16:37:48 +02:00
mysql8.ini.tmpl git-annex: add configuration setting [annex].ENABLED (#18) 2024-04-26 16:37:48 +02:00
pgsql.ini.tmpl git-annex: add configuration setting [annex].ENABLED (#18) 2024-04-26 16:37:48 +02:00
sqlite.ini.tmpl git-annex: add configuration setting [annex].ENABLED (#18) 2024-04-26 16:37:48 +02:00
test_utils.go [TESTS] tests.AddFixtures helper loads additional per-test fixtures 2023-11-13 12:33:49 +01:00