1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 16:44:26 +00:00
gitea/models/unittest
wxiaoguang 633785a5f3
Refactor markup render system (#32612)
This PR removes (almost) all path tricks, and introduces "renderhelper"
package.

Now we can clearly see the rendering behaviors for comment/file/wiki,
more details are in "renderhelper" tests.

Fix #31411 , fix #18592, fix #25632 and maybe more problems. (ps: fix
#32608 by the way)
2024-11-24 16:18:57 +08:00
..
consistency.go Replace assert.Fail with assert.FailNow (#27578) 2023-10-11 11:02:24 +00:00
fixtures.go Fix db engine (#32351) 2024-10-27 18:48:07 -04:00
fscopy.go Reduce integration test overhead (#32475) 2024-11-14 19:28:46 +00:00
reflection.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
testdb.go Reduce integration test overhead (#32475) 2024-11-14 19:28:46 +00:00
unit_tests.go Refactor markup render system (#32612) 2024-11-24 16:18:57 +08:00