Skip to content

Commit

Permalink
test: update fixtures to take iFramePlaylists property into account
Browse files Browse the repository at this point in the history
  • Loading branch information
amtins committed Aug 12, 2023
1 parent 775be02 commit 29bde83
Show file tree
Hide file tree
Showing 57 changed files with 57 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/fixtures/integration/absoluteUris.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
mediaSequence: 0,
playlistType: 'VOD',
segments: [
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/allowCache.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module.exports = {
allowCache: true,
iFramePlaylists: [],
mediaSequence: 0,
dateRanges: [],
playlistType: 'VOD',
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/allowCacheInvalid.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module.exports = {
allowCache: true,
iFramePlaylists: [],
mediaSequence: 0,
dateRanges: [],
playlistType: 'VOD',
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/alternateAudio.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ module.exports = {
allowCache: true,
discontinuityStarts: [],
dateRanges: [],
iFramePlaylists: [],
mediaGroups: {
// TYPE
'AUDIO': {
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/alternateVideo.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ module.exports = {
allowCache: true,
discontinuityStarts: [],
dateRanges: [],
iFramePlaylists: [],
mediaGroups: {
'AUDIO': {
aac: {
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/brightcove.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module.exports = {
allowCache: true,
iFramePlaylists: [],
dateRanges: [],
playlists: [
{
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/byteRange.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
mediaSequence: 0,
playlistType: 'VOD',
segments: [
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/dateTime.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module.exports = {
allowCache: false,
iFramePlaylists: [],
mediaSequence: 0,
dateRanges: [],
playlistType: 'VOD',
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/diff-init-key.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module.exports = {
discontinuitySequence: 0,
discontinuityStarts: [],
dateRanges: [],
iFramePlaylists: [],
mediaSequence: 7794,
segments: [
{
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/disallowCache.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: false,
dateRanges: [],
iFramePlaylists: [],
mediaSequence: 0,
playlistType: 'VOD',
segments: [
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/disc-sequence.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
mediaSequence: 0,
discontinuitySequence: 3,
segments: [
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/discontinuity.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
mediaSequence: 0,
discontinuitySequence: 0,
segments: [
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/domainUris.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
mediaSequence: 0,
playlistType: 'VOD',
segments: [
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/empty.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ module.exports = {
allowCache: true,
dateRanges: [],
discontinuityStarts: [],
iFramePlaylists: [],
segments: []
};
1 change: 1 addition & 0 deletions test/fixtures/integration/emptyAllowCache.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
mediaSequence: 0,
playlistType: 'VOD',
segments: [
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/emptyMediaSequence.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
mediaSequence: 0,
playlistType: 'VOD',
segments: [
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/emptyPlaylistType.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
mediaSequence: 0,
segments: [
{
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/emptyTargetDuration.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
playlists: [
{
attributes: {
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/encrypted.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
mediaSequence: 7794,
discontinuitySequence: 0,
discontinuityStarts: [],
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/event.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
mediaSequence: 0,
playlistType: 'EVENT',
segments: [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
mediaSequence: 1,
segments: [
{
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/extinf.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
mediaSequence: 0,
playlistType: 'VOD',
segments: [
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/fmp4.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
mediaSequence: 1,
playlistType: 'VOD',
targetDuration: 6,
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/headerOnly.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ module.exports = {
allowCache: true,
dateRanges: [],
discontinuityStarts: [],
iFramePlaylists: [],
segments: []
};
1 change: 1 addition & 0 deletions test/fixtures/integration/invalidAllowCache.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
mediaSequence: 0,
playlistType: 'VOD',
segments: [
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/invalidMediaSequence.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
mediaSequence: 0,
playlistType: 'VOD',
segments: [
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/invalidPlaylistType.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
mediaSequence: 0,
segments: [
{
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/invalidTargetDuration.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
mediaSequence: 0,
playlistType: 'VOD',
segments: [
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/liveMissingSegmentDuration.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
mediaSequence: 0,
playlistType: 'VOD',
segments: [
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/liveStart30sBefore.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
mediaSequence: 0,
segments: [
{
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/llhls-byte-range.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module.exports = {
dateRanges: [],
discontinuitySequence: 0,
discontinuityStarts: [],
iFramePlaylists: [],
mediaSequence: 0,
playlistType: 'VOD',
preloadSegment: {
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/llhls-delta-byte-range.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module.exports = {
dateRanges: [],
discontinuitySequence: 0,
discontinuityStarts: [],
iFramePlaylists: [],
mediaSequence: 0,
playlistType: 'VOD',
preloadSegment: {
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/llhls.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module.exports = {
dateRanges: [],
discontinuitySequence: 0,
discontinuityStarts: [],
iFramePlaylists: [],
mediaSequence: 266,
preloadSegment: {
map: {uri: 'init.mp4'},
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/llhlsDelta.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module.exports = {
dateRanges: [],
discontinuitySequence: 0,
discontinuityStarts: [],
iFramePlaylists: [],
mediaSequence: 266,
preloadSegment: {
timeline: 0,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
mediaSequence: 0,
segments: [
{
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/manifestExtXEndlistEarly.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
mediaSequence: 0,
segments: [
{
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/manifestNoExtM3u.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
mediaSequence: 0,
segments: [
{
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/master.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
playlists: [
{
attributes: {
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/media.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
mediaSequence: 0,
playlistType: 'VOD',
segments: [
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/mediaSequence.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
mediaSequence: 0,
playlistType: 'VOD',
segments: [
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/missingEndlist.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
mediaSequence: 0,
segments: [
{
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/missingExtinf.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
mediaSequence: 0,
playlistType: 'VOD',
segments: [
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/missingMediaSequence.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
mediaSequence: 0,
playlistType: 'VOD',
segments: [
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/missingSegmentDuration.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
mediaSequence: 0,
playlistType: 'VOD',
segments: [
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/multipleAudioGroups.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ module.exports = {
allowCache: true,
dateRanges: [],
discontinuityStarts: [],
iFramePlaylists: [],
mediaGroups: {
'AUDIO': {
'audio-lo': {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ module.exports = {
allowCache: true,
dateRanges: [],
discontinuityStarts: [],
iFramePlaylists: [],
mediaGroups: {
'AUDIO': {
'audio-lo': {
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/multipleTargetDurations.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
mediaSequence: 0,
targetDuration: 10,
segments: [
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/multipleVideo.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ module.exports = {
allowCache: true,
dateRanges: [],
discontinuityStarts: [],
iFramePlaylists: [],
mediaGroups: {
'AUDIO': {
aac: {
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/negativeMediaSequence.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
mediaSequence: -11,
playlistType: 'VOD',
segments: [
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/integration/playlist.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
allowCache: true,
dateRanges: [],
iFramePlaylists: [],
mediaSequence: 0,
playlistType: 'VOD',
segments: [
Expand Down
Loading

0 comments on commit 29bde83

Please sign in to comment.