Skip to content

Commit 72bd585

Browse files
committed
cleanup
1 parent 04cb861 commit 72bd585

14 files changed

Lines changed: 0 additions & 57 deletions

File tree

test/smoke/src/application.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,6 @@ export class SpectronApplication {
7171
return this.options.workspaceFilePath;
7272
}
7373

74-
private _suiteName: string = 'Init';
75-
76-
set suiteName(suiteName: string) {
77-
this._suiteName = suiteName;
78-
}
79-
8074
async start(waitForWelcome: boolean = true): Promise<any> {
8175
await this._start();
8276

test/smoke/src/areas/css/css.test.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ import { ProblemSeverity, Problems } from '../problems/problems';
88

99
export function setup() {
1010
describe('CSS', () => {
11-
before(function () {
12-
this.app.suiteName = 'CSS';
13-
});
14-
1511
it('verifies quick outline', async function () {
1612
const app = this.app as SpectronApplication;
1713
await app.workbench.quickopen.openFile('style.css');

test/smoke/src/areas/debug/debug.test.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ import { SpectronApplication } from '../../application';
1212

1313
export function setup() {
1414
describe('Debug', () => {
15-
before(async function () {
16-
const app = this.app as SpectronApplication;
17-
app.suiteName = 'Debug';
18-
});
19-
2015
it('configure launch json', async function () {
2116
const app = this.app as SpectronApplication;
2217

test/smoke/src/areas/editor/editor.test.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ import { SpectronApplication } from '../../application';
77

88
export function setup() {
99
describe('Editor', () => {
10-
before(function () {
11-
this.app.suiteName = 'Editor';
12-
});
13-
1410
it('shows correct quick outline', async function () {
1511
const app = this.app as SpectronApplication;
1612
await app.workbench.quickopen.openFile('www');

test/smoke/src/areas/explorer/explorer.test.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ import { SpectronApplication } from '../../application';
77

88
export function setup() {
99
describe('Explorer', () => {
10-
before(function () {
11-
this.app.suiteName = 'Explorer';
12-
});
13-
1410
it('quick open search produces correct result', async function () {
1511
const app = this.app as SpectronApplication;
1612
const expectedNames = [

test/smoke/src/areas/extensions/extensions.test.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ import { SpectronApplication, Quality } from '../../application';
88

99
export function setup() {
1010
describe('Extensions', () => {
11-
before(function () {
12-
this.app.suiteName = 'Extensions';
13-
});
14-
1511
it(`install and activate vscode-smoketest-check extension`, async function () {
1612
const app = this.app as SpectronApplication;
1713

test/smoke/src/areas/git/git.test.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ const SYNC_STATUSBAR = 'div[id="workbench.parts.statusbar"] .statusbar-entry a[t
1111

1212
export function setup() {
1313
describe('Git', () => {
14-
before(async function () {
15-
const app = this.app as SpectronApplication;
16-
app.suiteName = 'Git';
17-
});
18-
1914
it('reflects working tree changes', async function () {
2015
const app = this.app as SpectronApplication;
2116

test/smoke/src/areas/multiroot/multiroot.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ export function setup() {
1010
describe('Multiroot', () => {
1111

1212
before(async function () {
13-
this.app.suiteName = 'Multiroot';
14-
1513
const app = this.app as SpectronApplication;
1614

1715
// restart with preventing additional windows from restoring

test/smoke/src/areas/preferences/preferences.test.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ import { ActivityBarPosition } from '../activitybar/activityBar';
1010

1111
export function setup() {
1212
describe('Preferences', () => {
13-
before(function () {
14-
this.app.suiteName = 'Preferences';
15-
});
16-
1713
it('turns off editor line numbers and verifies the live change', async function () {
1814
const app = this.app as SpectronApplication;
1915

test/smoke/src/areas/search/search.test.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ import { SpectronApplication } from '../../application';
77

88
export function setup() {
99
describe('Search', () => {
10-
before(function () {
11-
this.app.suiteName = 'Search';
12-
});
13-
1410
it('searches for body & checks for correct result number', async function () {
1511
const app = this.app as SpectronApplication;
1612
await app.workbench.search.openSearchViewlet();

0 commit comments

Comments
 (0)