|
1 | 1 | [
|
2 |
| - { "name": "completion should show accessible items", |
3 |
| - |
4 |
| - "rc-command": [ "--code-complete-at", "{0}/main.cpp:12:15", |
5 |
| - "--synchronous-completions"], |
6 |
| - |
7 |
| - "expectation": [ " get int get() CXXMethod Foo ", |
8 |
| - " validate void validate(int) CXXMethod Foo ", |
9 |
| - " Foo Foo:: ClassDecl Foo ", |
10 |
| - " operator= Foo & operator=(const Foo &) CXXMethod Foo ", |
11 |
| - " operator= Foo & operator=(Foo &&) CXXMethod Foo ", |
12 |
| - " ~Foo void ~Foo() CXXDestructor Foo ", |
13 |
| - ""] }, |
14 |
| - |
15 |
| - { "name": "completion should not show not accessible/private items", |
16 |
| - |
17 |
| - "rc-command": [ "--code-complete-at", "{0}/main.cpp:20:7", |
18 |
| - "--synchronous-completions"], |
19 |
| - |
20 |
| - "expectation": [ " get int get() CXXMethod Foo ", |
21 |
| - " Foo Foo:: ClassDecl Foo ", |
22 |
| - " operator= Foo & operator=(const Foo &) CXXMethod Foo ", |
23 |
| - " operator= Foo & operator=(Foo &&) CXXMethod Foo ", |
24 |
| - " ~Foo void ~Foo() CXXDestructor Foo ", |
25 |
| - ""] } |
| 2 | + { |
| 3 | + "name": "completion should show accessible items", |
| 4 | + "rc-command": [ |
| 5 | + "--code-complete-at", |
| 6 | + "{0}/main.cpp:12:15", |
| 7 | + "--synchronous-completions" |
| 8 | + ], |
| 9 | + "expectation": [ |
| 10 | + " get int get() CXXMethod Foo ", |
| 11 | + " validate void validate(int) CXXMethod Foo ", |
| 12 | + " Foo Foo:: ClassDecl Foo ", |
| 13 | + " operator= Foo & operator=(const Foo &) CXXMethod Foo ", |
| 14 | + " operator= Foo & operator=(Foo &&) CXXMethod Foo ", |
| 15 | + " ~Foo void ~Foo() CXXDestructor Foo ", |
| 16 | + "" |
| 17 | + ] |
| 18 | + }, |
| 19 | + { |
| 20 | + "name": "completion should not show not accessible/private items", |
| 21 | + "rc-command": [ |
| 22 | + "--code-complete-at", |
| 23 | + "{0}/main.cpp:20:7", |
| 24 | + "--synchronous-completions" |
| 25 | + ], |
| 26 | + "expectation": [ |
| 27 | + " get int get() CXXMethod Foo ", |
| 28 | + " Foo Foo:: ClassDecl Foo ", |
| 29 | + " operator= Foo & operator=(const Foo &) CXXMethod Foo ", |
| 30 | + " operator= Foo & operator=(Foo &&) CXXMethod Foo ", |
| 31 | + " ~Foo void ~Foo() CXXDestructor Foo ", |
| 32 | + "" |
| 33 | + ] |
| 34 | + } |
26 | 35 | ]
|
0 commit comments