ide на основе vs code · VibeGit
ide на основе vs code Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
krutaya-ide-na-osnove-vs-code / src / vs / platform / environment / test / node / nativeModules.integrationTest.ts 184 строк · изменён 14 нояб., 04:52
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
import assert from 'assert' ;
import { isMacintosh, isWindows } from '../../../../base/common/platform.js' ;
import { flakySuite } from '../../../../base/test/common/testUtils.js' ;
function testErrorMessage ( module: string ) : string {
return ` Unable to load " ${ module } " dependency. It was probably not compiled for the right operating system architecture or had missing build tools. ` ;
}
flakySuite ( 'Native Modules (all platforms)' , ( ) =>
isMacintosh test skip test
kerberos
assert kerberos initializeClient
yauzl
assert yauzl ZipFile
yazl
assert yazl ZipFile
cdp
assert cdp
isElevated
assert isElevated
result
assert result
keyMap
assert keyMap onDidChangeKeyboardLayout
assert keyMap getCurrentKeyboardLayout
result keyMap
assert result
watchDog
assert watchDog start
prompt
assert prompt exec
watcher
assert watcher createWatcher
nodePty
assert nodePty spawn
spdlog
assert spdlog createRotatingLogger
assert spdlog version
parcelWatcher
assert parcelWatcher subscribe
deviceIdPackage
assert deviceIdPackage getDeviceId
ripgrep
assert ripgrep rgPath
regexpp
assert regexpp RegExpParser
sqlite3
assert sqlite3 Database
mod
assert mod HttpProxyAgent
mod
assert mod HttpsProxyAgent
proxyAgent
windowsCerts proxyAgent
log
assert windowsCerts length
proxyResolver
proxies proxyResolver
config proxyResolver
assert
resolveProxy proxies length
readProxyConfig config autoDetect
resolveProxy
readProxyConfig
isWindows suite skip suite
mutex
assert mutex mutex isActive
assert mutex isActive
assert mutex Mutex
foregroundLove
assert foregroundLove allowSetForegroundWindow
result foregroundLove process pid
assert result
processTree
assert processTree getProcessTree
resolve reject
processTree process pid tree
tree
windowsRegistry
assert windowsRegistry GetStringRegKey
result windowsRegistry
assert result result
{
(
?
.
:
)
(
'kerberos'
,
async
(
)
=>
{
const
{
default
:
}
=
await
import
(
'kerberos'
)
;
.
ok
(
typeof
.
===
'function'
,
testErrorMessage
(
'kerberos'
)
)
;
}
)
;
test
(
'yauzl'
,
async
(
)
=>
{
const
{
default
:
}
=
await
import
(
'yauzl'
)
;
.
ok
(
typeof
.
===
'function'
,
testErrorMessage
(
'yauzl'
)
)
;
}
)
;
test
(
'yazl'
,
async
(
)
=>
{
const
{
default
:
}
=
await
import
(
'yazl'
)
;
.
ok
(
typeof
.
===
'function'
,
testErrorMessage
(
'yazl'
)
)
;
}
)
;
test
(
'chrome-remote-interface'
,
async
(
)
=>
{
const
{
default
:
}
=
await
import
(
'chrome-remote-interface'
)
;
.
ok
(
typeof
===
'function'
,
testErrorMessage
(
'chrome-remote-interface'
)
)
;
}
)
;
test
(
'native-is-elevated'
,
async
(
)
=>
{
const
{
default
:
}
=
await
import
(
'native-is-elevated'
)
;
.
ok
(
typeof
===
'function'
,
testErrorMessage
(
'native-is-elevated '
)
)
;
const
=
isElevated
(
)
;
.
ok
(
typeof
===
'boolean'
,
testErrorMessage
(
'native-is-elevated'
)
)
;
}
)
;
test
(
'native-keymap'
,
async
(
)
=>
{
const
=
await
import
(
'native-keymap'
)
;
.
ok
(
typeof
.
===
'function'
,
testErrorMessage
(
'native-keymap'
)
)
;
.
ok
(
typeof
.
===
'function'
,
testErrorMessage
(
'native-keymap'
)
)
;
const
=
.
getCurrentKeyboardLayout
(
)
;
.
ok
(
,
testErrorMessage
(
'native-keymap'
)
)
;
}
)
;
test
(
'@vscode/native-watchdog'
,
async
(
)
=>
{
const
=
await
import
(
'@vscode/native-watchdog'
)
;
.
ok
(
typeof
.
===
'function'
,
testErrorMessage
(
'@vscode/native-watchdog'
)
)
;
}
)
;
test
(
'@vscode/sudo-prompt'
,
async
(
)
=>
{
const
=
await
import
(
'@vscode/sudo-prompt'
)
;
.
ok
(
typeof
.
===
'function'
,
testErrorMessage
(
'@vscode/sudo-prompt'
)
)
;
}
)
;
test
(
'@vscode/policy-watcher'
,
async
(
)
=>
{
const
=
await
import
(
'@vscode/policy-watcher'
)
;
.
ok
(
typeof
.
===
'function'
,
testErrorMessage
(
'@vscode/policy-watcher'
)
)
;
}
)
;
test
(
'node-pty'
,
async
(
)
=>
{
const
=
await
import
(
'node-pty'
)
;
.
ok
(
typeof
.
===
'function'
,
testErrorMessage
(
'node-pty'
)
)
;
}
)
;
test
(
'@vscode/spdlog'
,
async
(
)
=>
{
const
=
await
import
(
'@vscode/spdlog'
)
;
.
ok
(
typeof
.
===
'function'
,
testErrorMessage
(
'@vscode/spdlog'
)
)
;
.
ok
(
typeof
.
===
'number'
,
testErrorMessage
(
'@vscode/spdlog'
)
)
;
}
)
;
test
(
'@parcel/watcher'
,
async
(
)
=>
{
const
=
await
import
(
'@parcel/watcher'
)
;
.
ok
(
typeof
.
===
'function'
,
testErrorMessage
(
'@parcel/watcher'
)
)
;
}
)
;
test
(
'@vscode/deviceid'
,
async
(
)
=>
{
const
=
await
import
(
'@vscode/deviceid'
)
;
.
ok
(
typeof
.
===
'function'
,
testErrorMessage
(
'@vscode/deviceid'
)
)
;
}
)
;
test
(
'@vscode/ripgrep-universal'
,
async
(
)
=>
{
const
=
await
import
(
'@vscode/ripgrep-universal'
)
;
.
ok
(
typeof
.
===
'string'
,
testErrorMessage
(
'@vscode/ripgrep-universal'
)
)
;
}
)
;
test
(
'vscode-regexpp'
,
async
(
)
=>
{
const
=
await
import
(
'vscode-regexpp'
)
;
.
ok
(
typeof
.
===
'function'
,
testErrorMessage
(
'vscode-regexpp'
)
)
;
}
)
;
test
(
'@vscode/sqlite3'
,
async
(
)
=>
{
const
{
default
:
}
=
await
import
(
'@vscode/sqlite3'
)
;
.
ok
(
typeof
.
===
'function'
,
testErrorMessage
(
'@vscode/sqlite3'
)
)
;
}
)
;
test
(
'http-proxy-agent'
,
async
(
)
=>
{
const
{
default
:
}
=
await
import
(
'http-proxy-agent'
)
;
.
ok
(
typeof
.
===
'function'
,
testErrorMessage
(
'http-proxy-agent'
)
)
;
}
)
;
test
(
'https-proxy-agent'
,
async
(
)
=>
{
const
{
default
:
}
=
await
import
(
'https-proxy-agent'
)
;
.
ok
(
typeof
.
===
'function'
,
testErrorMessage
(
'https-proxy-agent'
)
)
;
}
)
;
test
(
'@vscode/proxy-agent'
,
async
(
)
=>
{
const
=
await
import
(
'@vscode/proxy-agent'
)
;
const
=
await
.
loadSystemCertificates
(
{
loadSystemCertificatesFromNode
:
(
)
=>
undefined
,
:
{
trace
:
(
)
=>
{
}
,
debug
:
(
)
=>
{
}
,
info
:
(
)
=>
{
}
,
warn
:
(
)
=>
{
}
,
error
:
(
)
=>
{
}
}
}
)
;
.
ok
(
.
>
0
,
testErrorMessage
(
'@vscode/proxy-agent'
)
)
;
}
)
;
test
(
'@vscode/os-proxy-resolver'
,
async
(
)
=>
{
const
=
await
import
(
'@vscode/os-proxy-resolver'
)
;
const
=
await
.
resolveProxy
(
'https://example.com/'
)
;
const
=
await
.
readProxyConfig
(
)
;
.
deepStrictEqual
(
{
:
.
>
0
,
:
typeof
.
===
'boolean'
,
}
,
{
:
true
,
:
true
,
}
,
testErrorMessage
(
'@vscode/os-proxy-resolver'
)
)
;
}
)
;
}
)
;
(
!
?
.
:
)
(
'Native Modules (Windows)'
,
(
)
=>
{
test
(
'@vscode/windows-mutex'
,
async
(
)
=>
{
const
=
await
import
(
'@vscode/windows-mutex'
)
;
.
ok
(
&&
typeof
.
===
'function'
,
testErrorMessage
(
'@vscode/windows-mutex'
)
)
;
.
ok
(
typeof
.
===
'function'
,
testErrorMessage
(
'@vscode/windows-mutex'
)
)
;
.
ok
(
typeof
.
===
'function'
,
testErrorMessage
(
'@vscode/windows-mutex'
)
)
;
}
)
;
test
(
'windows-foreground-love'
,
async
(
)
=>
{
const
=
await
import
(
'windows-foreground-love'
)
;
.
ok
(
typeof
.
===
'function'
,
testErrorMessage
(
'windows-foreground-love'
)
)
;
const
=
.
allowSetForegroundWindow
(
.
)
;
.
ok
(
typeof
===
'boolean'
,
testErrorMessage
(
'windows-foreground-love'
)
)
;
}
)
;
test
(
'@vscode/windows-process-tree'
,
async
(
)
=>
{
const
=
await
import
(
'@vscode/windows-process-tree'
)
;
.
ok
(
typeof
.
===
'function'
,
testErrorMessage
(
'@vscode/windows-process-tree'
)
)
;
return
new
Promise
(
(
,
)
=>
{
.
getProcessTree
(
.
,
=>
{
if
(
)
{
resolve
(
)
;
}
else
{
reject
(
new
Error
(
testErrorMessage
(
'@vscode/windows-process-tree'
)
)
)
;
}
}
)
;
}
)
;
}
)
;
test
(
'@vscode/windows-registry'
,
async
(
)
=>
{
const
=
await
import
(
'@vscode/windows-registry'
)
;
.
ok
(
typeof
.
===
'function'
,
testErrorMessage
(
'@vscode/windows-registry'
)
)
;
const
=
.
GetStringRegKey
(
'HKEY_LOCAL_MACHINE'
,
'SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion'
,
'EditionID'
)
;
.
ok
(
typeof
===
'string'
||
typeof
===
'undefined'
,
testErrorMessage
(
'@vscode/windows-registry'
)
)
;
}
)
;
}
)
;