aboutsummaryrefslogtreecommitdiff
path: root/crates/test_utils
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Allow fixture strings with unindented first lineTimo Freiberg2020-05-061-9/+95
| | | | | | | | | This allows fixtures like "//- /lib.rs ... //- /foo.rs ... "
* text-size 1.0.0Aleksey Kladov2020-04-251-1/+1
|
* Convert code to text-sizeAleksey Kladov2020-04-252-14/+14
|
* Make records grammar more orthogonalAleksey Kladov2020-04-111-1/+1
| | | | | | | | | | | | We used name [: expr] grammar before, now it is [name :] expr which makes things simpler
* Rename some tokensAleksey Kladov2020-04-101-1/+1
|
* Migrate tests .txt -> .rastveetaha2020-04-061-18/+16
| | | | | | | | The sytax tree output files now use .rast extension (rust-analyzer syntax tree or rust abstract syntax tree (whatever)). This format has a editors/code/ra_syntax_tree.tmGrammar.json declaration that supplies nice syntax highlighting for .rast files.
* Move verbose tests out of lineAleksey Kladov2020-03-131-1/+2
|
* Check only one fixtureEdwin Cheng2020-03-101-1/+6
|
* Add fixture meta for single file fixtureEdwin Cheng2020-03-101-0/+8
|
* Support cross-crate marksAleksey Kladov2020-03-041-3/+12
|
* Use text_range::extend_toEdwin Cheng2020-02-271-1/+1
|
* Remove code duplication in testsAleksey Kladov2020-02-261-0/+1
|
* Update versionsKirill Bulatov2020-02-181-2/+2
|
* Run cargo +nightly fix --clippy -Z unstable-optionsKirill Bulatov2020-02-181-1/+1
|
* Simplify fixture parsingAleksey Kladov2020-01-301-21/+8
|
* Simplify fixture parsingAleksey Kladov2020-01-291-20/+19
|
* test_utils: move flush!() to its usage as per conversation with @matkladVeetaha2020-01-291-13/+13
|
* test_utils: updated documentation and some typosVeetaha2020-01-292-11/+43
|
* Refactor goto tests to always specify textsAleksey Kladov2019-12-181-2/+2
|
* Skip slow tests by defaultAleksey Kladov2019-12-071-0/+11
|
* Disable doctestsAleksey Kladov2019-11-172-2/+5
|
* support range selection in assist docsAleksey Kladov2019-10-261-3/+31
|