test(language-service): Remove redundant marker methods in MockHost (#33115)

Remove the following methods from MockHost:

1. `getMarkerLocations`: Replaced with `getLocationMarkerFor()`
2. `getReferenceMarkers`: Replaced with `getReferenceMarkerFor()`

PR Close #33115
This commit is contained in:
Keen Yee Liau
2019-10-11 13:56:33 -07:00
committed by Miško Hevery
parent 1a67d70bf8
commit 84ba1f012e
7 changed files with 85 additions and 77 deletions

View File

@ -15,7 +15,7 @@ export interface Person {
@Component({
template: `
<div *ngFor="let person of ~{people_1}people_1~{people_1-end}">
<div *ngFor="let person of ~{start-people_1}people_1~{end-people_1}">
<span>{{person.name}}</span>
</div>`,
})
@ -24,7 +24,7 @@ export class UnknownPeople {
@Component({
template: `
<div ~{even_1}*ngFor="let person of people; let e = even_1"~{even_1-end}>
<div ~{start-even_1}*ngFor="let person of people; let e = even_1"~{end-even_1}>
<span>{{person.name}}</span>
</div>`,
})
@ -34,7 +34,7 @@ export class UnknownEven {
@Component({
template: `
<div *ngFor="let person of people; trackBy ~{trackBy_1}trackBy_1~{trackBy_1-end}">
<div *ngFor="let person of people; trackBy ~{start-trackBy_1}trackBy_1~{end-trackBy_1}">
<span>{{person.name}}</span>
</div>`,
})