refactor(ivy): prefix all generated instructions (#29692)

- Updates all instructions to be prefixed with the Greek delta symbol

PR Close #29692
This commit is contained in:
Ben Lesh
2019-04-04 11:41:52 -07:00
committed by Igor Minar
parent db62ccf9eb
commit 138ca5a246
149 changed files with 8266 additions and 7620 deletions

View File

@ -40,7 +40,7 @@ describe('hover', () => {
it('should be able to find a method from a call', () => {
hover(
` @Component({template: '<div (click)="«myClick()»;"></div>'}) export class MyComponent { myClick() { }}`,
` @Component({template: '<div (click)="«ΔmyClickΔ()»;"></div>'}) export class MyComponent { myClick() { }}`,
'method myClick of MyComponent');
});
@ -52,19 +52,19 @@ describe('hover', () => {
it('should be able to find a reference to a component', () => {
hover(
` @Component({template: '«<test-comp></test-comp>»'}) export class MyComponent { }`,
` @Component({template: '«<ΔtestΔ-comp></test-comp>»'}) export class MyComponent { }`,
'component TestComponent');
});
it('should be able to find an event provider', () => {
hover(
` @Component({template: '<test-comp «(test)="myHandler()"»></div>'}) export class MyComponent { myHandler() {} }`,
` @Component({template: '<test-comp «(ΔtestΔ)="myHandler()"»></div>'}) export class MyComponent { myHandler() {} }`,
'event testEvent of TestComponent');
});
it('should be able to find an input provider', () => {
hover(
` @Component({template: '<test-comp «[tcName]="name"»></div>'}) export class MyComponent { name = 'my name'; }`,
` @Component({template: '<test-comp «[ΔtcNameΔ]="name"»></div>'}) export class MyComponent { name = 'my name'; }`,
'property name of TestComponent');
});