mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-13 17:22:15 -05:00
This reverts commit dbac187b44.
This commit is contained in:
1
extensions/admin-tool-ext-win/.gitignore
vendored
1
extensions/admin-tool-ext-win/.gitignore
vendored
@@ -1,3 +1,2 @@
|
|||||||
coverage
|
|
||||||
ssmsmin
|
ssmsmin
|
||||||
*.vsix
|
*.vsix
|
||||||
@@ -1,7 +1,5 @@
|
|||||||
coverage/**
|
|
||||||
out/test/**
|
out/test/**
|
||||||
src/**
|
src/**
|
||||||
.gitignore
|
.gitignore
|
||||||
coverageConfig.json
|
|
||||||
tsconfig.json
|
tsconfig.json
|
||||||
InstallSsmsMin.bat
|
InstallSsmsMin.bat
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
{
|
|
||||||
"enabled": true,
|
|
||||||
"relativeSourcePath": "..",
|
|
||||||
"relativeCoverageDir": "../../coverage",
|
|
||||||
"ignorePatterns": [
|
|
||||||
"**/node_modules/**"
|
|
||||||
],
|
|
||||||
"includePid": false,
|
|
||||||
"reports": [
|
|
||||||
"cobertura"
|
|
||||||
],
|
|
||||||
"verbose": false,
|
|
||||||
"remapOptions": {
|
|
||||||
"basePath": ".",
|
|
||||||
"useAbsolutePaths": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -69,6 +69,6 @@
|
|||||||
"vscode-nls": "^3.2.1"
|
"vscode-nls": "^3.2.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"vscodetestcover": "^1.0.2"
|
"vscode": "1.0.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -4,23 +4,19 @@
|
|||||||
*--------------------------------------------------------------------------------------------*/
|
*--------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
import * as testRunner from 'vscodetestcover';
|
const testRunner = require('vscode/lib/testrunner');
|
||||||
|
|
||||||
const suite = 'Database Admin Tool Extensions for Windows';
|
const suite = 'Database Admin Tool Extensions for Windows';
|
||||||
|
|
||||||
const testOptions: any = {
|
const options: any = {
|
||||||
ui: 'bdd',
|
ui: 'bdd',
|
||||||
useColors: true,
|
useColors: true,
|
||||||
timeout: 600000
|
timeout: 600000
|
||||||
};
|
};
|
||||||
|
|
||||||
const coverageConfig: any = {
|
|
||||||
coverConfig: '../../coverageConfig.json'
|
|
||||||
};
|
|
||||||
|
|
||||||
if (process.env.BUILD_ARTIFACTSTAGINGDIRECTORY) {
|
if (process.env.BUILD_ARTIFACTSTAGINGDIRECTORY) {
|
||||||
testOptions.reporter = 'mocha-multi-reporters';
|
options.reporter = 'mocha-multi-reporters';
|
||||||
testOptions.reporterOptions = {
|
options.reporterOptions = {
|
||||||
reporterEnabled: 'spec, mocha-junit-reporter',
|
reporterEnabled: 'spec, mocha-junit-reporter',
|
||||||
mochaJunitReporterReporterOptions: {
|
mochaJunitReporterReporterOptions: {
|
||||||
testsuitesTitle: `${suite} ${process.platform}`,
|
testsuitesTitle: `${suite} ${process.platform}`,
|
||||||
@@ -29,6 +25,6 @@ if (process.env.BUILD_ARTIFACTSTAGINGDIRECTORY) {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
testRunner.configure(testOptions, coverageConfig);
|
testRunner.configure(options);
|
||||||
|
|
||||||
export = testRunner;
|
export = testRunner;
|
||||||
File diff suppressed because it is too large
Load Diff
1
extensions/agent/.gitignore
vendored
1
extensions/agent/.gitignore
vendored
@@ -1,2 +1 @@
|
|||||||
coverage
|
|
||||||
*.vsix
|
*.vsix
|
||||||
@@ -1,5 +1,3 @@
|
|||||||
coverage/**
|
|
||||||
src/**
|
src/**
|
||||||
out/test/**
|
out/test/**
|
||||||
coverageConfig.json
|
|
||||||
tsconfig.json
|
tsconfig.json
|
||||||
|
|||||||
@@ -1,17 +0,0 @@
|
|||||||
{
|
|
||||||
"enabled": true,
|
|
||||||
"relativeSourcePath": "..",
|
|
||||||
"relativeCoverageDir": "../../coverage",
|
|
||||||
"ignorePatterns": [
|
|
||||||
"**/node_modules/**"
|
|
||||||
],
|
|
||||||
"includePid": false,
|
|
||||||
"reports": [
|
|
||||||
"cobertura"
|
|
||||||
],
|
|
||||||
"verbose": false,
|
|
||||||
"remapOptions": {
|
|
||||||
"basePath": ".",
|
|
||||||
"useAbsolutePaths": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
"mocha": "^5.2.0",
|
"mocha": "^5.2.0",
|
||||||
"should": "^13.2.1",
|
"should": "^13.2.1",
|
||||||
"typemoq": "^2.1.0",
|
"typemoq": "^2.1.0",
|
||||||
"vscodetestcover": "^1.0.2"
|
"vscode": "1.1.5"
|
||||||
},
|
},
|
||||||
"__metadata": {
|
"__metadata": {
|
||||||
"id": "10",
|
"id": "10",
|
||||||
|
|||||||
@@ -4,23 +4,19 @@
|
|||||||
*--------------------------------------------------------------------------------------------*/
|
*--------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
import * as testRunner from 'vscodetestcover';
|
const testRunner = require('vscode/lib/testrunner');
|
||||||
|
|
||||||
const suite = 'Agent Tests';
|
const suite = 'Agent Tests';
|
||||||
|
|
||||||
const testOptions: any = {
|
const options: any = {
|
||||||
ui: 'bdd',
|
ui: 'bdd',
|
||||||
useColors: true,
|
useColors: true,
|
||||||
timeout: 600000
|
timeout: 600000
|
||||||
};
|
};
|
||||||
|
|
||||||
const coverageConfig: any = {
|
|
||||||
coverConfig: '../../coverageConfig.json'
|
|
||||||
};
|
|
||||||
|
|
||||||
if (process.env.BUILD_ARTIFACTSTAGINGDIRECTORY) {
|
if (process.env.BUILD_ARTIFACTSTAGINGDIRECTORY) {
|
||||||
testOptions.reporter = 'mocha-multi-reporters';
|
options.reporter = 'mocha-multi-reporters';
|
||||||
testOptions.reporterOptions = {
|
options.reporterOptions = {
|
||||||
reporterEnabled: 'spec, mocha-junit-reporter',
|
reporterEnabled: 'spec, mocha-junit-reporter',
|
||||||
mochaJunitReporterReporterOptions: {
|
mochaJunitReporterReporterOptions: {
|
||||||
testsuitesTitle: `${suite} ${process.platform}`,
|
testsuitesTitle: `${suite} ${process.platform}`,
|
||||||
@@ -29,6 +25,6 @@ if (process.env.BUILD_ARTIFACTSTAGINGDIRECTORY) {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
testRunner.configure(testOptions, coverageConfig);
|
testRunner.configure(options);
|
||||||
|
|
||||||
export = testRunner;
|
export = testRunner;
|
||||||
File diff suppressed because it is too large
Load Diff
2
extensions/azurecore/.gitignore
vendored
2
extensions/azurecore/.gitignore
vendored
@@ -1,2 +0,0 @@
|
|||||||
coverage
|
|
||||||
*.vsix
|
|
||||||
@@ -1,7 +1,5 @@
|
|||||||
coverage/**
|
|
||||||
src/**
|
src/**
|
||||||
out/**
|
out/**
|
||||||
coverageConfig.json
|
|
||||||
tsconfig.json
|
tsconfig.json
|
||||||
extension.webpack.config.js
|
extension.webpack.config.js
|
||||||
yarn.lock
|
yarn.lock
|
||||||
|
|||||||
@@ -1,17 +0,0 @@
|
|||||||
{
|
|
||||||
"enabled": false,
|
|
||||||
"relativeSourcePath": "..",
|
|
||||||
"relativeCoverageDir": "../../coverage",
|
|
||||||
"ignorePatterns": [
|
|
||||||
"**/node_modules/**"
|
|
||||||
],
|
|
||||||
"includePid": false,
|
|
||||||
"reports": [
|
|
||||||
"cobertura"
|
|
||||||
],
|
|
||||||
"verbose": false,
|
|
||||||
"remapOptions": {
|
|
||||||
"basePath": ".",
|
|
||||||
"useAbsolutePaths": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -170,6 +170,6 @@
|
|||||||
"mocha": "^5.2.0",
|
"mocha": "^5.2.0",
|
||||||
"should": "^13.2.1",
|
"should": "^13.2.1",
|
||||||
"typemoq": "^2.1.0",
|
"typemoq": "^2.1.0",
|
||||||
"vscodetestcover": "^1.0.2"
|
"vscode": "1.1.26"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,24 +4,19 @@
|
|||||||
*--------------------------------------------------------------------------------------------*/
|
*--------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
import * as testRunner from 'vscodetestcover';
|
const testRunner = require('vscode/lib/testrunner');
|
||||||
|
|
||||||
const suite = 'Integration Azure Tests';
|
const suite = 'Integration Azure Tests';
|
||||||
|
|
||||||
const testOptions: any = {
|
const options: any = {
|
||||||
ui: 'bdd',
|
ui: 'bdd',
|
||||||
useColors: true,
|
useColors: true,
|
||||||
timeout: 60000
|
timeout: 60000
|
||||||
};
|
};
|
||||||
|
|
||||||
// Coverage is currently disabled - the coverage runner isn't currently able to correctly parse es2018 javascript
|
|
||||||
const coverageConfig: any = {
|
|
||||||
coverConfig: '../../coverageConfig.json'
|
|
||||||
};
|
|
||||||
|
|
||||||
if (process.env.BUILD_ARTIFACTSTAGINGDIRECTORY) {
|
if (process.env.BUILD_ARTIFACTSTAGINGDIRECTORY) {
|
||||||
testOptions.reporter = 'mocha-multi-reporters';
|
options.reporter = 'mocha-multi-reporters';
|
||||||
testOptions.reporterOptions = {
|
options.reporterOptions = {
|
||||||
reporterEnabled: 'spec, mocha-junit-reporter',
|
reporterEnabled: 'spec, mocha-junit-reporter',
|
||||||
mochaJunitReporterReporterOptions: {
|
mochaJunitReporterReporterOptions: {
|
||||||
testsuitesTitle: `${suite} ${process.platform}`,
|
testsuitesTitle: `${suite} ${process.platform}`,
|
||||||
@@ -30,6 +25,6 @@ if (process.env.BUILD_ARTIFACTSTAGINGDIRECTORY) {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
testRunner.configure(testOptions, coverageConfig);
|
testRunner.configure(options);
|
||||||
|
|
||||||
export = testRunner;
|
export = testRunner;
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
1
extensions/cms/.gitignore
vendored
1
extensions/cms/.gitignore
vendored
@@ -1,2 +1 @@
|
|||||||
coverage
|
|
||||||
*.vsix
|
*.vsix
|
||||||
@@ -1,5 +1,3 @@
|
|||||||
coverage/**
|
|
||||||
out/test/**
|
out/test/**
|
||||||
src/**
|
src/**
|
||||||
coverageConfig.json
|
|
||||||
tsconfig.json
|
tsconfig.json
|
||||||
|
|||||||
@@ -1,17 +0,0 @@
|
|||||||
{
|
|
||||||
"enabled": true,
|
|
||||||
"relativeSourcePath": "..",
|
|
||||||
"relativeCoverageDir": "../../coverage",
|
|
||||||
"ignorePatterns": [
|
|
||||||
"**/node_modules/**"
|
|
||||||
],
|
|
||||||
"includePid": false,
|
|
||||||
"reports": [
|
|
||||||
"cobertura"
|
|
||||||
],
|
|
||||||
"verbose": false,
|
|
||||||
"remapOptions": {
|
|
||||||
"basePath": ".",
|
|
||||||
"useAbsolutePaths": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -640,7 +640,7 @@
|
|||||||
"@types/node": "^8.0.24",
|
"@types/node": "^8.0.24",
|
||||||
"mocha": "^5.2.0",
|
"mocha": "^5.2.0",
|
||||||
"should": "^13.2.1",
|
"should": "^13.2.1",
|
||||||
"vscodetestcover": "^1.0.2",
|
"vscode": "^1.1.26",
|
||||||
"typemoq": "^2.1.0"
|
"typemoq": "^2.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -4,23 +4,19 @@
|
|||||||
*--------------------------------------------------------------------------------------------*/
|
*--------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
import * as testRunner from 'vscodetestcover';
|
const testRunner = require('vscode/lib/testrunner');
|
||||||
|
|
||||||
const suite = 'CMS Unit Tests';
|
const suite = 'CMS Unit Tests';
|
||||||
|
|
||||||
const testOptions: any = {
|
const options: any = {
|
||||||
ui: 'bdd',
|
ui: 'bdd',
|
||||||
useColors: true,
|
useColors: true,
|
||||||
timeout: 60000
|
timeout: 60000
|
||||||
};
|
};
|
||||||
|
|
||||||
const coverageConfig: any = {
|
|
||||||
coverConfig: '../../coverageConfig.json'
|
|
||||||
};
|
|
||||||
|
|
||||||
if (process.env.BUILD_ARTIFACTSTAGINGDIRECTORY) {
|
if (process.env.BUILD_ARTIFACTSTAGINGDIRECTORY) {
|
||||||
testOptions.reporter = 'mocha-multi-reporters';
|
options.reporter = 'mocha-multi-reporters';
|
||||||
testOptions.reporterOptions = {
|
options.reporterOptions = {
|
||||||
reporterEnabled: 'spec, mocha-junit-reporter',
|
reporterEnabled: 'spec, mocha-junit-reporter',
|
||||||
mochaJunitReporterReporterOptions: {
|
mochaJunitReporterReporterOptions: {
|
||||||
testsuitesTitle: `${suite} ${process.platform}`,
|
testsuitesTitle: `${suite} ${process.platform}`,
|
||||||
@@ -29,6 +25,6 @@ if (process.env.BUILD_ARTIFACTSTAGINGDIRECTORY) {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
testRunner.configure(testOptions, coverageConfig);
|
testRunner.configure(options);
|
||||||
|
|
||||||
export = testRunner;
|
export = testRunner;
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1,17 +0,0 @@
|
|||||||
{
|
|
||||||
"enabled": true,
|
|
||||||
"relativeSourcePath": "..",
|
|
||||||
"relativeCoverageDir": "../../coverage",
|
|
||||||
"ignorePatterns": [
|
|
||||||
"**/node_modules/**"
|
|
||||||
],
|
|
||||||
"includePid": false,
|
|
||||||
"reports": [
|
|
||||||
"cobertura"
|
|
||||||
],
|
|
||||||
"verbose": false,
|
|
||||||
"remapOptions": {
|
|
||||||
"basePath": ".",
|
|
||||||
"useAbsolutePaths": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
2672
extensions/integration-tests/package-lock.json
generated
Normal file
2672
extensions/integration-tests/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -52,9 +52,8 @@
|
|||||||
"@types/node": "7.0.43",
|
"@types/node": "7.0.43",
|
||||||
"@types/chai": "3.4.34",
|
"@types/chai": "3.4.34",
|
||||||
"mocha-junit-reporter": "^1.17.0",
|
"mocha-junit-reporter": "^1.17.0",
|
||||||
"mocha-multi-reporters": "^1.1.7",
|
"mocha-multi-reporters": "^1.1.7",
|
||||||
"vscode":"^1.1.5",
|
"vscode": "1.1.5",
|
||||||
"vscodetestcover": "^1.0.2",
|
|
||||||
"chai": "3.5.0"
|
"chai": "3.5.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -6,23 +6,19 @@ import * as vscode from 'vscode';
|
|||||||
import { context } from './testContext';
|
import { context } from './testContext';
|
||||||
|
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
import * as testRunner from 'vscodetestcover';
|
const testRunner = require('vscode/lib/testrunner');
|
||||||
|
|
||||||
const suite = 'Integration Tests';
|
const suite = 'Integration Tests';
|
||||||
|
|
||||||
const testOptions: any = {
|
const options: any = {
|
||||||
ui: 'tdd',
|
ui: 'tdd',
|
||||||
useColors: true,
|
useColors: true,
|
||||||
timeout: 600000
|
timeout: 600000
|
||||||
};
|
};
|
||||||
|
|
||||||
const coverageConfig: any = {
|
|
||||||
coverConfig: '../coverageConfig.json'
|
|
||||||
};
|
|
||||||
|
|
||||||
if (process.env.BUILD_ARTIFACTSTAGINGDIRECTORY) {
|
if (process.env.BUILD_ARTIFACTSTAGINGDIRECTORY) {
|
||||||
testOptions.reporter = 'mocha-multi-reporters';
|
options.reporter = 'mocha-multi-reporters';
|
||||||
testOptions.reporterOptions = {
|
options.reporterOptions = {
|
||||||
reporterEnabled: 'spec, mocha-junit-reporter',
|
reporterEnabled: 'spec, mocha-junit-reporter',
|
||||||
mochaJunitReporterReporterOptions: {
|
mochaJunitReporterReporterOptions: {
|
||||||
testsuitesTitle: `${suite} ${process.platform}`,
|
testsuitesTitle: `${suite} ${process.platform}`,
|
||||||
@@ -35,6 +31,6 @@ if (!vscode.workspace.getConfiguration('test')['testSetupCompleted']) {
|
|||||||
context.RunTest = false;
|
context.RunTest = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
testRunner.configure(testOptions, coverageConfig);
|
testRunner.configure(options);
|
||||||
|
|
||||||
export = testRunner;
|
export = testRunner;
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
1
extensions/notebook/.gitignore
vendored
1
extensions/notebook/.gitignore
vendored
@@ -1,2 +1 @@
|
|||||||
coverage/**
|
|
||||||
jupyter_config/**
|
jupyter_config/**
|
||||||
@@ -1,8 +1,6 @@
|
|||||||
coverage/**
|
|
||||||
jupyter_config/**
|
jupyter_config/**
|
||||||
src/**
|
src/**
|
||||||
out/**
|
out/**
|
||||||
coverageConfig.json
|
|
||||||
tsconfig.json
|
tsconfig.json
|
||||||
extension.webpack.config.js
|
extension.webpack.config.js
|
||||||
yarn.lock
|
yarn.lock
|
||||||
|
|||||||
@@ -1,18 +0,0 @@
|
|||||||
{
|
|
||||||
"enabled": false,
|
|
||||||
"relativeSourcePath": "..",
|
|
||||||
"relativeCoverageDir": "../../coverage",
|
|
||||||
"ignorePatterns": [
|
|
||||||
"**/node_modules/**",
|
|
||||||
"**/test/**"
|
|
||||||
],
|
|
||||||
"includePid": false,
|
|
||||||
"reports": [
|
|
||||||
"cobertura"
|
|
||||||
],
|
|
||||||
"verbose": false,
|
|
||||||
"remapOptions": {
|
|
||||||
"basePath": ".",
|
|
||||||
"useAbsolutePaths": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -349,7 +349,7 @@
|
|||||||
"mocha-junit-reporter": "^1.17.0",
|
"mocha-junit-reporter": "^1.17.0",
|
||||||
"mocha-multi-reporters": "^1.1.7",
|
"mocha-multi-reporters": "^1.1.7",
|
||||||
"typemoq": "^2.1.0",
|
"typemoq": "^2.1.0",
|
||||||
"vscodetestcover": "^1.0.2"
|
"vscode": "1.1.5"
|
||||||
},
|
},
|
||||||
"enableProposedApi": true
|
"enableProposedApi": true
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,23 +4,19 @@
|
|||||||
*--------------------------------------------------------------------------------------------*/
|
*--------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
import * as testRunner from 'vscodetestcover';
|
const testRunner = require('vscode/lib/testrunner');
|
||||||
|
|
||||||
const suite = 'Notebook Extension Integration Tests';
|
const suite = 'Notebook Extension Integration Tests';
|
||||||
|
|
||||||
const testOptions: any = {
|
const options: any = {
|
||||||
ui: 'bdd',
|
ui: 'bdd',
|
||||||
useColors: true,
|
useColors: true,
|
||||||
timeout: 600000
|
timeout: 600000
|
||||||
};
|
};
|
||||||
|
|
||||||
const coverageConfig: any = {
|
|
||||||
coverConfig: '../../coverageConfig.json'
|
|
||||||
};
|
|
||||||
|
|
||||||
if (process.env.BUILD_ARTIFACTSTAGINGDIRECTORY) {
|
if (process.env.BUILD_ARTIFACTSTAGINGDIRECTORY) {
|
||||||
testOptions.reporter = 'mocha-multi-reporters';
|
options.reporter = 'mocha-multi-reporters';
|
||||||
testOptions.reporterOptions = {
|
options.reporterOptions = {
|
||||||
reporterEnabled: 'spec, mocha-junit-reporter',
|
reporterEnabled: 'spec, mocha-junit-reporter',
|
||||||
mochaJunitReporterReporterOptions: {
|
mochaJunitReporterReporterOptions: {
|
||||||
testsuitesTitle: `${suite} ${process.platform}`,
|
testsuitesTitle: `${suite} ${process.platform}`,
|
||||||
@@ -29,6 +25,6 @@ if (process.env.BUILD_ARTIFACTSTAGINGDIRECTORY) {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
testRunner.configure(testOptions, coverageConfig);
|
testRunner.configure(options);
|
||||||
|
|
||||||
export = testRunner;
|
export = testRunner;
|
||||||
@@ -4,24 +4,19 @@
|
|||||||
*--------------------------------------------------------------------------------------------*/
|
*--------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
import * as testRunner from 'vscodetestcover';
|
const testRunner = require('vscode/lib/testrunner');
|
||||||
|
|
||||||
const suite = 'Notebook Tests';
|
const suite = 'Notebook Tests';
|
||||||
|
|
||||||
const testOptions: any = {
|
const options: any = {
|
||||||
ui: 'bdd',
|
ui: 'bdd',
|
||||||
useColors: true,
|
useColors: true,
|
||||||
timeout: 600000,
|
timeout: 600000
|
||||||
};
|
|
||||||
|
|
||||||
// Coverage is currently disabled - the coverage runner isn't currently able to correctly parse es2018 javascript
|
|
||||||
const coverageConfig: any = {
|
|
||||||
coverConfig: '../../coverageConfig.json'
|
|
||||||
};
|
};
|
||||||
|
|
||||||
if (process.env.BUILD_ARTIFACTSTAGINGDIRECTORY) {
|
if (process.env.BUILD_ARTIFACTSTAGINGDIRECTORY) {
|
||||||
testOptions.reporter = 'mocha-multi-reporters';
|
options.reporter = 'mocha-multi-reporters';
|
||||||
testOptions.reporterOptions = {
|
options.reporterOptions = {
|
||||||
reporterEnabled: 'spec, mocha-junit-reporter',
|
reporterEnabled: 'spec, mocha-junit-reporter',
|
||||||
mochaJunitReporterReporterOptions: {
|
mochaJunitReporterReporterOptions: {
|
||||||
testsuitesTitle: `${suite} ${process.platform}`,
|
testsuitesTitle: `${suite} ${process.platform}`,
|
||||||
@@ -30,6 +25,6 @@ if (process.env.BUILD_ARTIFACTSTAGINGDIRECTORY) {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
testRunner.configure(testOptions, coverageConfig);
|
testRunner.configure(options);
|
||||||
|
|
||||||
export = testRunner;
|
export = testRunner;
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -79,6 +79,7 @@
|
|||||||
"vscode-nls": "^3.2.1"
|
"vscode-nls": "^3.2.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"vscode": "1.0.1"
|
||||||
},
|
},
|
||||||
"__metadata": {
|
"__metadata": {
|
||||||
"id": "18",
|
"id": "18",
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -12,7 +12,6 @@ echo %VSCODEEXTENSIONSDIR%
|
|||||||
|
|
||||||
call .\scripts\code.bat --extensionDevelopmentPath=%~dp0\..\extensions\admin-tool-ext-win --extensionTestsPath=%~dp0\..\extensions\admin-tool-ext-win\out\test --user-data-dir=%VSCODEUSERDATADIR% --extensions-dir=%VSCODEEXTENSIONSDIR% --disableExtensions --remote-debugging-port=9222
|
call .\scripts\code.bat --extensionDevelopmentPath=%~dp0\..\extensions\admin-tool-ext-win --extensionTestsPath=%~dp0\..\extensions\admin-tool-ext-win\out\test --user-data-dir=%VSCODEUSERDATADIR% --extensions-dir=%VSCODEEXTENSIONSDIR% --disableExtensions --remote-debugging-port=9222
|
||||||
call .\scripts\code.bat --extensionDevelopmentPath=%~dp0\..\extensions\agent --extensionTestsPath=%~dp0\..\extensions\agent\out\test --user-data-dir=%VSCODEUSERDATADIR% --extensions-dir=%VSCODEEXTENSIONSDIR% --remote-debugging-port=9222
|
call .\scripts\code.bat --extensionDevelopmentPath=%~dp0\..\extensions\agent --extensionTestsPath=%~dp0\..\extensions\agent\out\test --user-data-dir=%VSCODEUSERDATADIR% --extensions-dir=%VSCODEEXTENSIONSDIR% --remote-debugging-port=9222
|
||||||
call .\scripts\code.bat --extensionDevelopmentPath=%~dp0\..\extensions\azurecore --extensionTestsPath=%~dp0\..\extensions\azurecore\out\test --user-data-dir=%VSCODEUSERDATADIR% --extensions-dir=%VSCODEEXTENSIONSDIR% --disableExtensions --remote-debugging-port=9222
|
|
||||||
call .\scripts\code.bat --extensionDevelopmentPath=%~dp0\..\extensions\cms --extensionTestsPath=%~dp0\..\extensions\cms\out\test --user-data-dir=%VSCODEUSERDATADIR% --extensions-dir=%VSCODEEXTENSIONSDIR% --remote-debugging-port=9222
|
call .\scripts\code.bat --extensionDevelopmentPath=%~dp0\..\extensions\cms --extensionTestsPath=%~dp0\..\extensions\cms\out\test --user-data-dir=%VSCODEUSERDATADIR% --extensions-dir=%VSCODEEXTENSIONSDIR% --remote-debugging-port=9222
|
||||||
call .\scripts\code.bat --extensionDevelopmentPath=%~dp0\..\extensions\dacpac --extensionTestsPath=%~dp0\..\extensions\dacpac\out\test --user-data-dir=%VSCODEUSERDATADIR% --extensions-dir=%VSCODEEXTENSIONSDIR% --remote-debugging-port=9222
|
call .\scripts\code.bat --extensionDevelopmentPath=%~dp0\..\extensions\dacpac --extensionTestsPath=%~dp0\..\extensions\dacpac\out\test --user-data-dir=%VSCODEUSERDATADIR% --extensions-dir=%VSCODEEXTENSIONSDIR% --remote-debugging-port=9222
|
||||||
call .\scripts\code.bat --extensionDevelopmentPath=%~dp0\..\extensions\notebook --extensionTestsPath=%~dp0\..\extensions\notebook\out\test --user-data-dir=%VSCODEUSERDATADIR% --extensions-dir=%VSCODEEXTENSIONSDIR% --remote-debugging-port=9222
|
call .\scripts\code.bat --extensionDevelopmentPath=%~dp0\..\extensions\notebook --extensionTestsPath=%~dp0\..\extensions\notebook\out\test --user-data-dir=%VSCODEUSERDATADIR% --extensions-dir=%VSCODEEXTENSIONSDIR% --remote-debugging-port=9222
|
||||||
|
|||||||
@@ -20,7 +20,6 @@ echo $VSCODEEXTDIR
|
|||||||
|
|
||||||
./scripts/code.sh --extensionDevelopmentPath=$ROOT/extensions/admin-tool-ext-win --extensionTestsPath=$ROOT/extensions/admin-tool-ext-win/out/test --user-data-dir=$VSCODEUSERDATADIR --extensions-dir=$VSCODEEXTDIR
|
./scripts/code.sh --extensionDevelopmentPath=$ROOT/extensions/admin-tool-ext-win --extensionTestsPath=$ROOT/extensions/admin-tool-ext-win/out/test --user-data-dir=$VSCODEUSERDATADIR --extensions-dir=$VSCODEEXTDIR
|
||||||
./scripts/code.sh --extensionDevelopmentPath=$ROOT/extensions/agent --extensionTestsPath=$ROOT/extensions/agent/out/test --user-data-dir=$VSCODEUSERDATADIR --extensions-dir=$VSCODEEXTDIR
|
./scripts/code.sh --extensionDevelopmentPath=$ROOT/extensions/agent --extensionTestsPath=$ROOT/extensions/agent/out/test --user-data-dir=$VSCODEUSERDATADIR --extensions-dir=$VSCODEEXTDIR
|
||||||
./scripts/code.sh --extensionDevelopmentPath=$ROOT/extensions/azurecore --extensionTestsPath=$ROOT/extensions/azurecore/out/test --user-data-dir=$VSCODEUSERDATADIR --extensions-dir=$VSCODEEXTDIR
|
|
||||||
./scripts/code.sh --extensionDevelopmentPath=$ROOT/extensions/cms --extensionTestsPath=$ROOT/extensions/cms/out/test --user-data-dir=$VSCODEUSERDATADIR --extensions-dir=$VSCODEEXTDIR
|
./scripts/code.sh --extensionDevelopmentPath=$ROOT/extensions/cms --extensionTestsPath=$ROOT/extensions/cms/out/test --user-data-dir=$VSCODEUSERDATADIR --extensions-dir=$VSCODEEXTDIR
|
||||||
./scripts/code.sh --extensionDevelopmentPath=$ROOT/extensions/dacpac --extensionTestsPath=$ROOT/extensions/dacpac/out/test --user-data-dir=$VSCODEUSERDATADIR --extensions-dir=$VSCODEEXTDIR
|
./scripts/code.sh --extensionDevelopmentPath=$ROOT/extensions/dacpac --extensionTestsPath=$ROOT/extensions/dacpac/out/test --user-data-dir=$VSCODEUSERDATADIR --extensions-dir=$VSCODEEXTDIR
|
||||||
./scripts/code.sh --extensionDevelopmentPath=$ROOT/extensions/notebook --extensionTestsPath=$ROOT/extensions/notebook/out/test --user-data-dir=$VSCODEUSERDATADIR --extensions-dir=$VSCODEEXTDIR
|
./scripts/code.sh --extensionDevelopmentPath=$ROOT/extensions/notebook --extensionTestsPath=$ROOT/extensions/notebook/out/test --user-data-dir=$VSCODEUSERDATADIR --extensions-dir=$VSCODEEXTDIR
|
||||||
|
|||||||
Reference in New Issue
Block a user