0
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-17 00:40:16 +01:00
forgejo/models
wxiaoguang 911975059a
Improve test logger ()
Before, there was a `log/buffer.go`, but that design is not general, and
it introduces a lot of irrelevant `Content() (string, error) ` and
`return "", fmt.Errorf("not supported")` .


And the old `log/buffer.go` is difficult to use, developers have to
write a lot of `Contains` and `Sleep` code.


The new `LogChecker` is designed to be a general approach to help to
assert some messages appearing or not appearing in logs.
2023-04-21 16:32:25 -04:00
..
actions
activities Localize activity heatmap (except tooltip) () 2023-04-17 14:26:01 -04:00
admin
asymkey
auth Fix 500 error if there is a name conflict when edit authentication source () 2023-03-31 22:32:18 +08:00
avatars
db Allow adding new files to an empty repo () 2023-04-19 21:40:42 +08:00
dbfs Allow adding new files to an empty repo () 2023-04-19 21:40:42 +08:00
fixtures Allow adding new files to an empty repo () 2023-04-19 21:40:42 +08:00
git
issues Fix issue attachment handling () 2023-04-20 02:39:44 -04:00
migrations Improve test logger () 2023-04-21 16:32:25 -04:00
organization Add owner team permission check test () 2023-04-19 19:19:13 -04:00
packages
perm
project
pull
repo Allow adding new files to an empty repo () 2023-04-19 21:40:42 +08:00
secret
system
unit
unittest Allow adding new files to an empty repo () 2023-04-19 21:40:42 +08:00
user Fix comment for EmailNotificationsAndYourOwn constant () 2023-04-21 10:27:32 -04:00
webhook
error.go
fixture_generation.go
fixture_test.go
main_test.go
migrate.go
migrate_test.go
org.go
org_team.go Fix internal sever error when visiting a PR that bound to the deleted team () 2023-04-19 19:50:00 -04:00
org_team_test.go
org_test.go
repo.go
repo_collaboration.go
repo_collaboration_test.go
repo_test.go
repo_transfer.go
repo_transfer_test.go