aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_db/src/fixture.rs
Commit message (Collapse)AuthorAgeFilesLines
* SimplifyAleksey Kladov2020-06-241-23/+17
|
* Use only one code-path for parsing fixturesAleksey Kladov2020-06-231-48/+3
| | | | | This removes leading newlines everywhere, shifting all ranges in tests by one
* Centralize fixture parsing for assistsAleksey Kladov2020-06-231-5/+15
|
* Minor, renameAleksey Kladov2020-06-231-1/+1
|
* ComplicateAleksey Kladov2020-06-231-3/+48
| | | | | Fixing test fallout unfortunately requires more work, we need to do it, but let's merge something at least!
* Cut problematic dependencyAleksey Kladov2020-06-231-1/+5
|
* Nicer APIAleksey Kladov2020-06-231-5/+5
|
* SimplifyAleksey Kladov2020-06-231-57/+13
|
* SimplifyAleksey Kladov2020-06-231-5/+7
|
* SimplifyAleksey Kladov2020-06-231-16/+14
|
* Drop rarely used fixture functionalityAleksey Kladov2020-06-231-16/+2
|
* New VFSAleksey Kladov2020-06-231-19/+13
|
* 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.
* Fix some clippy perf warningsJeremy Kolb2020-05-251-2/+2
|
* Merge pull request #4495 from vsrs/fixture_metaAleksey Kladov2020-05-241-49/+21
|\ | | | | Test fixtures parsing improvements
| * Propogate fixture meta to AnalysisHostvsrs2020-05-161-8/+2
| | | | | | | | Except crate name.
| * Remove temporary FixtureEntry parsed_meta field.vsrs2020-05-161-2/+2
| |
| * Reimplement ra_db::fixture::ParsedMetavsrs2020-05-161-48/+26
| | | | | | | | in terms of test_utils::FixtureMeta
* | Expand fixture documentation a littleTimo Freiberg2020-05-101-3/+17
|/
* Add fixture doc commentTimo Freiberg2020-05-061-1/+45
|
* Some clippy fixesJeremy Kolb2020-04-191-1/+1
|
* Merge #3727bors[bot]2020-03-261-0/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 3727: Introduce ra_proc_macro r=matklad a=edwin0cheng This PR implemented: 1. Reading dylib path of proc-macro crate from cargo check , similar to how `OUTDIR` is obtained. 2. Added a new crate `ra_proc_macro` and implement the foot-work for reading result from external proc-macro expander. 3. Added a struct `ProcMacroClient` , which will be responsible to the client side communication to the External process. Co-authored-by: Edwin Cheng <[email protected]>
| * Add ProcMacroClientEdwin Cheng2020-03-251-0/+4
| |
* | Minor incremental tests cleanupAleksey Kladov2020-03-261-2/+2
|/
* Fix crate display name dashesKirill Bulatov2020-03-161-2/+4
|
* Add extern sourceEdwin Cheng2020-03-111-1/+11
|
* Add fixture meta for single file fixtureEdwin Cheng2020-03-101-15/+38
|
* Consider crate declaration namesKirill Bulatov2020-03-081-2/+9
|
* Source map returns a resultAleksey Kladov2020-03-061-2/+2
| | | | cc #2236
* Apply the reviews suggestionsKirill Bulatov2020-02-051-3/+3
|
* Remove the Default impl for SourceRootMichal Terepeta2020-01-081-3/+3
| | | | | | | | | Let's be always explicit whether we create a library (i.e., an immutable dependency) or a local `SourceRoot`, since it can have a large impact on the validation performance in salsa. (we found it the hard way recently, where the `Default` instance made it quite tricky to spot a bug) Signed-off-by: Michal Terepeta <[email protected]>
* Add support for environment to CrateGraphAleksey Kladov2019-11-221-4/+15
|
* Add convenience method for testingAleksey Kladov2019-11-151-2/+10
|
* Implement FromStr for enum EditionMetabaron2019-11-121-1/+2
|
* move crate_def_map tests to hir_defAleksey Kladov2019-11-031-1/+147
|
* Introduce ra_db::fixture fixture moduleAleksey Kladov2019-11-031-0/+40
The goal here is to share more testing infrastructure between crates.