Commit Graph

20 Commits

Author SHA1 Message Date
Adrien Marquès 0f599e58ce
test json invalid float primitives ; only valid when wrapped
continuous-integration/drone/push Build is passing Details
2020-03-02 22:01:16 +01:00
Adrien Marquès 09b9eb2ae5
fix formatting type 2020-03-02 22:00:39 +01:00
Adrien Marquès e2bda2b2dd
test json invalid boolean primitives ; only valid when wrapped 2020-03-02 21:56:05 +01:00
Adrien Marquès c2e8efc82b
test string slice as string ; invalid json but valid when wrapped 2020-03-02 21:51:06 +01:00
Adrien Marquès 77dbc5663b
test simple string parameter
continuous-integration/drone/push Build is passing Details
2020-03-01 21:34:14 +01:00
Adrien Marquès 22947db2b6
fix: mark parameter as parsed after successful parsing
- avoid parsing multiple times in a row ; it has no side-effect but is useless
 - actually does not cause any issue, but for consistency sake!
2020-02-28 18:41:05 +01:00
Adrien Marquès 3e718c96e8
return error when parsing parameters 2020-02-28 17:50:55 +01:00
Adrien Marquès e2e3799bc3 expand store.go coverage to 100% with a tricky test
continuous-integration/drone/push Build is passing Details
- force http.Request.ParseForm to fail
2019-11-21 23:23:40 +01:00
Adrien Marquès ee34abd424 replace bytes.NewBufferString() with strings.NewReader() 2019-11-21 23:23:14 +01:00
Adrien Marquès 017bfd45b4 test multipart body paramters 2019-11-21 23:23:04 +01:00
Adrien Marquès a54c428670 Test json: add a check with invalid json (no parameter is parsed)
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2019-11-19 17:00:11 +01:00
Adrien Marquès 0a470dbd40 Test json body parameters
continuous-integration/drone/push Build is passing Details
2019-11-19 16:57:23 +01:00
Adrien Marquès 24b0eaa68b Test with url encoded body parameters 2019-11-19 16:53:02 +01:00
Adrien Marquès da1ee37612 Test store agains Query parameters
continuous-integration/drone/push Build is passing Details
2019-11-19 16:18:56 +01:00
Adrien Marquès f272f880e8 Test store with uri arguments 2019-11-19 16:18:50 +01:00
Adrien Marquès 36008db9e5 Test empty store -> fix 2019-11-19 16:18:45 +01:00
Adrien Marquès 8a1144a187 merge parseParameter 2019-11-19 16:18:27 +01:00
Adrien Marquès 189d3b40a6 fix: semantic (comments) renaming : 'controller' to 'service', more explicit names 2019-05-05 19:01:54 +02:00
Adrien Marquès cd2bcdd8bc ref 0: first working version ; totest 2019-05-01 15:14:49 +02:00
Adrien Marquès 7e66b6ddd5 ref 0: big refactor of concerns between api request, server, etc 2019-05-01 13:44:45 +02:00