Browse Source

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 <Squareys@googlemail.com>
pull/121/head
Squareys 11 years ago
parent
commit
70e4d411f5
  1. 9
      src/Magnum/Audio/Test/ContextTest.cpp

9
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)

Loading…
Cancel
Save