Commit Graph

17 Commits

Author SHA1 Message Date
田欧 6159213462 unify test data (#1417)
mkdir a test data dir.
2018-08-12 23:38:31 +08:00
田欧 c00f21ff23 add go version prerequisite and debug warning (#1394)
* add go version prerequisite and debug warning

* merge duplicate content

* remove duplicate content
2018-06-26 18:56:43 +08:00
田欧 0cb7c44abc Print warning log when user create one engine using gin.Default in debug mode (#1121)
* empty string check

* add log when use Default

* fix unit test error

* fix unit test error
2017-09-29 11:58:57 +08:00
Eason Lin 81007d2ce0 refactor(test): unify assert.Equal usage (#1054) 2017-08-04 13:45:59 +08:00
Eason Lin 735748b359 fix(tests): TestDebugPrintLoadTemplate use assert.Regep instead of assert.Equal (#973) 2017-07-04 03:36:12 -05:00
Javier Provecho Fernandez a8ea89ea38 fix(test): remove wildcard loadtemplate 2017-07-02 11:17:42 +02:00
Eason Lin 76a63b257d Improve debug code coverage (#963)
* Improve debug.go code coverage

* lint code
2017-07-02 02:29:29 -05:00
Manu Mtz.-Almeida 8949247b92 Merge branch 'master' into develop
# Conflicts:
#	debug_test.go
2016-01-27 03:40:52 +01:00
Olivier Mengué 90911f53f2 debug: fix indent of routes dump for DELETE method
'DELETE' is 6 chars and breaks indent of the routes dump (only 5 chars
were reserved for the HTTP method).
2015-12-10 15:15:17 +01:00
Philipp Meinen 9fd8aff56e tests: make path assertions aware of vendoring
The path of a package can change in a situation where
dependency vendoring is in use.
This change modifies gin's unit tests to allow such paths.
2015-08-23 00:13:41 +02:00
Manu Mtz-Almeida fd5d4294a5 debugPrintRoutes() unit test 2015-07-12 16:35:15 +02:00
Manu Mtz-Almeida e2adae9003 Solution for Google App Engine?
https://cloud.google.com/appengine/docs/go/logs/
2015-05-24 01:00:17 +02:00
Manu Mtz-Almeida b690611c38 Better debug logging + unit tests 2015-05-09 03:34:43 +02:00
Manu Mtz-Almeida eb3e9293ed Renames []HandleFunc to HandlersChain 2015-05-07 11:30:01 +02:00
Manu Mtz-Almeida 0a192fb0fa Tons of unit tests 2015-04-09 12:15:02 +02:00
Manu Mtz-Almeida 54b3decc21 More unit tests 2015-04-08 13:30:17 +02:00
Manu Mtz-Almeida ac0ad2fed8 Improves unit tests 2015-04-08 02:58:35 +02:00