@@ -144,22 +144,22 @@ describe('DashManifestModel', function () {
144144 expect ( rolesArray [ 1 ] . value ) . equals ( 'Main' ) ;
145145 } ) ;
146146
147- it ( 'should return an empty array when getEssentialPropertiesForAdaptationSet ' , ( ) => {
148- const suppPropArray = dashManifestModel . getEssentialPropertiesForAdaptationSet ( ) ;
147+ it ( 'should return an empty array when getEssentialProperties ' , ( ) => {
148+ const suppPropArray = dashManifestModel . getEssentialProperties ( ) ;
149149
150150 expect ( suppPropArray ) . to . be . instanceOf ( Object ) ;
151151 expect ( suppPropArray ) . to . be . empty ;
152152 } ) ;
153153
154- it ( 'should return an empty array when getEssentialPropertiesForAdaptationSet ' , ( ) => {
155- const suppPropArray = dashManifestModel . getEssentialPropertiesForAdaptationSet ( ) ;
154+ it ( 'should return an empty array when getEssentialProperties ' , ( ) => {
155+ const suppPropArray = dashManifestModel . getEssentialProperties ( ) ;
156156
157157 expect ( suppPropArray ) . to . be . instanceOf ( Array ) ;
158158 expect ( suppPropArray ) . to . be . empty ;
159159 } ) ;
160160
161- it ( 'should return correct array of DescriptorType when getEssentialPropertiesForAdaptationSet is called' , ( ) => {
162- const essPropArray = dashManifestModel . getEssentialPropertiesForAdaptationSet ( {
161+ it ( 'should return correct array of DescriptorType when getEssentialProperties is called' , ( ) => {
162+ const essPropArray = dashManifestModel . getEssentialProperties ( {
163163 EssentialProperty : [ { schemeIdUri : 'test.scheme' , value : 'testVal' } , {
164164 schemeIdUri : 'test.scheme' ,
165165 value : 'test2Val'
@@ -175,22 +175,22 @@ describe('DashManifestModel', function () {
175175 expect ( essPropArray [ 1 ] . value ) . equals ( 'test2Val' ) ;
176176 } ) ;
177177
178- it ( 'should return an empty array when getEssentialPropertiesForRepresentation ' , ( ) => {
179- const essPropArray = dashManifestModel . getEssentialPropertiesForRepresentation ( ) ;
178+ it ( 'should return an empty array when getEssentialProperties ' , ( ) => {
179+ const essPropArray = dashManifestModel . getEssentialProperties ( ) ;
180180
181181 expect ( essPropArray ) . to . be . instanceOf ( Object ) ;
182182 expect ( essPropArray ) . to . be . empty ;
183183 } ) ;
184184
185- it ( 'should return an empty array when getEssentialPropertiesForRepresentation ' , ( ) => {
186- const essPropArray = dashManifestModel . getEssentialPropertiesForRepresentation ( ) ;
185+ it ( 'should return an empty array when getEssentialProperties ' , ( ) => {
186+ const essPropArray = dashManifestModel . getEssentialProperties ( ) ;
187187
188188 expect ( essPropArray ) . to . be . instanceOf ( Array ) ;
189189 expect ( essPropArray ) . to . be . empty ;
190190 } ) ;
191191
192- it ( 'should return correct array of DescriptorType when getEssentialPropertiesForRepresentation is called' , ( ) => {
193- const essPropArray = dashManifestModel . getEssentialPropertiesForRepresentation ( {
192+ it ( 'should return correct array of DescriptorType when getEssentialProperties is called' , ( ) => {
193+ const essPropArray = dashManifestModel . getEssentialProperties ( {
194194 EssentialProperty : [ { schemeIdUri : 'test.scheme' , value : 'testVal' } ]
195195 } ) ;
196196
@@ -200,61 +200,6 @@ describe('DashManifestModel', function () {
200200 expect ( essPropArray [ 0 ] . value ) . equals ( 'testVal' ) ;
201201 } ) ;
202202
203- it ( 'should return an empty array when getSupplementalPropertiesForAdaptationSet' , ( ) => {
204- const suppPropArray = dashManifestModel . getSupplementalPropertiesForAdaptationSet ( ) ;
205-
206- expect ( suppPropArray ) . to . be . instanceOf ( Object ) ;
207- expect ( suppPropArray ) . to . be . empty ;
208- } ) ;
209-
210- it ( 'should return an empty array when getSupplementalPropertiesForAdaptationSet' , ( ) => {
211- const suppPropArray = dashManifestModel . getSupplementalPropertiesForAdaptationSet ( ) ;
212-
213- expect ( suppPropArray ) . to . be . instanceOf ( Array ) ;
214- expect ( suppPropArray ) . to . be . empty ;
215- } ) ;
216-
217- it ( 'should return correct array of DescriptorType when getSupplementalPropertiesForAdaptationSet is called' , ( ) => {
218- const suppPropArray = dashManifestModel . getSupplementalPropertiesForAdaptationSet ( {
219- SupplementalProperty : [ { schemeIdUri : 'test.scheme' , value : 'testVal' } , {
220- schemeIdUri : 'test.scheme' ,
221- value : 'test2Val'
222- } ]
223- } ) ;
224-
225- expect ( suppPropArray ) . to . be . instanceOf ( Array ) ;
226- expect ( suppPropArray [ 0 ] ) . to . be . instanceOf ( DescriptorType ) ;
227- expect ( suppPropArray [ 0 ] . schemeIdUri ) . equals ( 'test.scheme' ) ;
228- expect ( suppPropArray [ 0 ] . value ) . equals ( 'testVal' ) ;
229- expect ( suppPropArray [ 1 ] . schemeIdUri ) . equals ( 'test.scheme' ) ;
230- expect ( suppPropArray [ 1 ] . value ) . equals ( 'test2Val' ) ;
231- } ) ;
232-
233- it ( 'should return an empty array when getSupplementalPropertiesForRepresentation' , ( ) => {
234- const suppPropArray = dashManifestModel . getSupplementalPropertiesForRepresentation ( ) ;
235-
236- expect ( suppPropArray ) . to . be . instanceOf ( Object ) ;
237- expect ( suppPropArray ) . to . be . empty ;
238- } ) ;
239-
240- it ( 'should return an empty array when getSupplementalPropertiesForRepresentation' , ( ) => {
241- const suppPropArray = dashManifestModel . getSupplementalPropertiesForRepresentation ( ) ;
242-
243- expect ( suppPropArray ) . to . be . instanceOf ( Array ) ;
244- expect ( suppPropArray ) . to . be . empty ;
245- } ) ;
246-
247- it ( 'should return correct array of DescriptorType when getSupplementalPropertiesForRepresentation is called' , ( ) => {
248- const suppPropArray = dashManifestModel . getSupplementalPropertiesForRepresentation ( {
249- SupplementalProperty : [ { schemeIdUri : 'test.scheme' , value : 'testVal' } ]
250- } ) ;
251-
252- expect ( suppPropArray ) . to . be . instanceOf ( Array ) ;
253- expect ( suppPropArray [ 0 ] ) . to . be . instanceOf ( DescriptorType ) ;
254- expect ( suppPropArray [ 0 ] . schemeIdUri ) . equals ( 'test.scheme' ) ;
255- expect ( suppPropArray [ 0 ] . value ) . equals ( 'testVal' ) ;
256- } ) ;
257-
258203 it ( 'should return null when getAdaptationForId is called and id, manifest and periodIndex are undefined' , ( ) => {
259204 const adaptation = dashManifestModel . getAdaptationForId ( undefined , undefined , undefined ) ;
260205
0 commit comments