rust/src/test/rustdoc-json/reexport
Matthias Krüger 0491fdad6f
Rollup merge of #99474 - aDotInTheVoid:rustdoc-json-noinline-test-cleanup, r=CraftSpider
Rustdoc json tests: New @hasexact test command

Alot of the time, we wanted to assert that a module had an exact set of items. Most of the time this was done by asserting that the ```@count``` of the module was `n`, and then doing `n` ```@has``` checks on the module.

This was tedious, so often shortcuts were done.

This PR adds a new command to jsondocck to allow consistently expressing this behavior, and then uses it to clean up the tests.

``@rustbot`` modify labels: +A-rustdoc-json +A-testsuite
2022-08-17 12:32:47 +02:00
..
auxiliary
export_extern_crate_as_self.rs rustdoc JSON: Fix ICE with pub extern crate self as <self_crate_name> 2022-08-16 15:54:50 +02:00
glob_extern.rs rustdoc-json: Use @ismany in tests 2022-08-12 23:56:28 +01:00
glob_private.rs rustdoc-json: Use @ismany in tests 2022-08-12 23:56:28 +01:00
in_root_and_mod_pub.rs rustdoc-json: Use @ismany in tests 2022-08-12 23:56:28 +01:00
in_root_and_mod.rs
macro.rs rustdoc-json: Use @ismany in tests 2022-08-12 23:56:28 +01:00
private_twice_one_inline.rs rustdoc-json: Use @ismany in tests 2022-08-12 23:56:28 +01:00
private_two_names.rs rustdoc-json: Use @ismany in tests 2022-08-12 23:56:28 +01:00
rename_private.rs
rename_public.rs rustdoc-json: Use @ismany in tests 2022-08-12 23:56:28 +01:00
same_type_reexported_more_than_once.rs rustdoc-json: Use @ismany in tests 2022-08-12 23:56:28 +01:00
simple_private.rs rustdoc-json: Use @ismany in tests 2022-08-12 23:56:28 +01:00
simple_public.rs rustdoc-json: Use @ismany in tests 2022-08-12 23:56:28 +01:00