1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-11-22 09:31:10 +00:00
actix-web/actix-web-codegen/tests/trybuild
Roland Fredenhagen 8759d79b03
routes macro allowing multiple paths per handler (#2718)
* WIP: basic implementation for `routes` macro

* chore: changelog, docs, tests

* error on missing methods

* Apply suggestions from code review

Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>

* update test stderr expectation

* add additional tests

* fix stderr output

* remove useless ResourceType

this is dead code from back when .to and .to_async were different ways to add a service

Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-07-04 04:31:49 +00:00
..
docstring-ok.rs migrate integration testing to new crate (#2112) 2021-04-02 08:26:59 +01:00
route-duplicate-method-fail.rs migrate integration testing to new crate (#2112) 2021-04-02 08:26:59 +01:00
route-duplicate-method-fail.stderr Bump up MSRV to 1.57 (#2789) 2022-06-22 12:08:06 +01:00
route-malformed-path-fail.rs compile time validation of path (#2350) 2021-08-30 21:50:40 +01:00
route-malformed-path-fail.stderr compile time validation of path (#2350) 2021-08-30 21:50:40 +01:00
route-missing-method-fail.rs migrate integration testing to new crate (#2112) 2021-04-02 08:26:59 +01:00
route-missing-method-fail.stderr Bump up MSRV to 1.57 (#2789) 2022-06-22 12:08:06 +01:00
route-ok.rs migrate integration testing to new crate (#2112) 2021-04-02 08:26:59 +01:00
route-unexpected-method-fail.rs migrate integration testing to new crate (#2112) 2021-04-02 08:26:59 +01:00
route-unexpected-method-fail.stderr Bump up MSRV to 1.57 (#2789) 2022-06-22 12:08:06 +01:00
routes-missing-args-fail.rs routes macro allowing multiple paths per handler (#2718) 2022-07-04 04:31:49 +00:00
routes-missing-args-fail.stderr routes macro allowing multiple paths per handler (#2718) 2022-07-04 04:31:49 +00:00
routes-missing-method-fail.rs routes macro allowing multiple paths per handler (#2718) 2022-07-04 04:31:49 +00:00
routes-missing-method-fail.stderr routes macro allowing multiple paths per handler (#2718) 2022-07-04 04:31:49 +00:00
routes-ok.rs routes macro allowing multiple paths per handler (#2718) 2022-07-04 04:31:49 +00:00
simple-fail.rs prepare codegen 0.4.0 release (#1702) 2020-09-24 23:54:01 +01:00
simple-fail.stderr Unify route macros (#1705) 2020-09-22 22:42:51 +01:00
simple.rs migrate integration testing to new crate (#2112) 2021-04-02 08:26:59 +01:00
test-runtime.rs add test runtime macro (#2409) 2021-10-19 17:30:32 +01:00