Skip to content

Commit 9ab353a

Browse files
authored
Infrastructure for mounting more than one webview at a time (#12382)
* Beginnings of new idea * Rework all caes to use new way to fetch wrapper * Fix missed messages * Missed messages being dropped * Make role specific * More dispose fixes * Teardown is not being called if a test is skipped * Upgrade mocha and create factory for mounted web views * Fix failing functional test and make options correct * Fix unit test failures caused by new mocha
1 parent ab795f5 commit 9ab353a

34 files changed

+1255
-506
lines changed

build/.mocha.functional.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"spec": "./out/test/**/*.functional.test.js",
3+
"require": ["out/test/unittests.js"],
4+
"exclude": "out/**/*.jsx",
5+
"reporter": "mocha-multi-reporters",
6+
"reporter-option": "configFile=build/.mocha-multi-reporters.config",
7+
"ui": "tdd",
8+
"recursive": true,
9+
"colors": true,
10+
"exit": true,
11+
"timeout": 180000
12+
}

build/.mocha.functional.opts

Lines changed: 0 additions & 10 deletions
This file was deleted.

build/.mocha.functional.perf.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"spec": "./out/test/**/*.functional.test.js",
3+
"exclude-out": "out/**/*.jsx",
4+
"require": ["out/test/unittests.js"],
5+
"reporter": "spec",
6+
"ui": "tdd",
7+
"recursive": true,
8+
"colors": true,
9+
"exit": true,
10+
"timeout": 180000
11+
}

build/.mocha.functional.perf.opts

Lines changed: 0 additions & 9 deletions
This file was deleted.

build/.mocha.performance.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"spec": "./out/test/**/*.functional.test.js",
3+
"require": ["out/test/unittests.js"],
4+
"reporter": "mocha-multi-reporters",
5+
"reporter-option": "configFile=build/.mocha.perf.config",
6+
"ui": "tdd",
7+
"recursive": true,
8+
"colors": true,
9+
"exit": true,
10+
"timeout": 30000,
11+
"grep": "DataScience"
12+
}

build/.mocha.performance.opts

Lines changed: 0 additions & 10 deletions
This file was deleted.

build/.mocha.unittests.js.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"spec": "./out/test/**/*.unit.test.js",
3+
"require": ["source-map-support/register", "out/test/unittests.js"],
4+
"reporter": "mocha-multi-reporters",
5+
"reporter-option": "configFile=build/.mocha-multi-reporters.config",
6+
"ui": "tdd",
7+
"recursive": true,
8+
"colors": true
9+
}

build/.mocha.unittests.js.opts

Lines changed: 0 additions & 8 deletions
This file was deleted.

build/.mocha.unittests.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"spec": "./out/test/**/*.unit.test.js",
3+
"require": ["out/test/unittests.js"],
4+
"reporter": "mocha-multi-reporters",
5+
"reporter-option": "configFile=build/.mocha-multi-reporters.config",
6+
"ui": "tdd",
7+
"recursive": true,
8+
"colors": true
9+
}

build/.mocha.unittests.opts

Lines changed: 0 additions & 7 deletions
This file was deleted.

build/.mocha.unittests.ts.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"spec": "./src/test/**/*.unit.test.ts",
3+
"require": ["ts-node/register", "out/test/unittests.js"],
4+
"reporter": "mocha-multi-reporters",
5+
"reporter-option": "configFile=build/.mocha-multi-reporters.config",
6+
"ui": "tdd",
7+
"recursive": true,
8+
"colors": true
9+
}

build/.mocha.unittests.ts.opts

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)