Skip to content

Commit 8639875

Browse files
committed
build: switch checkbox e2e to MDC
Removes the e2e app entry for the legacy checkbox and renames the MDC checkbox.
1 parent 616ad39 commit 8639875

File tree

14 files changed

+14
-104
lines changed

14 files changed

+14
-104
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,6 @@
249249
/src/e2e-app/expansion/** @andrewseguin
250250
/src/e2e-app/grid-list/** @andrewseguin
251251
/src/e2e-app/icon/** @andrewseguin
252-
/src/e2e-app/legacy-checkbox/** @andrewseguin @devversion
253252
/src/e2e-app/legacy-dialog/** @andrewseguin @crisbeto
254253
/src/e2e-app/legacy-input/** @mmalerba
255254
/src/e2e-app/legacy-menu/** @crisbeto
@@ -261,7 +260,7 @@
261260
/src/e2e-app/list/** @andrewseguin
262261
/src/e2e-app/button/** @andrewseguin
263262
/src/e2e-app/mdc-card/** @mmalerba
264-
/src/e2e-app/mdc-checkbox/** @mmalerba
263+
/src/e2e-app/checkbox/** @mmalerba
265264
/src/e2e-app/mdc-chips/** @mmalerba
266265
/src/e2e-app/mdc-dialog/** @devversion
267266
/src/e2e-app/mdc-input/** @devversion

src/e2e-app/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ ng_module(
5050
"//src/material/grid-list",
5151
"//src/material/icon",
5252
"//src/material/input",
53-
"//src/material/legacy-checkbox",
5453
"//src/material/legacy-dialog",
5554
"//src/material/legacy-form-field",
5655
"//src/material/legacy-input",

src/e2e-app/mdc-checkbox/mdc-checkbox-e2e-module.ts renamed to src/e2e-app/checkbox/checkbox-e2e-module.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88

99
import {NgModule} from '@angular/core';
1010
import {MatCheckboxModule} from '@angular/material/checkbox';
11-
import {MdcCheckboxE2e} from './mdc-checkbox-e2e';
11+
import {CheckboxE2e} from './checkbox-e2e';
1212

1313
@NgModule({
1414
imports: [MatCheckboxModule],
15-
declarations: [MdcCheckboxE2e],
15+
declarations: [CheckboxE2e],
1616
})
17-
export class MdcCheckboxE2eModule {}
17+
export class CheckboxE2eModule {}

src/e2e-app/mdc-checkbox/mdc-checkbox-e2e.ts renamed to src/e2e-app/checkbox/checkbox-e2e.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
import {Component} from '@angular/core';
1010

1111
@Component({
12-
selector: 'mdc-checkbox-e2e',
13-
templateUrl: 'mdc-checkbox-e2e.html',
12+
selector: 'checkbox-e2e',
13+
templateUrl: 'checkbox-e2e.html',
1414
})
15-
export class MdcCheckboxE2e {
15+
export class CheckboxE2e {
1616
selected: string = '';
1717
}

src/e2e-app/e2e-app/e2e-app-layout.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ export class E2eAppLayout {
3535
{path: 'cards', title: 'Cards'},
3636
{path: 'toolbar', title: 'Toolbar'},
3737
{path: 'virtual-scroll', title: 'Virtual Scroll'},
38-
{path: 'mdc-checkbox', title: 'MDC Checkbox'},
3938
{path: 'mdc-chips', title: 'MDC Chips'},
4039
{path: 'mdc-dialog', title: 'MDC Dialog'},
4140
{path: 'mdc-input', title: 'MDC Input'},

src/e2e-app/legacy-checkbox/legacy-checkbox-e2e-module.ts

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

src/e2e-app/legacy-checkbox/legacy-checkbox-e2e.ts

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

src/e2e-app/main-module.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import {E2eAppModule} from './e2e-app/e2e-app-module';
1111
import {ExpansionE2eModule} from './expansion/expansion-e2e-module';
1212
import {GridListE2eModule} from './grid-list/grid-list-e2e-module';
1313
import {IconE2eModule} from './icon/icon-e2e-module';
14-
import {LegacyCheckboxE2eModule} from './legacy-checkbox/legacy-checkbox-e2e-module';
1514
import {LegacyDialogE2eModule} from './legacy-dialog/legacy-dialog-e2e-module';
1615
import {LegacyInputE2eModule} from './legacy-input/legacy-input-e2e-module';
1716
import {LegacyMenuE2eModule} from './legacy-menu/legacy-menu-e2e-module';
@@ -22,7 +21,7 @@ import {LegacySlideToggleE2eModule} from './legacy-slide-toggle/legacy-slide-tog
2221
import {LegacyTabsE2eModule} from './legacy-tabs/legacy-tabs-e2e-module';
2322
import {ListE2eModule} from './list/list-e2e-module';
2423
import {ButtonE2eModule} from './button/button-e2e-module';
25-
import {MdcCheckboxE2eModule} from './mdc-checkbox/mdc-checkbox-e2e-module';
24+
import {CheckboxE2eModule} from './checkbox/checkbox-e2e-module';
2625
import {MdcChipsE2eModule} from './mdc-chips/mdc-chips-e2e-module';
2726
import {MdcDialogE2eModule} from './mdc-dialog/mdc-dialog-e2e-module';
2827
import {MdcMenuE2eModule} from './mdc-menu/mdc-menu-e2e-module';
@@ -57,7 +56,6 @@ const enableAnimations = window.location.search.includes('animations=true');
5756
ExpansionE2eModule,
5857
GridListE2eModule,
5958
IconE2eModule,
60-
LegacyCheckboxE2eModule,
6159
LegacyDialogE2eModule,
6260
LegacyInputE2eModule,
6361
LegacyMenuE2eModule,
@@ -68,7 +66,7 @@ const enableAnimations = window.location.search.includes('animations=true');
6866
LegacyTabsE2eModule,
6967
ListE2eModule,
7068
ButtonE2eModule,
71-
MdcCheckboxE2eModule,
69+
CheckboxE2eModule,
7270
MdcChipsE2eModule,
7371
MdcDialogE2eModule,
7472
MdcMenuE2eModule,

src/e2e-app/mdc-checkbox/mdc-checkbox-e2e.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)