dotnet / roslyn

The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
https://docs.microsoft.com/dotnet/csharp/roslyn-sdk/
MIT License
19.04k stars 4.03k forks source link

Add more Solution API tests #42450

Open tmat opened 4 years ago

tmat commented 4 years ago

APIs not tested properly:

In addition, some APIs need deeper testing as they update internal state (e.g. dependency graph, document state map, etc).

jasonmalinowski commented 4 years ago

GetDocument

I'd hope that if we broke that we'd notice... :-)

GetProjectDependencyGraph

That's all tested through https://github.com/dotnet/roslyn/blob/master/src/Workspaces/CoreTest/SolutionTests/ProjectDependencyGraphTests.cs