1
0
Fork 0
forgejo/models
wxiaoguang 911975059a
Improve test logger (#24235)
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
admin
asymkey
auth
avatars
db Allow adding new files to an empty repo (#24164) 2023-04-19 21:40:42 +08:00
dbfs Allow adding new files to an empty repo (#24164) 2023-04-19 21:40:42 +08:00
fixtures Allow adding new files to an empty repo (#24164) 2023-04-19 21:40:42 +08:00
git
issues Fix issue attachment handling (#24202) 2023-04-20 02:39:44 -04:00
migrations Improve test logger (#24235) 2023-04-21 16:32:25 -04:00
organization Add owner team permission check test (#24096) 2023-04-19 19:19:13 -04:00
packages
perm
project
pull
repo Allow adding new files to an empty repo (#24164) 2023-04-19 21:40:42 +08:00
secret
system
unit
unittest Allow adding new files to an empty repo (#24164) 2023-04-19 21:40:42 +08:00
user Fix comment for EmailNotificationsAndYourOwn constant (#24236) 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 (#24127) 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