aboutsummaryrefslogtreecommitdiff
path: root/crates/test_utils
Commit message (Collapse)AuthorAgeFilesLines
* Change <|> to $0 - RebaseKevaundray Wedderburn2021-01-071-8/+8
|
* Replace last usages of difference with dissimilarJesse Bakker2021-01-062-4/+17
|
* 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
|
* Add description for crates that will be publishedPavan Kumar Sunkara2020-08-241-0/+1
|
* Add version to deps in cargo.tomlPavan Kumar Sunkara2020-08-241-1/+1
|
* Rename ra_ide -> ideAleksey Kladov2020-08-131-3/+4
|
* Use split_once polyfillAleksey Kladov2020-07-301-4/+4
|
* Allow multiline annotationsAleksey Kladov2020-07-141-11/+56
|
* Generaize annotation extractionAleksey Kladov2020-07-141-2/+10
|
* Merge #5355bors[bot]2020-07-141-0/+1
|\ | | | | | | | | | | | | | | | | 5355: Add a license field to all the crates r=matklad a=JohnTitor Some are unnecessary but it's okay to have it, I think. cc https://github.com/rust-lang/rust/issues/74269 Co-authored-by: Yuki Okushi <[email protected]>
| * Add a license field to all the cratesYuki Okushi2020-07-141-0/+1
| |
* | Use relaxed ordering for marksAleksey Kladov2020-07-141-2/+2
|/ | | | | | We dont' need this for perf. `Relaxed` ordering is enough here, as we only have one location. I prefer to use minimal ordering, because that makes it easier to reason about the code.
* Clippy perf warningskjeremy2020-07-061-1/+1
| | | | Removes redundant clones
* 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
|
* SimplifyAleksey Kladov2020-06-241-4/+4
|
* Centralize fixture parsing for assistsAleksey Kladov2020-06-231-1/+3
|
* More principled indentation trimming in fixturesAleksey Kladov2020-06-232-94/+18
|
* Minor, renameAleksey Kladov2020-06-231-2/+2
|
* Slightly better nameAleksey Kladov2020-06-231-4/+4
|
* ComplicateAleksey Kladov2020-06-231-3/+4
| | | | | Fixing test fallout unfortunately requires more work, we need to do it, but let's merge something at least!
* Docs for FixtureAleksey Kladov2020-06-231-0/+3
|
* Cut problematic dependencyAleksey Kladov2020-06-233-12/+20
|
* Nicer APIAleksey Kladov2020-06-232-60/+62
|
* SimplifyAleksey Kladov2020-06-232-14/+1
|
* SimplifyAleksey Kladov2020-06-232-17/+10
|
* SimplifyAleksey Kladov2020-06-232-60/+4
|
* Drop rarely used fixture functionalityAleksey Kladov2020-06-231-12/+0
|
* Move fixtures to a separate fileAleksey Kladov2020-06-232-288/+292
|
* Remove relative-path dependencyAleksey Kladov2020-06-232-3/+1
|
* 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-032-6/+3
|
* Merge pull request #4495 from vsrs/fixture_metaAleksey Kladov2020-05-242-6/+158
|\ | | | | 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-162-1/+101
| |
* | Switch to new magic marksAleksey Kladov2020-05-202-83/+0
| |
* | Remove cross-crate marksAleksey Kladov2020-05-201-10/+1
| | | | | | | | | | They create quite a bit of friction. Really, we should just move the tests to the same crate, rather than paper over existing split.
* | Significantly more glorious marksAleksey Kladov2020-05-202-0/+80
|/
* unindent -> dedentAleksey Kladov2020-05-091-1/+1
|