Remove outdated manifest controller tests
The existing manifest controller tests are no longer valid or overlap with m3u8 parsing tests.
Showing
1 changed file
with
0 additions
and
42 deletions
... | @@ -16,48 +16,6 @@ | ... | @@ -16,48 +16,6 @@ |
16 | }); | 16 | }); |
17 | 17 | ||
18 | /* | 18 | /* |
19 | Manifest controller | ||
20 | */ | ||
21 | |||
22 | // module('manifest controller', { | ||
23 | // setup: function() { | ||
24 | // manifestController = new window.videojs.hls.ManifestController(); | ||
25 | // this.vjsget = window.videojs.get; | ||
26 | // window.videojs.get = function(url, success) { | ||
27 | // success(window.brightcove_playlist_data); | ||
28 | // }; | ||
29 | // }, | ||
30 | // teardown: function() { | ||
31 | // window.videojs.get = this.vjsget; | ||
32 | // } | ||
33 | // }); | ||
34 | |||
35 | // test('should create', function() { | ||
36 | // ok(manifestController); | ||
37 | // }); | ||
38 | |||
39 | // test('should return a parsed object', function() { | ||
40 | // parser.push(window.brightcove_playlist_data); | ||
41 | |||
42 | // strictEqual(parser.manifest.playlists.length, 4, 'Has correct rendition count'); | ||
43 | // strictEqual(parser.manifest.playlists[0].attributes.BANDWIDTH, 240000, 'First rendition index bandwidth is correct'); | ||
44 | // strictEqual(parser.manifest.playlists[0].attributes['PROGRAM-ID'], 1, 'First rendition index program-id is correct'); | ||
45 | // strictEqual(parser.manifest.playlists[0].attributes.RESOLUTION.width, 396, 'First rendition index resolution width is correct'); | ||
46 | // strictEqual(parser.manifest.playlists[0].attributes.RESOLUTION.height, 224, 'First rendition index resolution height is correct'); | ||
47 | // }); | ||
48 | |||
49 | // test('should get a manifest from an external URL', function() { | ||
50 | // manifestController.loadManifest('http://example.com/16x9-master.m3u8', | ||
51 | // function(responseData) { | ||
52 | // ok(responseData); | ||
53 | // }, | ||
54 | // function() { | ||
55 | // ok(false, 'does not error'); | ||
56 | // }, | ||
57 | // function() {}); | ||
58 | // }); | ||
59 | |||
60 | /* | ||
61 | M3U8 Test Suite | 19 | M3U8 Test Suite |
62 | */ | 20 | */ |
63 | 21 | ... | ... |
-
Please register or sign in to post a comment