summaryrefslogtreecommitdiffstats
path: root/dom/media
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-06-08 18:12:08 +0000
committerMoonchild <moonchild@palemoon.org>2020-06-08 18:12:08 +0000
commitb0901eb0990191e1f063bfa13cb11701571612fd (patch)
treea2bf352e4f2cb73fc2000636ea8c2aec0130e82a /dom/media
parente8bdf27ac712ffca8fd680100f3c7d4b33241e49 (diff)
downloadUXP-b0901eb0990191e1f063bfa13cb11701571612fd.tar
UXP-b0901eb0990191e1f063bfa13cb11701571612fd.tar.gz
UXP-b0901eb0990191e1f063bfa13cb11701571612fd.tar.lz
UXP-b0901eb0990191e1f063bfa13cb11701571612fd.tar.xz
UXP-b0901eb0990191e1f063bfa13cb11701571612fd.zip
Issue #439 - Remove, fix and clean up automated tests
With the big amount of code churn around DOM a lot of tests broke severely enough that they caused build bustage. This commit cleans up, removes or otherwise fixes tests that are broken, no longer relevant or obsolete.
Diffstat (limited to 'dom/media')
-rw-r--r--dom/media/gtest/moz.build5
-rw-r--r--dom/media/webaudio/gtest/TestAudioEventTimeline.cpp11
2 files changed, 0 insertions, 16 deletions
diff --git a/dom/media/gtest/moz.build b/dom/media/gtest/moz.build
index ae059962c..a7ea73807 100644
--- a/dom/media/gtest/moz.build
+++ b/dom/media/gtest/moz.build
@@ -28,11 +28,6 @@ UNIFIED_SOURCES += [
'TestWebMBuffered.cpp',
]
-if CONFIG['MOZ_EME']:
- UNIFIED_SOURCES += [
- 'TestEME.cpp',
- ]
-
if CONFIG['MOZ_WEBM_ENCODER']:
UNIFIED_SOURCES += [
'TestVideoTrackEncoder.cpp',
diff --git a/dom/media/webaudio/gtest/TestAudioEventTimeline.cpp b/dom/media/webaudio/gtest/TestAudioEventTimeline.cpp
index cc731d3e2..661b6cbd2 100644
--- a/dom/media/webaudio/gtest/TestAudioEventTimeline.cpp
+++ b/dom/media/webaudio/gtest/TestAudioEventTimeline.cpp
@@ -9,17 +9,6 @@
#include <limits>
#include "gtest/gtest.h"
-// Mock the MediaStream class
-namespace mozilla {
-class MediaStream
-{
- NS_INLINE_DECL_THREADSAFE_REFCOUNTING(MediaStream)
-private:
- ~MediaStream() {
- };
-};
-}
-
using namespace mozilla;
using namespace mozilla::dom;
using std::numeric_limits;