Skip to content

Commit

Permalink
Add missing file extension to functional testsuite classes
Browse files Browse the repository at this point in the history
  • Loading branch information
dsilhavy committed Feb 24, 2024
1 parent b81a585 commit 1d370a4
Show file tree
Hide file tree
Showing 36 changed files with 75 additions and 76 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"test": "karma start karma.unit.conf.cjs",
"test-browserunit": "karma start build/karma.conf.cjs",
"test-functional": "node test/functional/runTests.cjs --selenium=remote --app=remote",
"test-functional-mocha": "karma start karma.functional.conf.cjs --testsuite=content.js",
"prepare": "node githook.cjs",
"prepack": "npm run build"
},
Expand Down
2 changes: 1 addition & 1 deletion test/functional-karma/adapter/DashJsAdapter.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Constants from '../helper/Constants';
import Constants from '../helper/Constants.js';

class DashJsAdapter {

Expand Down
4 changes: 1 addition & 3 deletions test/functional-karma/adapter/GoogleAdManagerAdapter.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import Constants from '../helper/Constants';

const NETWORK_CODE = '51636543';
const CUSTOM_ASSET_KEY = 'dash-pod-serving-manifest-1';
const SCHEME_ID_URI = 'https://developer.apple.com/streaming/emsg-id3';
Expand Down Expand Up @@ -139,4 +137,4 @@ class GoogleAdManagerAdapter {

}

export default GoogleAdManagerAdapter
export default GoogleAdManagerAdapter
2 changes: 1 addition & 1 deletion test/functional-karma/config/drm.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Constants from '../helper/Constants';
import Constants from '../helper/Constants.js';

export default [
{
Expand Down
2 changes: 1 addition & 1 deletion test/functional-karma/config/emsg.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Constants from '../helper/Constants';
import Constants from '../helper/Constants.js';

export default [
{
Expand Down
2 changes: 1 addition & 1 deletion test/functional-karma/config/ept-delta.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Constants from '../helper/Constants';
import Constants from '../helper/Constants.js';

export default [
{
Expand Down
2 changes: 1 addition & 1 deletion test/functional-karma/config/gaps.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Constants from '../helper/Constants';
import Constants from '../helper/Constants.js';

export default [
{
Expand Down
2 changes: 1 addition & 1 deletion test/functional-karma/config/live-basic.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Constants from '../helper/Constants';
import Constants from '../helper/Constants.js';

export default [
{
Expand Down
2 changes: 1 addition & 1 deletion test/functional-karma/config/low-latency.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Constants from '../helper/Constants';
import Constants from '../helper/Constants.js';

export default [
{
Expand Down
2 changes: 1 addition & 1 deletion test/functional-karma/config/mss.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Constants from '../helper/Constants';
import Constants from '../helper/Constants.js';

export default [
{
Expand Down
2 changes: 1 addition & 1 deletion test/functional-karma/config/multi-audio.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Constants from '../helper/Constants';
import Constants from '../helper/Constants.js';

export default [
{
Expand Down
2 changes: 1 addition & 1 deletion test/functional-karma/config/multiperiod.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Constants from '../helper/Constants';
import Constants from '../helper/Constants.js';

export default [
{
Expand Down
2 changes: 1 addition & 1 deletion test/functional-karma/config/single-vector.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Constants from '../helper/Constants';
import Constants from '../helper/Constants.js';

export default [
{
Expand Down
2 changes: 1 addition & 1 deletion test/functional-karma/config/subtitle.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Constants from '../helper/Constants';
import Constants from '../helper/Constants.js';

export default [
{
Expand Down
4 changes: 2 additions & 2 deletions test/functional-karma/config/vendor.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Constants from '../helper/Constants';
import Constants from '../helper/Constants.js';

export default [
{
Expand All @@ -7,4 +7,4 @@ export default [
url: '',
testcases: [Constants.TESTCASES.VENDOR.GOOGLE_AD_MANAGER_EMSG]
},
]
]
2 changes: 1 addition & 1 deletion test/functional-karma/config/vod-basic.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Constants from '../helper/Constants';
import Constants from '../helper/Constants.js';

export default [
{
Expand Down
6 changes: 3 additions & 3 deletions test/functional-karma/test/advanced/no-reload-after-seek.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import DashJsAdapter from '../../adapter/DashJsAdapter';
import Constants from '../../helper/Constants';
import Utils from '../../helper/Utils';
import DashJsAdapter from '../../adapter/DashJsAdapter.js';
import Constants from '../../helper/Constants.js';
import Utils from '../../helper/Utils.js';
import {expect} from 'chai'

const TESTCASE = Constants.TESTCASES.ADVANCED.NO_RELOAD_AFTER_SEEK;
Expand Down
6 changes: 3 additions & 3 deletions test/functional-karma/test/advanced/seek-in-gaps.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import DashJsAdapter from '../../adapter/DashJsAdapter';
import Constants from '../../helper/Constants';
import Utils from '../../helper/Utils';
import DashJsAdapter from '../../adapter/DashJsAdapter.js';
import Constants from '../../helper/Constants.js';
import Utils from '../../helper/Utils.js';
import {expect} from 'chai'

const TESTCASE = Constants.TESTCASES.ADVANCED.SEEK_IN_GAPS
Expand Down
6 changes: 3 additions & 3 deletions test/functional-karma/test/simple/attach-at-non-zero.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import DashJsAdapter from '../../adapter/DashJsAdapter';
import Constants from '../../helper/Constants';
import Utils from '../../helper/Utils';
import DashJsAdapter from '../../adapter/DashJsAdapter.js';
import Constants from '../../helper/Constants.js';
import Utils from '../../helper/Utils.js';
import {expect} from 'chai'

const TESTCASE = Constants.TESTCASES.SIMPLE.ATTACH_AT_NON_ZERO;
Expand Down
6 changes: 3 additions & 3 deletions test/functional-karma/test/simple/attach-with-posix.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import DashJsAdapter from '../../adapter/DashJsAdapter';
import Constants from '../../helper/Constants';
import Utils from '../../helper/Utils';
import DashJsAdapter from '../../adapter/DashJsAdapter.js';
import Constants from '../../helper/Constants.js';
import Utils from '../../helper/Utils.js';
import {expect} from 'chai'

const TESTCASE = Constants.TESTCASES.SIMPLE.ATTACH_WITH_POSIX;
Expand Down
6 changes: 3 additions & 3 deletions test/functional-karma/test/simple/buffer-cleanup.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import DashJsAdapter from '../../adapter/DashJsAdapter';
import Constants from '../../helper/Constants';
import Utils from '../../helper/Utils';
import DashJsAdapter from '../../adapter/DashJsAdapter.js';
import Constants from '../../helper/Constants.js';
import Utils from '../../helper/Utils.js';
import {expect} from 'chai'

const TESTCASE = Constants.TESTCASES.SIMPLE.BUFFER_CLEANUP;
Expand Down
6 changes: 3 additions & 3 deletions test/functional-karma/test/simple/emsg-triggered.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import DashJsAdapter from '../../adapter/DashJsAdapter';
import Constants from '../../helper/Constants';
import Utils from '../../helper/Utils';
import DashJsAdapter from '../../adapter/DashJsAdapter.js';
import Constants from '../../helper/Constants.js';
import Utils from '../../helper/Utils.js';
import {expect} from 'chai'

const TESTCASE = Constants.TESTCASES.SIMPLE.EMSG_TRIGGERED;
Expand Down
6 changes: 3 additions & 3 deletions test/functional-karma/test/simple/ended.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import DashJsAdapter from '../../adapter/DashJsAdapter';
import Constants from '../../helper/Constants';
import Utils from '../../helper/Utils';
import DashJsAdapter from '../../adapter/DashJsAdapter.js';
import Constants from '../../helper/Constants.js';
import Utils from '../../helper/Utils.js';
import {expect} from 'chai'

const TESTCASE = Constants.TESTCASES.SIMPLE.ENDED;
Expand Down
6 changes: 3 additions & 3 deletions test/functional-karma/test/simple/initial-buffer-target.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import DashJsAdapter from '../../adapter/DashJsAdapter';
import Constants from '../../helper/Constants';
import Utils from '../../helper/Utils';
import DashJsAdapter from '../../adapter/DashJsAdapter.js';
import Constants from '../../helper/Constants.js';
import Utils from '../../helper/Utils.js';
import {expect} from 'chai'

const TESTCASE = Constants.TESTCASES.SIMPLE.INITIAL_BUFFER_TARGET;
Expand Down
6 changes: 3 additions & 3 deletions test/functional-karma/test/simple/latency-catchup.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import DashJsAdapter from '../../adapter/DashJsAdapter';
import Constants from '../../helper/Constants';
import Utils from '../../helper/Utils';
import DashJsAdapter from '../../adapter/DashJsAdapter.js';
import Constants from '../../helper/Constants.js';
import Utils from '../../helper/Utils.js';
import {expect} from 'chai'

const TESTCASE = Constants.TESTCASES.SIMPLE.LIVE_CATCHUP;
Expand Down
6 changes: 3 additions & 3 deletions test/functional-karma/test/simple/live-delay.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import DashJsAdapter from '../../adapter/DashJsAdapter';
import Constants from '../../helper/Constants';
import Utils from '../../helper/Utils';
import DashJsAdapter from '../../adapter/DashJsAdapter.js';
import Constants from '../../helper/Constants.js';
import Utils from '../../helper/Utils.js';
import {expect} from 'chai'

const TESTCASE = Constants.TESTCASES.SIMPLE.LIVE_DELAY;
Expand Down
6 changes: 3 additions & 3 deletions test/functional-karma/test/simple/mpd-anchor.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import DashJsAdapter from '../../adapter/DashJsAdapter';
import Constants from '../../helper/Constants';
import Utils from '../../helper/Utils';
import DashJsAdapter from '../../adapter/DashJsAdapter.js';
import Constants from '../../helper/Constants.js';
import Utils from '../../helper/Utils.js';
import {expect} from 'chai'

const TESTCASE = Constants.TESTCASES.SIMPLE.MPD_ANCHOR;
Expand Down
6 changes: 3 additions & 3 deletions test/functional-karma/test/simple/multiperiod-playback.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import DashJsAdapter from '../../adapter/DashJsAdapter';
import Constants from '../../helper/Constants';
import Utils from '../../helper/Utils';
import DashJsAdapter from '../../adapter/DashJsAdapter.js';
import Constants from '../../helper/Constants.js';
import Utils from '../../helper/Utils.js';
import {expect} from 'chai'

const TESTCASE = Constants.TESTCASES.SIMPLE.MULTIPERIOD_PLAYBACK;
Expand Down
6 changes: 3 additions & 3 deletions test/functional-karma/test/simple/pause.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import DashJsAdapter from '../../adapter/DashJsAdapter';
import Constants from '../../helper/Constants';
import Utils from '../../helper/Utils';
import DashJsAdapter from '../../adapter/DashJsAdapter.js';
import Constants from '../../helper/Constants.js';
import Utils from '../../helper/Utils.js';
import {expect} from 'chai'

const TESTCASE = Constants.TESTCASES.SIMPLE.PAUSE;
Expand Down
6 changes: 3 additions & 3 deletions test/functional-karma/test/simple/play.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import DashJsAdapter from '../../adapter/DashJsAdapter';
import Constants from '../../helper/Constants';
import Utils from '../../helper/Utils';
import DashJsAdapter from '../../adapter/DashJsAdapter.js';
import Constants from '../../helper/Constants.js';
import Utils from '../../helper/Utils.js';
import {expect} from 'chai'

const TESTCASE = Constants.TESTCASES.SIMPLE.PLAY;
Expand Down
6 changes: 3 additions & 3 deletions test/functional-karma/test/simple/seek.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import DashJsAdapter from '../../adapter/DashJsAdapter';
import Constants from '../../helper/Constants';
import Utils from '../../helper/Utils';
import DashJsAdapter from '../../adapter/DashJsAdapter.js';
import Constants from '../../helper/Constants.js';
import Utils from '../../helper/Utils.js';
import {expect} from 'chai'

const TESTCASE = Constants.TESTCASES.SIMPLE.SEEK;
Expand Down
6 changes: 3 additions & 3 deletions test/functional-karma/test/simple/switch-audio.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import DashJsAdapter from '../../adapter/DashJsAdapter';
import Constants from '../../helper/Constants';
import Utils from '../../helper/Utils';
import DashJsAdapter from '../../adapter/DashJsAdapter.js';
import Constants from '../../helper/Constants.js';
import Utils from '../../helper/Utils.js';
import {expect} from 'chai'

const TESTCASE = Constants.TESTCASES.SIMPLE.SWITCH_AUDIO;
Expand Down
6 changes: 3 additions & 3 deletions test/functional-karma/test/simple/switch-text.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import DashJsAdapter from '../../adapter/DashJsAdapter';
import Constants from '../../helper/Constants';
import Utils from '../../helper/Utils';
import DashJsAdapter from '../../adapter/DashJsAdapter.js';
import Constants from '../../helper/Constants.js';
import Utils from '../../helper/Utils.js';
import {expect} from 'chai'

const TESTCASE = Constants.TESTCASES.SIMPLE.SWITCH_TEXT;
Expand Down
6 changes: 3 additions & 3 deletions test/functional-karma/test/simple/switch-video.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import DashJsAdapter from '../../adapter/DashJsAdapter';
import Constants from '../../helper/Constants';
import Utils from '../../helper/Utils';
import DashJsAdapter from '../../adapter/DashJsAdapter.js';
import Constants from '../../helper/Constants.js';
import Utils from '../../helper/Utils.js';
import {expect} from 'chai'

const TESTCASE = Constants.TESTCASES.SIMPLE.SWITCH_VIDEO;
Expand Down
8 changes: 4 additions & 4 deletions test/functional-karma/test/vendor/google-ad-manager-emsg.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import DashJsAdapter from '../../adapter/DashJsAdapter';
import Constants from '../../helper/Constants';
import Utils from '../../helper/Utils';
import GoogleAdManagerAdapter from '../../adapter/GoogleAdManagerAdapter';
import DashJsAdapter from '../../adapter/DashJsAdapter.js';
import Constants from '../../helper/Constants.js';
import Utils from '../../helper/Utils.js';
import GoogleAdManagerAdapter from '../../adapter/GoogleAdManagerAdapter.js';
import {expect} from 'chai'

const TESTCASE = Constants.TESTCASES.VENDOR.GOOGLE_AD_MANAGER_EMSG;
Expand Down

0 comments on commit 1d370a4

Please sign in to comment.