From 70e4d411f58762877330cdfe8bc9bf6ca211abc7 Mon Sep 17 00:00:00 2001 From: Squareys Date: Sun, 15 Nov 2015 01:14:02 +0100 Subject: [PATCH] Audio: Remove hrtfs() test case from ContextTest. This test is entirely dependent on user settings and would fail if hrtfs were disabled on the testing machines OpenAL installation. Signed-off-by: Squareys --- src/Magnum/Audio/Test/ContextTest.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/Magnum/Audio/Test/ContextTest.cpp b/src/Magnum/Audio/Test/ContextTest.cpp index b62099b7a..dbd384ceb 100644 --- a/src/Magnum/Audio/Test/ContextTest.cpp +++ b/src/Magnum/Audio/Test/ContextTest.cpp @@ -46,8 +46,7 @@ struct ContextTest: TestSuite::Tester { ContextTest::ContextTest() { addTests({&ContextTest::extensionsString, &ContextTest::isExtensionEnabled, - &ContextTest::hrtfStatus, - &ContextTest::hrtfs}); + &ContextTest::hrtfStatus}); } void ContextTest::extensionsString() { @@ -66,12 +65,6 @@ void ContextTest::hrtfStatus() { CORRADE_COMPARE(out.str(), "Audio::Context::HrtfStatus::Denied\n"); } -void ContextTest::hrtfs() { - /* At least test that the hrtf status is `Disabled` */ - CORRADE_VERIFY(!_context.isHrtfEnabled()); - CORRADE_COMPARE(_context.hrtfStatus(), Context::HrtfStatus::Disabled); -} - }}} CORRADE_TEST_MAIN(Magnum::Audio::Test::ContextTest)