66 references to GetTestAccessor
IdeCoreBenchmarks (6)
NavigateToFuzzyPreFilterBenchmarks.cs (6)
94
=> _sameLengthIndex.
GetTestAccessor
().LengthCheckPasses("XyzWvq");
102
=> _variedLengthIndex.
GetTestAccessor
().LengthCheckPasses("XyzWvq");
116
=> _sameLengthIndex.
GetTestAccessor
().BigramCountCheckPasses("XyzWvq");
124
=> _sameLengthIndex.
GetTestAccessor
().BigramCountCheckPasses("AabBcd");
156
=> _sameLengthIndex.
GetTestAccessor
().BigramCountCheckPasses("XyzWvqRs");
163
=> _variedLengthIndex.
GetTestAccessor
().BigramCountCheckPasses("XyzWvqRsTu");
Microsoft.CodeAnalysis.Workspaces.UnitTests (60)
FindSymbols\NavigateToSearchIndexTests.cs (60)
159
Assert.Equal(expected, index.
GetTestAccessor
().HumpCheckPasses(pattern));
180
Assert.True(index.
GetTestAccessor
().HumpCheckPasses("G"));
181
Assert.True(index.
GetTestAccessor
().HumpCheckPasses("X"));
184
Assert.False(index.
GetTestAccessor
().HumpCheckPasses("GX"));
187
Assert.False(index.
GetTestAccessor
().HumpCheckPasses("XG"));
291
Assert.Equal(expected, index.
GetTestAccessor
().HumpCheckPasses(pattern));
305
Assert.True(index.
GetTestAccessor
().HumpCheckPasses("goo"));
306
Assert.True(index.
GetTestAccessor
().HumpCheckPasses("xab"));
312
Assert.True(index.
GetTestAccessor
().HumpCheckPasses("gx"));
315
Assert.True(index.
GetTestAccessor
().HumpCheckPasses("gooxab"));
328
Assert.True(index.
GetTestAccessor
().HumpCheckPasses("bar"));
331
Assert.True(index.
GetTestAccessor
().HumpCheckPasses("ba"));
334
Assert.False(index.
GetTestAccessor
().HumpCheckPasses("bax"));
354
Assert.True(index.
GetTestAccessor
().HumpCheckPasses("gobar"));
359
Assert.True(index.
GetTestAccessor
().HumpCheckPasses("gooba"));
363
Assert.True(index.
GetTestAccessor
().HumpCheckPasses("goobarg"));
369
Assert.True(index.
GetTestAccessor
().HumpCheckPasses("gobarg"));
383
Assert.False(index.
GetTestAccessor
().HumpCheckPasses("gxbar"));
388
Assert.False(index.
GetTestAccessor
().HumpCheckPasses("gooxbar"));
392
Assert.False(index.
GetTestAccessor
().HumpCheckPasses("gxb"));
405
Assert.True(index.
GetTestAccessor
().HumpCheckPasses("gbba"));
409
Assert.True(index.
GetTestAccessor
().HumpCheckPasses("gbbar"));
412
Assert.True(index.
GetTestAccessor
().HumpCheckPasses("goobarbaz"));
416
Assert.True(index.
GetTestAccessor
().HumpCheckPasses("goobazbaz"));
421
Assert.False(index.
GetTestAccessor
().HumpCheckPasses("goobxbaz"));
502
Assert.Equal(expected, index.
GetTestAccessor
().TrigramCheckPasses(pattern));
565
Assert.Equal(expected, index.
GetTestAccessor
().LengthCheckPasses(pattern));
634
Assert.Equal(expected, index.
GetTestAccessor
().BigramCountCheckPasses(pattern));
647
Assert.True(index.
GetTestAccessor
().BigramCountCheckPasses("alph"));
650
Assert.True(index.
GetTestAccessor
().BigramCountCheckPasses("beta"));
653
Assert.True(index.
GetTestAccessor
().BigramCountCheckPasses("albe"));
667
Assert.True(index.
GetTestAccessor
().LengthCheckPasses("Xyzwvq"));
669
Assert.False(index.
GetTestAccessor
().BigramCountCheckPasses("Xyzwvq"));
690
Assert.True(index.
GetTestAccessor
().BigramCountCheckPasses("gooαβ"));
695
Assert.True(index.
GetTestAccessor
().BigramCountCheckPasses("gooγδ"));
710
Assert.True(index.
GetTestAccessor
().BigramCountCheckPasses("a_b_"));
714
Assert.False(index.
GetTestAccessor
().BigramCountCheckPasses("aαbα"));
817
Assert.Equal(expected, index.
GetTestAccessor
().ContainerCheckPasses(containerPattern));
909
var expectedFuzzy = index.
GetTestAccessor
().LengthCheckPasses(patternName)
910
&& index.
GetTestAccessor
().BigramCountCheckPasses(patternName);
1024
Assert.True(index.
GetTestAccessor
().HumpCheckPasses("G"));
1025
Assert.True(index.
GetTestAccessor
().HumpCheckPasses("B"));
1028
Assert.False(index.
GetTestAccessor
().HumpCheckPasses("GB"));
1031
Assert.False(index.
GetTestAccessor
().HumpCheckPasses("A"));
1032
Assert.False(index.
GetTestAccessor
().HumpCheckPasses("C"));
1033
Assert.False(index.
GetTestAccessor
().HumpCheckPasses("X"));
1034
Assert.False(index.
GetTestAccessor
().HumpCheckPasses("Z"));
1046
Assert.True(index.
GetTestAccessor
().HumpCheckPasses("GB"));
1049
Assert.False(index.
GetTestAccessor
().HumpCheckPasses("BG"));
1071
Assert.False(index.
GetTestAccessor
().HumpCheckPasses("line"));
1074
Assert.True(index.
GetTestAccessor
().TrigramCheckPasses("line"));
1078
Assert.False(index.
GetTestAccessor
().LengthCheckPasses("line"));
1104
Assert.False(index.
GetTestAccessor
().HumpCheckPasses("Xoobar"));
1106
Assert.False(index.
GetTestAccessor
().TrigramCheckPasses("Xoobar"));
1108
Assert.True(index.
GetTestAccessor
().LengthCheckPasses("Xoobar"));
1111
Assert.True(index.
GetTestAccessor
().BigramCountCheckPasses("Xoobar"));
1200
Assert.False(index.
GetTestAccessor
().HumpCheckPasses("Xoobar"));
1201
Assert.False(index.
GetTestAccessor
().TrigramCheckPasses("Xoobar"));
1202
Assert.True(index.
GetTestAccessor
().LengthCheckPasses("Xoobar"));
1205
Assert.True(index.
GetTestAccessor
().BigramCountCheckPasses("Xoobar"));