|
| 1 | +// SPDX-FileCopyrightText: Copyright 2021 The Go Language Server Authors |
| 2 | +// SPDX-License-Identifier: BSD-3-Clause |
| 3 | + |
| 4 | +//go:build gojay |
| 5 | +// +build gojay |
| 6 | + |
| 7 | +package protocol |
| 8 | + |
| 9 | +import ( |
| 10 | + "testing" |
| 11 | + |
| 12 | + "github.com/francoispqt/gojay" |
| 13 | +) |
| 14 | + |
| 15 | +func TestWorkspaceClientCapabilities(t *testing.T) { |
| 16 | + testWorkspaceClientCapabilities(t, gojay.Marshal, gojay.Unsafe.Unmarshal) |
| 17 | +} |
| 18 | + |
| 19 | +func TestTextDocumentClientCapabilitiesSynchronization(t *testing.T) { |
| 20 | + testTextDocumentClientCapabilitiesSynchronization(t, gojay.Marshal, gojay.Unsafe.Unmarshal) |
| 21 | +} |
| 22 | + |
| 23 | +func TestTextDocumentClientCapabilitiesCompletion(t *testing.T) { |
| 24 | + testTextDocumentClientCapabilitiesCompletion(t, gojay.Marshal, gojay.Unsafe.Unmarshal) |
| 25 | +} |
| 26 | + |
| 27 | +func TestTextDocumentClientCapabilitiesHover(t *testing.T) { |
| 28 | + testTextDocumentClientCapabilitiesHover(t, gojay.Marshal, gojay.Unsafe.Unmarshal) |
| 29 | +} |
| 30 | + |
| 31 | +func TestTextDocumentClientCapabilitiesSignatureHelp(t *testing.T) { |
| 32 | + testTextDocumentClientCapabilitiesSignatureHelp(t, gojay.Marshal, gojay.Unsafe.Unmarshal) |
| 33 | +} |
| 34 | + |
| 35 | +func TestTextDocumentClientCapabilitiesReferences(t *testing.T) { |
| 36 | + testTextDocumentClientCapabilitiesReferences(t, gojay.Marshal, gojay.Unsafe.Unmarshal) |
| 37 | +} |
| 38 | + |
| 39 | +func TestTextDocumentClientCapabilitiesDocumentHighlight(t *testing.T) { |
| 40 | + testTextDocumentClientCapabilitiesDocumentHighlight(t, gojay.Marshal, gojay.Unsafe.Unmarshal) |
| 41 | +} |
| 42 | + |
| 43 | +func TestTextDocumentClientCapabilitiesDocumentSymbol(t *testing.T) { |
| 44 | + testTextDocumentClientCapabilitiesDocumentSymbol(t, gojay.Marshal, gojay.Unsafe.Unmarshal) |
| 45 | +} |
| 46 | + |
| 47 | +func TestTextDocumentClientCapabilitiesFormatting(t *testing.T) { |
| 48 | + testTextDocumentClientCapabilitiesFormatting(t, gojay.Marshal, gojay.Unsafe.Unmarshal) |
| 49 | +} |
| 50 | + |
| 51 | +func TestTextDocumentClientCapabilitiesRangeFormatting(t *testing.T) { |
| 52 | + testTextDocumentClientCapabilitiesRangeFormatting(t, gojay.Marshal, gojay.Unsafe.Unmarshal) |
| 53 | +} |
| 54 | + |
| 55 | +func TestTextDocumentClientCapabilitiesOnTypeFormatting(t *testing.T) { |
| 56 | + testTextDocumentClientCapabilitiesOnTypeFormatting(t, gojay.Marshal, gojay.Unsafe.Unmarshal) |
| 57 | +} |
| 58 | + |
| 59 | +func TestTextDocumentClientCapabilitiesDeclaration(t *testing.T) { |
| 60 | + testTextDocumentClientCapabilitiesDeclaration(t, gojay.Marshal, gojay.Unsafe.Unmarshal) |
| 61 | +} |
| 62 | + |
| 63 | +func TestTextDocumentClientCapabilitiesDefinition(t *testing.T) { |
| 64 | + testTextDocumentClientCapabilitiesDefinition(t, gojay.Marshal, gojay.Unsafe.Unmarshal) |
| 65 | +} |
| 66 | + |
| 67 | +func TestTextDocumentClientCapabilitiesTypeDefinition(t *testing.T) { |
| 68 | + testTextDocumentClientCapabilitiesTypeDefinition(t, gojay.Marshal, gojay.Unsafe.Unmarshal) |
| 69 | +} |
| 70 | + |
| 71 | +func TestTextDocumentClientCapabilitiesImplementation(t *testing.T) { |
| 72 | + testTextDocumentClientCapabilitiesImplementation(t, gojay.Marshal, gojay.Unsafe.Unmarshal) |
| 73 | +} |
| 74 | + |
| 75 | +func TestTextDocumentClientCapabilitiesCodeAction(t *testing.T) { |
| 76 | + testTextDocumentClientCapabilitiesCodeAction(t, gojay.Marshal, gojay.Unsafe.Unmarshal) |
| 77 | +} |
| 78 | + |
| 79 | +func TestTextDocumentClientCapabilitiesCodeLens(t *testing.T) { |
| 80 | + testTextDocumentClientCapabilitiesCodeLens(t, gojay.Marshal, gojay.Unsafe.Unmarshal) |
| 81 | +} |
| 82 | + |
| 83 | +func TestTextDocumentClientCapabilitiesDocumentLink(t *testing.T) { |
| 84 | + testTextDocumentClientCapabilitiesDocumentLink(t, gojay.Marshal, gojay.Unsafe.Unmarshal) |
| 85 | +} |
| 86 | + |
| 87 | +func TestTextDocumentClientCapabilitiesColorProvider(t *testing.T) { |
| 88 | + testTextDocumentClientCapabilitiesColorProvider(t, gojay.Marshal, gojay.Unsafe.Unmarshal) |
| 89 | +} |
| 90 | + |
| 91 | +func TestTextDocumentClientCapabilitiesRename(t *testing.T) { |
| 92 | + testTextDocumentClientCapabilitiesRename(t, gojay.Marshal, gojay.Unsafe.Unmarshal) |
| 93 | +} |
| 94 | + |
| 95 | +func TestTextDocumentClientCapabilitiesPublishDiagnostics(t *testing.T) { |
| 96 | + testTextDocumentClientCapabilitiesPublishDiagnostics(t, gojay.Marshal, gojay.Unsafe.Unmarshal) |
| 97 | +} |
| 98 | + |
| 99 | +func TestTextDocumentClientCapabilitiesFoldingRange(t *testing.T) { |
| 100 | + testTextDocumentClientCapabilitiesFoldingRange(t, gojay.Marshal, gojay.Unsafe.Unmarshal) |
| 101 | +} |
| 102 | + |
| 103 | +func TestTextDocumentClientCapabilities(t *testing.T) { |
| 104 | + testTextDocumentClientCapabilities(t, gojay.Marshal, gojay.Unsafe.Unmarshal) |
| 105 | +} |
| 106 | + |
| 107 | +func TestClientCapabilities(t *testing.T) { |
| 108 | + testClientCapabilities(t, gojay.Marshal, gojay.Unsafe.Unmarshal) |
| 109 | +} |
0 commit comments