about summary refs log tree commit diff
path: root/tests/rustdoc-json/reexport
AgeCommit message (Collapse)AuthorLines
2025-03-21tests/rustdoc-json: change assertions to use RFC 9535 jsonpathAlona Enraght-Moony-22/+22
2025-03-21tests/rustdoc-json: replace `$.paths[*][?` with `$.paths[?`Alona Enraght-Moony-5/+5
This fixes all 3 of these tests. Done automatically in VSCode.
2025-03-21tests/rustdoc-json: replace `$.index[*][?` with `$.index[?`Alona Enraght-Moony-108/+108
Done automatically with VSCode.
2025-03-03Always allow rustdoc-json tests to contain long linesNoratrieb-8/+0
The rustdoc-json test syntax often requires very long lines, so the checks for long lines aren't really useful.
2025-01-10rustdoc-json: Include items in stripped modules in `Crate::paths`.Alona Enraght-Moony-0/+11
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-09-01rustdoc: normalise type/field names in rustdoc-json-types/jsondoclintschvv31n-38/+38
2024-07-19Update all rustdoc-json/ tests to use the new styleLeón Orell Valerian Liehr-127/+127
2024-02-22[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives许杰友 Jieyou Xu (Joe)-12/+12
2023-11-09rustdoc-json: Fix test so it actuall checks thingsAlona Enraght-Moony-2/+3
After #111427, no item has a `kind` field, so these assertions could never fail. Instead, assert that those two items arn't present.
2023-11-08Rollup merge of #117713 - GuillaumeGomez:document-hidden-json, r=notriddleGuillaume Gomez-0/+10
Add test for reexported hidden item with `--document-hidden-items` Coming from [this discussion on zulip](https://rust-lang.zulipchat.com/#narrow/stream/266220-t-rustdoc/topic/Using.20cargo-semver-checks.20in.20rustdoc.20JSON.20tests.3A.20revisited). cc ``@aDotInTheVoid`` r? ``@notriddle``
2023-11-08Add test for reexported hidden item with `--document-hidden-items`Guillaume Gomez-0/+10
2023-11-07tests/rustdoc-json: Remove some needless uses of `#![no_core]`.Alona Enraght-Moony-50/+0
Done by removing all uses of `#![no_core]`, and the reverting the ones that failed. More involved ones are in a later commit.
2023-05-22Serialize all enums as externally tagged to guarantee compatibility with ↵Luca Palmieri-86/+102
binary formats such as bincode or postcard
2023-04-14Move test from rustdoc-ui to rustdoc-jsonAlona Enraght-Moony-0/+26
2023-02-18Add regression test for #107677Guillaume Gomez-0/+25
2023-01-11Move /src/test to /testsAlbert Larsan-0/+359