Skip to content

Commit

Permalink
Change status of all dash-html5 tests to mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
pawel-bartkowiak-epam committed Sep 14, 2023
1 parent 360466b commit 9cf3a3e
Showing 1 changed file with 8 additions and 33 deletions.
41 changes: 8 additions & 33 deletions src/suites.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ function filterSkipTests(skipTests, tests) {
unstable = new Unstable(`IsTypeSupported returns incorrect value for container ${container}`);
}
tests.push(
new MvtTest(makeVideoCanPlayTest(codec, container, MIME_TYPE_MAPPING[codec]), `CanPlay_${container.replace("/", "_")}_${codec}`)
new MvtTest(
makeVideoCanPlayTest(codec, container, MIME_TYPE_MAPPING[codec]),
`CanPlay_${container.replace("/", "_")}_${codec}`
)
);
tests.push(
new MvtTest(
Expand Down Expand Up @@ -130,41 +133,13 @@ window.testSuiteVersions[testVersion]["config"]["defaultTestSuite"] = "codec-sup
let engine = new Html5Engine();
// in 'skipTests' specify test name as key and reason as value, e.g.: "DASH_FMP4_MP3 Seek": "ONEM-12345"
let skipTests = {};
StreamSets.DASH.html5 = StreamSets.DASH.Common.filter((stream) => {
return (
stream != MS.DASH.WEBM_VP9_OPUS &&
stream != MS.DASH.DYNAMIC &&
stream != MS.DASH.FMP4_HEVC_EAC3 &&
stream != MS.DASH.CMAF_HEVC_AAC &&
stream != MS.DASH.MULTIPERIOD
); // ONEM-27782
});

let tests = makeMvtMediaTests(testPlayback, engine, StreamSets.DASH.html5);
tests.push(new MvtMediaTest(testPlayback, MS.DASH.WEBM_VP9_OPUS, engine, new Unstable("ONEM-27782")));
tests.push(new MvtMediaTest(testPlayback, MS.DASH.DYNAMIC, engine, new Unstable("ONEM-27782")));
tests.push(new MvtMediaTest(testPlayback, MS.DASH.FMP4_HEVC_EAC3, engine));
tests.push(new MvtMediaTest(testPlayback, MS.DASH.CMAF_HEVC_AAC, engine, new Unstable("ONEM-29170")));
tests.push(new MvtMediaTest(testPlayback, MS.DASH.MULTIPERIOD, engine, new Unstable("ONEM-27782")));

tests = tests.concat(makeMvtMediaTests(testPause, engine, StreamSets.DASH.html5));
tests.push(new MvtMediaTest(testPause, MS.DASH.WEBM_VP9_OPUS, engine, new Unstable("ONEM-27782")));
tests.push(new MvtMediaTest(testPause, MS.DASH.DYNAMIC, engine, new Unstable("ONEM-27782")));
tests.push(new MvtMediaTest(testPause, MS.DASH.FMP4_HEVC_EAC3, engine, new Unstable("ONEM-27782")));
tests.push(new MvtMediaTest(testPause, MS.DASH.CMAF_HEVC_AAC, engine, new Unstable("ONEM-29170")));
tests.push(new MvtMediaTest(testPause, MS.DASH.MULTIPERIOD, engine, new Unstable("ONEM-27782")));

tests = tests.concat(makeMvtMediaTests(testSetPosition, engine, StreamSets.DASH.html5));
tests.push(new MvtMediaTest(testSetPosition, MS.DASH.WEBM_VP9_OPUS, engine, new Unstable("ONEM-27782")));
tests.push(new MvtMediaTest(testSetPosition, MS.DASH.DYNAMIC, engine, new Unstable("ONEM-27782")));
tests.push(new MvtMediaTest(testSetPosition, MS.DASH.FMP4_HEVC_EAC3, engine));
tests.push(new MvtMediaTest(testSetPosition, MS.DASH.CMAF_HEVC_AAC, engine, new Unstable("ONEM-29170")));
tests.push(new MvtMediaTest(testSetPosition, MS.DASH.MULTIPERIOD, engine, new Unstable("ONEM-27782")));

let tests = makeMvtMediaTests(testPlayback, engine, StreamSets.DASH.Common);
tests = tests.concat(makeMvtMediaTests(testPause, engine, StreamSets.DASH.Common));
tests = tests.concat(makeMvtMediaTests(testSetPosition, engine, StreamSets.DASH.Common));
// tests = tests.concat(makeMvtMediaTests(testPlayRate, engine, StreamSets.DASH.html5, new Unstable("ONEM-26268")));
tests = tests.concat(makeMvtMediaTests(testSubtitles, engine, StreamSets.DASH.Subtitles, new Unstable("ONEM-27782")));

tests.push(new MvtMediaTest(testChangeAudioTracks, MS.DASH.MULTIAUDIO, engine, null, 40000));
tests = tests.concat(makeMvtMediaTests(testSubtitles, engine, StreamSets.DASH.Subtitles));

tests = filterUnsupportedOnProfile(SelectedProfile, tests);
tests = filterSkipTests(skipTests, tests);
Expand Down

0 comments on commit 9cf3a3e

Please sign in to comment.