gecko-dev/third_party/rust/pin-project/tests
Mike Hommey 46156fb100 Bug 1710421 - [webdriver] Update warp and hyper dependencies. r=mjf,webdriver-reviewers
At the same time, update mdns_service to socket2 0.4 to avoid a duplicate.

Differential Revision: https://phabricator.services.mozilla.com/D147479
2022-06-01 22:05:53 +00:00
..
auxiliary Bug 1710421 - [webdriver] Update warp and hyper dependencies. r=mjf,webdriver-reviewers 2022-06-01 22:05:53 +00:00
expand Bug 1710421 - [webdriver] Update warp and hyper dependencies. r=mjf,webdriver-reviewers 2022-06-01 22:05:53 +00:00
include Bug 1710421 - [webdriver] Update warp and hyper dependencies. r=mjf,webdriver-reviewers 2022-06-01 22:05:53 +00:00
ui Bug 1710421 - [webdriver] Update warp and hyper dependencies. r=mjf,webdriver-reviewers 2022-06-01 22:05:53 +00:00
README.md Bug 1710421 - [webdriver] Update warp and hyper dependencies. r=mjf,webdriver-reviewers 2022-06-01 22:05:53 +00:00
cfg.rs Bug 1710421 - [webdriver] Update warp and hyper dependencies. r=mjf,webdriver-reviewers 2022-06-01 22:05:53 +00:00
compiletest.rs Bug 1710421 - [webdriver] Update warp and hyper dependencies. r=mjf,webdriver-reviewers 2022-06-01 22:05:53 +00:00
drop_order.rs Bug 1710421 - [webdriver] Update warp and hyper dependencies. r=mjf,webdriver-reviewers 2022-06-01 22:05:53 +00:00
expandtest.rs Bug 1710421 - [webdriver] Update warp and hyper dependencies. r=mjf,webdriver-reviewers 2022-06-01 22:05:53 +00:00
lint.rs Bug 1710421 - [webdriver] Update warp and hyper dependencies. r=mjf,webdriver-reviewers 2022-06-01 22:05:53 +00:00
pin_project.rs Bug 1710421 - [webdriver] Update warp and hyper dependencies. r=mjf,webdriver-reviewers 2022-06-01 22:05:53 +00:00
pinned_drop.rs Bug 1710421 - [webdriver] Update warp and hyper dependencies. r=mjf,webdriver-reviewers 2022-06-01 22:05:53 +00:00
proper_unpin.rs Bug 1710421 - [webdriver] Update warp and hyper dependencies. r=mjf,webdriver-reviewers 2022-06-01 22:05:53 +00:00
repr_packed.rs Bug 1710421 - [webdriver] Update warp and hyper dependencies. r=mjf,webdriver-reviewers 2022-06-01 22:05:53 +00:00
unsafe_unpin.rs Bug 1710421 - [webdriver] Update warp and hyper dependencies. r=mjf,webdriver-reviewers 2022-06-01 22:05:53 +00:00

README.md

Tests

To run all tests, run the following command:

cargo +nightly test --all

UI tests (ui, compiletest.rs)

This checks errors detected by the macro or the Rust compiler in the resulting expanded code.

To run this test, run the following command:

cargo +nightly test --test compiletest

Locally, this test updates the files in the ui directory if there are changes to the generated code. If there are any changes to the files in the ui directory after running the test, please commit them.

See also trybuild documentation.

Expansion tests (expand, expandtest.rs)

Similar to ui tests, but instead of checking the compiler output, this checks the code generated by macros.

See examples for descriptions of what the generated code does, and why it needs to be generated.

To run this test, run the following command:

cargo +nightly test --test expandtest

Locally, this test updates the files in the expand directory if there are changes to the generated code. If there are any changes to the files in the expand directory after running the test, please commit them.

See also macrotest documentation.