@@ -16,9 +16,9 @@ Namespace Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator.UnitTests
16
16
17
17
<Theory>
18
18
<InlineData( "" , "{""data"":[]}" )>
19
- <InlineData( "namespace Foo;" , "{""data"":[0,0,9,15,0,0,10,3,48 ,0,0,3,1,54 ,0]}" )>
20
- <InlineData( "namespace " & vbCrLf & " Foo {}" , "{""data"":[0,0,9,15,0,2,1,3,48 ,0,0,4,1,54 ,0,0,1,1,54 ,0]}" )>
21
- <InlineData( "public class Foo { System.Collections.IList FooList { get; set; } int FooMethod() { int x = 0; return x; } }" , "{""data"":[0,0,6,15,0,0,7,5,15,0,0,6,3,22 ,0,0,4,1,54 ,0,0,2,6,48 ,0,0,6,1,21,0,0,1,11,48 ,0,0,11,1,21,0,0,1,5,31 ,0,0,6,7,53 ,0,0,8,1,54 ,0,0,2,3,15,0,0,3,1,54 ,0,0,2,3,15,0,0,3,1,54 ,0,0,2,1,54 ,0,0,2,3,15,0,0,4,9,46 ,0,0,9,1,54 ,0,0,1,1,54 ,0,0,2,1,54,0,0,2,3,15,0,0,4,1,45 ,0,0,2,1,21,0,0,2,1,19,0,0,1,1,54 ,0,0,2,6,43 ,0,0,7,1,45 ,0,0,1,1,54 ,0,0,2,1,54 ,0,0,2,1,54 ,0]}" )>
19
+ <InlineData( "namespace Foo;" , "{""data"":[0,0,9,15,0,0,10,3,49 ,0,0,3,1,55 ,0]}" )>
20
+ <InlineData( "namespace " & vbCrLf & " Foo {}" , "{""data"":[0,0,9,15,0,2,1,3,49 ,0,0,4,1,55 ,0,0,1,1,55 ,0]}" )>
21
+ <InlineData( "public class Foo { System.Collections.IList FooList { get; set; } int FooMethod() { int x = 0; return x; } }" , "{""data"":[0,0,6,15,0,0,7,5,15,0,0,6,3,23 ,0,0,4,1,55 ,0,0,2,6,49 ,0,0,6,1,21,0,0,1,11,49 ,0,0,11,1,21,0,0,1,5,32 ,0,0,6,7,54 ,0,0,8,1,55 ,0,0,2,3,15,0,0,3,1,55 ,0,0,2,3,15,0,0,3,1,55 ,0,0,2,1,55 ,0,0,2,3,15,0,0,4,9,47 ,0,0,9,1,55 ,0,0,1,1,55 ,0,0,2,1,54,0,0,2,3,15,0,0,4,1,46 ,0,0,2,1,21,0,0,2,1,19,0,0,1,1,55 ,0,0,2,6,44 ,0,0,7,1,46 ,0,0,1,1,55 ,0,0,2,1,55 ,0,0,2,1,55 ,0]}" )>
22
22
Public Async Function TestSemanticTokensData(code As String , expectedTokens As String ) As Task
23
23
' This test performs LSIF specific validation of the semantic tokens output. As of this writing
24
24
' this feature is based on the same code path used to generate semantic tokens information in LSP
0 commit comments