aboutsummaryrefslogtreecommitdiff
path: root/crates/test_utils/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* internal: check diagnostics in all files and not just the first oneAleksey Kladov2021-06-131-9/+38
|
* Apply a few clippy suggestionsClemens Wasser2021-06-031-8/+3
|
* simplifyLukas Wirth2021-05-281-0/+15
|
* internal: use API stabilized in 1.52Aleksey Kladov2021-05-061-2/+2
|
* internal: fix flakiness of accidentally quadratic testAleksey Kladov2021-04-131-1/+2
|
* Use upstream cov-markLaurențiu Nicola2021-03-081-2/+0
|
* Cleanup the error messageAleksey Kladov2021-03-081-1/+1
|
* Make `code generation` just workAleksey Kladov2021-03-081-1/+4
| | | | | Contributors don't need to learn about `cargo xtask codegen` if `cargo test` just does the right thing.
* Use the same name in xtask and test utilsAleksey Kladov2021-03-081-3/+3
|
* Generalize file ensuring infrastructureAleksey Kladov2021-03-081-1/+34
|
* Don't punish every crate with serde-jsonAleksey Kladov2021-03-081-96/+0
|
* Infra for "unit" benchmarkingAleksey Kladov2021-02-091-0/+43
|
* Fixed typos in code commentsVincent Esche2021-01-091-1/+1
|
* Better fixture highlightAleksey Kladov2021-01-071-0/+1
|
* Change <|> to $0 - RebaseKevaundray Wedderburn2021-01-071-8/+8
|
* Replace last usages of difference with dissimilarJesse Bakker2021-01-061-3/+16
|
* Make config.rs a single source of truth for configuration.Aleksey Kladov2020-12-081-9/+17
| | | | | | | | | | | | | | | | | Configuration is editor-independent. For this reason, we pick JSON-schema as the repr of the source of truth. We do specify it using rust-macros and some quick&dirty hackery though. The idea for syncing truth with package.json is to just do that manually, but there's a test to check that they are actually synced. There's CLI to print config's json schema: $ rust-analyzer --print-config-schema We go with a CLI rather than LSP request/response to make it easier to incorporate the thing into extension's static config. This is roughtly how we put the thing in package.json.
* Fix indentation of inserted use statementsFlorian Diebold2020-10-241-3/+3
|
* Allow multiline annotationsAleksey Kladov2020-07-141-11/+56
|
* Generaize annotation extractionAleksey Kladov2020-07-141-2/+10
|
* Fold multiline callsAleksey Kladov2020-07-011-7/+20
|
* Move parser specific tests utils to parser testsAleksey Kladov2020-07-011-101/+5
|
* Simplify most of the inlay hints testsAleksey Kladov2020-06-301-8/+22
|
* Generalize annotationsAleksey Kladov2020-06-301-5/+8
|
* Update the rest of the testsAleksey Kladov2020-06-291-8/+10
|
* (T): make typification tests more data drivenAleksey Kladov2020-06-291-0/+34
|
* More principled indentation trimming in fixturesAleksey Kladov2020-06-231-1/+1
|
* Cut problematic dependencyAleksey Kladov2020-06-231-1/+0
|
* Nicer APIAleksey Kladov2020-06-231-1/+1
|
* SimplifyAleksey Kladov2020-06-231-1/+1
|
* SimplifyAleksey Kladov2020-06-231-1/+1
|
* SimplifyAleksey Kladov2020-06-231-1/+1
|
* Move fixtures to a separate fileAleksey Kladov2020-06-231-288/+4
|
* Remove relative-path dependencyAleksey Kladov2020-06-231-1/+0
|
* Remove RelativePathBuf from fixtureAleksey Kladov2020-06-221-5/+5
| | | | | The paths in fixture are not really relative (the default one is `/main.rs`), so it doesn't make sense to use `RelativePathBuf` here.
* Update parser tests with env varAleksey Kladov2020-06-151-7/+5
|
* Use split1 when formatting function signature paramsAaron Loucks2020-06-031-5/+1
|
* Merge pull request #4495 from vsrs/fixture_metaAleksey Kladov2020-05-241-6/+154
|\ | | | | Test fixtures parsing improvements
| * JFF, ra_fixture arg name for a code highlightingvsrs2020-05-161-9/+11
| |
| * smoke testvsrs2020-05-161-0/+6
| |
| * Propogate fixture meta to AnalysisHostvsrs2020-05-161-2/+42
| | | | | | | | Except crate name.
| * Use FixtureMeta in MockAnalysisvsrs2020-05-161-1/+8
| |
| * Remove temporary FixtureEntry parsed_meta field.vsrs2020-05-161-5/+3
| |
| * Reimplement ra_db::fixture::ParsedMetavsrs2020-05-161-3/+2
| | | | | | | | in terms of test_utils::FixtureMeta
| * parse fixture meta in test_utils cratevsrs2020-05-161-1/+97
| |
* | Switch to new magic marksAleksey Kladov2020-05-201-2/+0
| |
* | Significantly more glorious marksAleksey Kladov2020-05-201-0/+2
|/
* unindent -> dedentAleksey Kladov2020-05-091-1/+1
|
* Allow fixture strings with unindented first lineTimo Freiberg2020-05-061-9/+95
| | | | | | | | | This allows fixtures like "//- /lib.rs ... //- /foo.rs ... "
* Convert code to text-sizeAleksey Kladov2020-04-251-13/+13
|