-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathworkspace_json_test.go
68 lines (51 loc) · 1.83 KB
/
workspace_json_test.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
// Copyright 2020 The go-language-server Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build !gojay
package protocol
import (
"encoding/json"
"testing"
)
func TestWorkspaceFolder(t *testing.T) {
testWorkspaceFolder(t, json.Marshal, json.Unmarshal)
}
func TestDidChangeWorkspaceFoldersParams(t *testing.T) {
testDidChangeWorkspaceFoldersParams(t, json.Marshal, json.Unmarshal)
}
func TestWorkspaceFoldersChangeEvent(t *testing.T) {
testWorkspaceFoldersChangeEvent(t, json.Marshal, json.Unmarshal)
}
func TestDidChangeConfigurationParams(t *testing.T) {
testDidChangeConfigurationParams(t, json.Marshal, json.Unmarshal)
}
func TestConfigurationParams(t *testing.T) {
testConfigurationParams(t, json.Marshal, json.Unmarshal)
}
func TestConfigurationItem(t *testing.T) {
testConfigurationItem(t, json.Marshal, json.Unmarshal)
}
func TestDidChangeWatchedFilesParams(t *testing.T) {
testDidChangeWatchedFilesParams(t, json.Marshal, json.Unmarshal)
}
func TestFileEvent(t *testing.T) {
testFileEvent(t, json.Marshal, json.Unmarshal)
}
func TestDidChangeWatchedFilesRegistrationOptions(t *testing.T) {
testDidChangeWatchedFilesRegistrationOptions(t, json.Marshal, json.Unmarshal)
}
func TestWorkspaceSymbolParams(t *testing.T) {
testWorkspaceSymbolParams(t, json.Marshal, json.Unmarshal)
}
func TestExecuteCommandParams(t *testing.T) {
testExecuteCommandParams(t, json.Marshal, json.Unmarshal)
}
func TestExecuteCommandRegistrationOptions(t *testing.T) {
testExecuteCommandRegistrationOptions(t, json.Marshal, json.Unmarshal)
}
func TestApplyWorkspaceEditParams(t *testing.T) {
testApplyWorkspaceEditParams(t, json.Marshal, json.Unmarshal)
}
func TestApplyWorkspaceEditResponse(t *testing.T) {
testApplyWorkspaceEditResponse(t, json.Marshal, json.Unmarshal)
}