Commit Graph

1069 Commits

Author SHA1 Message Date
Martin Aeschlimann
5f09de6e7a api tests: avoid rootPath 2019-03-20 17:41:00 +01:00
Martin Aeschlimann
9e984cd673 api-tests: avoid rootPath 2019-03-20 17:33:30 +01:00
Daniel Imms
02423d3f15 Fix flaky terminal test 2019-03-18 17:07:57 -07:00
Rob Lourens
92629f3f5f findFiles tests 2019-03-05 19:17:54 -08:00
Rob Lourens
10fdea204a Fix #69840 2019-03-05 14:52:09 -08:00
Matt Bierner
9061cad570 Removing preview.html command
Fixes #62630
2019-03-01 16:06:51 -08:00
Martin Aeschlimann
aa575b1e8a integration test fixes 2019-02-22 23:20:35 +01:00
Martin Aeschlimann
2fc2a915fc Flaky integration test: completions with document filters. Fixes #68974 2019-02-20 10:56:04 +01:00
Rob Lourens
c5a5b8b0e5 Fix #68125 - findFiles should not use loose patterns like the search view 2019-02-18 19:10:05 -08:00
Martin Aeschlimann
76323b1ac7 api tests for links 2019-02-15 10:17:41 +01:00
Martin Aeschlimann
dd40499fda Use URI for linkDTO 2019-02-14 18:24:32 +01:00
Johannes Rieken
7b281daea5 es6 aftermath, static property of type X are created before decorating type X and therefore failing the instanceof-check 2019-02-14 15:59:55 +01:00
Johannes Rieken
c110d84460 fix integration test 2019-02-08 18:03:56 +01:00
Daniel Imms
98eb895141 Implement onDidChangeTerminalDimensions
Fixes #55718
2019-02-05 04:44:13 -08:00
Matt Bierner
d3d16d2b34 Don't return symbolic columns for webview panels
Fixes #56097

When a symbolic column is used while creating a webview panel, instead set the `viewColum` as `undefined` and then resolve it once we know the real (non-symbolic) column
2019-01-11 15:32:15 -08:00
Matt Bierner
a131278f4a Enabling no-redundant-jsdoc for tslint 2019-01-04 15:34:50 -08:00
Matt Bierner
b4964bcf35 Replace some common index based for loops with for-of loops
Replaces many loops of the form:

```js
for (let i = 0; i < elements.length; ++i) {
    const i = elements[i];
   ...
}
```

with:

```js
for (const element of elements) {
    ...
}
```

Mix of a horrible regex based find/replace and manual touch ups
2019-01-03 19:11:18 -08:00
Rob Lourens
ef2547d547 replace void 0 with undefined 2019-01-03 11:20:19 -08:00
Christof Marti
c9cf18e109 Wait some more 2018-11-09 15:06:48 +01:00
Christof Marti
f9307094ba Try fix timing issues 2018-11-09 07:49:34 +01:00
Christof Marti
ee0815204c Fix timing issue (fixes #61748) 2018-10-29 11:30:25 +01:00
Rob Lourens
a2e96753ee Fix build fail in api-tests 2018-10-26 18:23:42 -07:00
Christof Marti
d66f6ffc95 Fix timing issue (#61647) 2018-10-24 08:56:45 +02:00
Christof Marti
ab5bb7bf72 Revert "Disable failing tests"
This reverts commit 383d1417e6.
2018-10-24 08:56:45 +02:00
Rob Lourens
383d1417e6 Disable failing tests 2018-10-23 11:48:14 -07:00
Matt Bierner
5b03dcd69d Add pinning test for setting localResourceRoots 2018-10-08 10:09:06 -07:00
Matt Bierner
d0ecfa0ba6 Adding pinning tests for vscode-resource in webviews 2018-10-08 09:56:06 -07:00
Matt Bierner
ceb8f18fb8 Adding pinning test for webview scripts disabled 2018-10-05 16:25:50 -07:00
Matt Bierner
7b8e463099 Extract duplicated code 2018-10-05 16:11:32 -07:00
Matt Bierner
23fedc5a3e Add pinning test for webview html update 2018-10-05 16:08:33 -07:00
Matt Bierner
676ea4b5c5 Improve test name 2018-10-05 16:05:01 -07:00
Matt Bierner
b3ff3e4375 Wait for all editors to close before continuing tests 2018-10-05 11:51:54 -07:00
Matt Bierner
0136935c52 Improving webview test reliability and add test for preserve state on column change 2018-10-05 10:53:42 -07:00
Matt Bierner
3cb9b60d32 Add missing registers 2018-10-05 10:53:42 -07:00
Matt Bierner
1f9981f55f Make webview test communication more timing stable 2018-10-05 10:32:42 -07:00
Matt Bierner
4ecf3e5388 Improve naming and use proper (optional) types 2018-10-05 10:08:25 -07:00
Matt Bierner
f4f6c623c3 Make sure we dispose of webviews properly
Dispose of webviews after each test run
2018-10-05 09:38:01 -07:00
Matt Bierner
8d44ab61c6 Fix workspace test document count 2018-10-04 20:02:05 -07:00
Matt Bierner
fdb46fcc66 Remove unused var 2018-10-04 19:24:18 -07:00
Matt Bierner
3da9a122f6 Add test for restore scroll pos when retainContextWhenHidden is set 2018-10-04 19:01:35 -07:00
Matt Bierner
54df095e39 Adding retainContextWhenHidden test 2018-10-04 19:01:35 -07:00
Matt Bierner
6a4e027c41 Refactor our duplicated code 2018-10-04 19:01:34 -07:00
Matt Bierner
8151b1fc50 Add test for webview state persist 2018-10-04 19:01:34 -07:00
Matt Bierner
565f971f43 Add basic test for webview communication 2018-10-04 19:01:34 -07:00
Matt Bierner
03e65ebe47 Use await/async in tests 2018-10-04 19:01:34 -07:00
Christof Marti
f523fd2036 Fire onDidHide only once (fixes #57852) 2018-10-04 13:10:18 +02:00
Christof Marti
7ff8bda7e8 Accept on with selection, work around all items becoming active (#57850) 2018-10-04 10:41:51 +02:00
Christof Marti
f45ac28666 Do not clear selection in single-select case (fixes #57850) 2018-10-04 10:41:51 +02:00
Matt Bierner
dd3e2d94f8 Remove use strict directives in extension code
We compile with alwaysStrict so these directives are not needed
2018-10-02 16:02:44 -07:00
Matt Bierner
4c8e61c049 Remove "use strict" directives in extension tests
We compile with alwaysStrict so these are not needed
2018-10-02 15:59:42 -07:00