1
0
Fork 0
forgejo/modules
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
activitypub
analyze
assetfs
auth
avatar Allow webp images as avatars (#24248) 2023-04-21 13:15:49 -04:00
base
cache
charset
container
context
csv
doctor
emoji
eventsource
generate
git
gitgraph
graceful
hcaptcha
highlight
hostmatcher
html
httpcache
httplib
indexer
issue/template
json
label
lfs
log Improve test logger (#24235) 2023-04-21 16:32:25 -04:00
markup
mcaptcha
metrics
migration
mirror
nosql
notification
options
packages
paginator
pprof
private
process
proxy
proxyprotocol
public
queue
recaptcha
references
regexplru
repository
secret
session
setting
sitemap
ssh
storage
structs
svg
sync
system
templates
test Improve test logger (#24235) 2023-04-21 16:32:25 -04:00
timeutil
translation
turnstile
typesniffer
updatechecker
upload
uri
user
util
validation
web Refactor web route (#24080) 2023-04-20 14:49:06 -04:00
webhook