Skip to content

Commit 7614456

Browse files
authored
refactor(multiple): remove mdc-based descriptions (angular#29566)
We had a bunch of places left over where things were described as "MDC-based" from the time when we had two versions of each component.
1 parent 64dfcc0 commit 7614456

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+60
-60
lines changed

src/material/autocomplete/autocomplete.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ import {
5454
getMatAutocompleteMissingPanelError,
5555
} from './index';
5656

57-
describe('MDC-based MatAutocomplete', () => {
57+
describe('MatAutocomplete', () => {
5858
let overlayContainerElement: HTMLElement;
5959

6060
// Creates a test component fixture.

src/material/autocomplete/autocomplete.zone.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import {MatAutocomplete} from './autocomplete';
2222
import {MatAutocompleteTrigger} from './autocomplete-trigger';
2323
import {MatAutocompleteModule} from './module';
2424

25-
describe('MDC-based MatAutocomplete Zone.js integration', () => {
25+
describe('MatAutocomplete Zone.js integration', () => {
2626
// Creates a test component fixture.
2727
function createComponent<T>(component: Type<T>, providers: Provider[] = []) {
2828
TestBed.configureTestingModule({

src/material/button/button.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
MatFabDefaultOptions,
1212
} from './index';
1313

14-
describe('MDC-based MatButton', () => {
14+
describe('MatButton', () => {
1515
beforeEach(waitForAsync(() => {
1616
TestBed.configureTestingModule({
1717
imports: [MatButtonModule, TestApp],

src/material/button/testing/button-harness.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
} from '@angular/cdk/testing';
1515
import {ButtonHarnessFilters, ButtonVariant} from './button-harness-filters';
1616

17-
/** Harness for interacting with a MDC-based mat-button in tests. */
17+
/** Harness for interacting with a mat-button in tests. */
1818
export class MatButtonHarness extends ContentContainerComponentHarness {
1919
// TODO(jelbourn) use a single class, like `.mat-button-base`
2020
static hostSelector = `[mat-button], [mat-raised-button], [mat-flat-button],

src/material/card/card.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {Component, Provider, Type, signal} from '@angular/core';
33
import {MatCardModule} from './module';
44
import {MatCard, MAT_CARD_CONFIG, MatCardAppearance} from './card';
55

6-
describe('MDC-based MatCard', () => {
6+
describe('MatCard', () => {
77
function createComponent<T>(component: Type<T>, providers: Provider[] = []): ComponentFixture<T> {
88
TestBed.configureTestingModule({
99
imports: [MatCardModule, component],

src/material/card/testing/card-harness.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export enum MatCardSection {
2121
FOOTER = '.mat-mdc-card-footer',
2222
}
2323

24-
/** Harness for interacting with an MDC-based mat-card in tests. */
24+
/** Harness for interacting with a mat-card in tests. */
2525
export class MatCardHarness extends ContentContainerComponentHarness<MatCardSection> {
2626
/** The selector for the host element of a `MatCard` instance. */
2727
static hostSelector = '.mat-mdc-card';

src/material/checkbox/checkbox.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
MatCheckboxModule,
1313
} from './index';
1414

15-
describe('MDC-based MatCheckbox', () => {
15+
describe('MatCheckbox', () => {
1616
let fixture: ComponentFixture<any>;
1717

1818
function createComponent<T>(componentType: Type<T>) {

src/material/chips/chip-edit-input.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {waitForAsync, TestBed, ComponentFixture} from '@angular/core/testing';
33
import {MatChipEditInput, MatChipsModule} from './index';
44
import {By} from '@angular/platform-browser';
55

6-
describe('MDC-based MatChipEditInput', () => {
6+
describe('MatChipEditInput', () => {
77
const DEFAULT_INITIAL_VALUE = 'INITIAL_VALUE';
88

99
let fixture: ComponentFixture<any>;

src/material/chips/chip-grid.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import {By} from '@angular/platform-browser';
4141
import {BrowserAnimationsModule, NoopAnimationsModule} from '@angular/platform-browser/animations';
4242
import {MatChipEvent, MatChipGrid, MatChipInputEvent, MatChipRow, MatChipsModule} from './index';
4343

44-
describe('MDC-based MatChipGrid', () => {
44+
describe('MatChipGrid', () => {
4545
let chipGridDebugElement: DebugElement;
4646
let chipGridNativeElement: HTMLElement;
4747
let chipGridInstance: MatChipGrid;

src/material/chips/chip-input.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import {
1717
MatChipsModule,
1818
} from './index';
1919

20-
describe('MDC-based MatChipInput', () => {
20+
describe('MatChipInput', () => {
2121
let fixture: ComponentFixture<any>;
2222
let testChipInput: TestChipInput;
2323
let inputDebugElement: DebugElement;

0 commit comments

Comments
 (0)