aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test_tone.cpp
diff options
context:
space:
mode:
authorNicholas Nethercote <[email protected]>2016-11-02 17:54:53 +1300
committerMatthew Gregan <[email protected]>2016-11-02 17:54:53 +1300
commit70497380eb5351f967c3fa52f3eb432969c2e65d (patch)
tree135ce4638e611eb7e92365cfaedc16b16ce8cdcd /test/test_tone.cpp
parent090483ea6a627213ce9285a5ad961b305a6b3efa (diff)
downloadcubeb-70497380eb5351f967c3fa52f3eb432969c2e65d.tar.gz
cubeb-70497380eb5351f967c3fa52f3eb432969c2e65d.zip
Remove unnecessary XPCOM dependency from unit tests. BMO #1314514.
Diffstat (limited to 'test/test_tone.cpp')
-rw-r--r--test/test_tone.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/test_tone.cpp b/test/test_tone.cpp
index 3c6e0ec..7a3c762 100644
--- a/test/test_tone.cpp
+++ b/test/test_tone.cpp
@@ -18,9 +18,6 @@
#include "cubeb/cubeb.h"
#include "common.h"
-#ifdef CUBEB_GECKO_BUILD
-#include "TestHarness.h"
-#endif
#define SAMPLE_FREQUENCY 48000
#if (defined(_WIN32) || defined(__WIN32__))
@@ -100,10 +97,6 @@ void state_cb(cubeb_stream *stream, void *user, cubeb_state state)
int main(int /*argc*/, char * /*argv*/[])
{
-#ifdef CUBEB_GECKO_BUILD
- ScopedXPCOM xpcom("test_tone");
-#endif
-
cubeb *ctx;
cubeb_stream *stream;
cubeb_stream_params params;