63 references to SingleClass
Microsoft.CodeAnalysis.Workspaces.UnitTests (63)
FindAllDeclarationsTests.cs (62)
29
InlineData("", true, SolutionKind.
SingleClass
, new string[0]),
30
InlineData(" ", true, SolutionKind.
SingleClass
, new string[0]),
31
InlineData("\u2619", true, SolutionKind.
SingleClass
, new string[0]),
33
InlineData("testcase", true, SolutionKind.
SingleClass
, new[] { "TestCases.TestCase" }),
34
InlineData("testcase", false, SolutionKind.
SingleClass
, new string[0]),
35
InlineData("testcases", true, SolutionKind.
SingleClass
, new[] { "TestCases" }),
36
InlineData("testcases", false, SolutionKind.
SingleClass
, new string[0]),
37
InlineData("TestCase", true, SolutionKind.
SingleClass
, new[] { "TestCases.TestCase" }),
38
InlineData("TestCase", false, SolutionKind.
SingleClass
, new[] { "TestCases.TestCase" }),
39
InlineData("TestCases", true, SolutionKind.
SingleClass
, new[] { "TestCases" }),
40
InlineData("TestCases", false, SolutionKind.
SingleClass
, new[] { "TestCases" }),
113
using var workspace = CreateWorkspaceWithProject(SolutionKind.
SingleClass
, out var project);
123
var workspace = CreateWorkspaceWithProject(SolutionKind.
SingleClass
, out var project, testHost);
195
InlineData("", true, SolutionKind.
SingleClass
, new string[0]),
196
InlineData(" ", true, SolutionKind.
SingleClass
, new string[0]),
197
InlineData("\u2619", true, SolutionKind.
SingleClass
, new string[0]),
199
InlineData("testcase", true, SolutionKind.
SingleClass
, new[] { "TestCases.TestCase" }),
200
InlineData("testcase", false, SolutionKind.
SingleClass
, new string[0]),
201
InlineData("testcases", true, SolutionKind.
SingleClass
, new[] { "TestCases" }),
202
InlineData("testcases", false, SolutionKind.
SingleClass
, new string[0]),
203
InlineData("TestCase", true, SolutionKind.
SingleClass
, new[] { "TestCases.TestCase" }),
204
InlineData("TestCase", false, SolutionKind.
SingleClass
, new[] { "TestCases.TestCase" }),
205
InlineData("TestCases", true, SolutionKind.
SingleClass
, new[] { "TestCases" }),
206
InlineData("TestCases", false, SolutionKind.
SingleClass
, new[] { "TestCases" }),
279
using var workspace = CreateWorkspaceWithProject(SolutionKind.
SingleClass
, out var project);
289
using var workspace = CreateWorkspaceWithProject(SolutionKind.
SingleClass
, out var project);
300
InlineData("", true, SolutionKind.
SingleClass
, new string[0]),
301
InlineData(" ", true, SolutionKind.
SingleClass
, new string[0]),
302
InlineData("\u2619", true, SolutionKind.
SingleClass
, new string[0]),
304
InlineData("testcase", true, SolutionKind.
SingleClass
, new[] { "TestCases.TestCase" }),
305
InlineData("testcase", false, SolutionKind.
SingleClass
, new string[0]),
306
InlineData("testcases", true, SolutionKind.
SingleClass
, new[] { "TestCases" }),
307
InlineData("testcases", false, SolutionKind.
SingleClass
, new string[0]),
308
InlineData("TestCase", true, SolutionKind.
SingleClass
, new[] { "TestCases.TestCase" }),
309
InlineData("TestCase", false, SolutionKind.
SingleClass
, new[] { "TestCases.TestCase" }),
310
InlineData("TestCases", true, SolutionKind.
SingleClass
, new[] { "TestCases" }),
311
InlineData("TestCases", false, SolutionKind.
SingleClass
, new[] { "TestCases" }),
384
using var workspace = CreateWorkspaceWithSolution(SolutionKind.
SingleClass
, out var solution);
394
using var workspace = CreateWorkspaceWithSolution(SolutionKind.
SingleClass
, out var solution);
404
InlineData(SolutionKind.
SingleClass
, new[] { "TestCases", "TestCases.TestCase" }),
424
using var workspace = CreateWorkspaceWithProject(SolutionKind.
SingleClass
, out var project);
426
Verify(SolutionKind.
SingleClass
, declarations, "TestCases", "TestCases.TestCase");
432
using var workspace = CreateWorkspaceWithProject(SolutionKind.
SingleClass
, out var project);
434
Verify(SolutionKind.
SingleClass
, declarations);
451
using var workspace = CreateWorkspaceWithProject(SolutionKind.
SingleClass
, out var project);
461
using var workspace = CreateWorkspaceWithProject(SolutionKind.
SingleClass
, out var project);
471
InlineData(SolutionKind.
SingleClass
, new[] { "TestCases", "TestCases.TestCase" }),
491
using var workspace = CreateWorkspaceWithSolution(SolutionKind.
SingleClass
, out var solution);
493
Verify(SolutionKind.
SingleClass
, declarations, "TestCases", "TestCases.TestCase");
499
using var workspace = CreateWorkspaceWithSolution(SolutionKind.
SingleClass
, out var solution);
501
Verify(SolutionKind.
SingleClass
, declarations);
518
using var workspace = CreateWorkspaceWithSolution(SolutionKind.
SingleClass
, out var solution);
528
using var workspace = CreateWorkspaceWithSolution(SolutionKind.
SingleClass
, out var solution);
538
InlineData(SolutionKind.
SingleClass
, new[] { "TestCases", "TestCases.TestCase" }),
556
InlineData(SolutionKind.
SingleClass
, "tc", new[] { "TestCases", "TestCases.TestCase" }),
582
using var workspace = CreateWorkspaceWithProject(SolutionKind.
SingleClass
, out var project);
592
using var workspace = CreateWorkspaceWithProject(SolutionKind.
SingleClass
, out var project);
602
InlineData(SolutionKind.
SingleClass
, new[] { "TestCases", "TestCases.TestCase" }),
620
InlineData(SolutionKind.
SingleClass
, "tc", new[] { "TestCases", "TestCases.TestCase" }),
646
using var workspace = CreateWorkspaceWithSolution(SolutionKind.
SingleClass
, out var solution);
656
using var workspace = CreateWorkspaceWithSolution(SolutionKind.
SingleClass
, out var solution);
666
using var workspace = CreateWorkspaceWithSolution(SolutionKind.
SingleClass
, out var solution);
FindAllDeclarationsTests.TestSolutionsAndProject.cs (1)
128
SolutionKind.
SingleClass
=> CreateWorkspaceWithSingleProjectSolution(testHost, [SingleClass], out solution),