22 "$schema" : " ../../test_case_schema.json" ,
33 "cases" : [
44 {
5- "description" : " should not register any @attr attributes as static attributes " ,
5+ "description" : " should generate animate enter instructions on element with a simple string " ,
66 "inputFiles" : [
7- " static_animation_attribute .ts"
7+ " animate_enter_with_string .ts"
88 ],
99 "expectations" : [
1010 {
1111 "files" : [
1212 {
13- "expected" : " static_animation_attribute_template .js" ,
14- "generated" : " static_animation_attribute .js"
13+ "expected" : " animate_enter_with_string_template .js" ,
14+ "generated" : " animate_enter_with_string .js"
1515 }
1616 ],
17- "failureMessage" : " Incorrect initialization attributes "
17+ "failureMessage" : " Incorrect ɵɵanimateEnter() call "
1818 }
1919 ]
2020 },
2121 {
22- "description" : " should dedup multiple [@event] listeners " ,
22+ "description" : " should generate animate enter instructions with host binding and simple string " ,
2323 "inputFiles" : [
24- " duplicate_animation_listeners .ts"
24+ " animate_enter_with_string_host_bindings .ts"
2525 ],
2626 "expectations" : [
2727 {
2828 "files" : [
2929 {
30- "expected" : " duplicate_animation_listeners_template .js" ,
31- "generated" : " duplicate_animation_listeners .js"
30+ "expected" : " animate_enter_with_string_host_bindings_template .js" ,
31+ "generated" : " animate_enter_with_string_host_bindings .js"
3232 }
3333 ],
34- "failureMessage" : " Incorrect initialization attributes"
34+ "failureMessage" : " Incorrect ɵɵanimateEnter() call"
35+ }
36+ ]
37+ },
38+ {
39+ "description" : " should generate animate enter instructions on element with a binding" ,
40+ "inputFiles" : [
41+ " animate_enter_with_binding.ts"
42+ ],
43+ "expectations" : [
44+ {
45+ "files" : [
46+ {
47+ "expected" : " animate_enter_with_binding_template.js" ,
48+ "generated" : " animate_enter_with_binding.js"
49+ }
50+ ],
51+ "failureMessage" : " Incorrect ɵɵanimateEnter() call"
52+ }
53+ ]
54+ },
55+ {
56+ "description" : " should generate animate enter instructions on element with an event binding" ,
57+ "inputFiles" : [
58+ " animate_enter_with_event_listener.ts"
59+ ],
60+ "expectations" : [
61+ {
62+ "files" : [
63+ {
64+ "expected" : " animate_enter_with_event_listener_template.js" ,
65+ "generated" : " animate_enter_with_event_listener.js"
66+ }
67+ ],
68+ "failureMessage" : " Incorrect ɵɵanimateEnter() call"
69+ }
70+ ]
71+ },
72+ {
73+ "description" : " should generate animate leave instructions on element with a simple string" ,
74+ "inputFiles" : [
75+ " animate_leave_with_string.ts"
76+ ],
77+ "expectations" : [
78+ {
79+ "files" : [
80+ {
81+ "expected" : " animate_leave_with_string_template.js" ,
82+ "generated" : " animate_leave_with_string.js"
83+ }
84+ ],
85+ "failureMessage" : " Incorrect ɵɵanimateLeave() call"
86+ }
87+ ]
88+ },
89+ {
90+ "description" : " should generate animate leave instructions on element with a binding" ,
91+ "inputFiles" : [
92+ " animate_leave_with_binding.ts"
93+ ],
94+ "expectations" : [
95+ {
96+ "files" : [
97+ {
98+ "expected" : " animate_leave_with_binding_template.js" ,
99+ "generated" : " animate_leave_with_binding.js"
100+ }
101+ ],
102+ "failureMessage" : " Incorrect ɵɵanimateLeave() call"
103+ }
104+ ]
105+ },
106+ {
107+ "description" : " should generate animate leave instructions on element with an event binding" ,
108+ "inputFiles" : [
109+ " animate_leave_with_event_listener.ts"
110+ ],
111+ "expectations" : [
112+ {
113+ "files" : [
114+ {
115+ "expected" : " animate_leave_with_event_listener_template.js" ,
116+ "generated" : " animate_leave_with_event_listener.js"
117+ }
118+ ],
119+ "failureMessage" : " Incorrect ɵɵanimateLeave() call"
120+ }
121+ ]
122+ },
123+ {
124+ "description" : " should generate animate leave instructions with host binding and simple string" ,
125+ "inputFiles" : [
126+ " animate_leave_with_string_host_bindings.ts"
127+ ],
128+ "expectations" : [
129+ {
130+ "files" : [
131+ {
132+ "expected" : " animate_leave_with_string_host_bindings_template.js" ,
133+ "generated" : " animate_leave_with_string_host_bindings.js"
134+ }
135+ ],
136+ "failureMessage" : " Incorrect ɵɵanimateLeave() call"
35137 }
36138 ]
37139 }
38140 ]
39- }
141+ }
0 commit comments