Vladimír Vondruš
b8a6b88d3b
Audio: test also disabling an unknown extension.
3 years ago
Vladimír Vondruš
3d6f8effb4
Audio: ability to query various context properties.
...
And test all this, ugh, the test coverage is ABYSMAL here.
3 years ago
Vladimír Vondruš
bbb54a9df8
It's 2023 already!
3 years ago
Vladimír Vondruš
822fa0d644
Updated copyright year.
4 years ago
Vladimír Vondruš
65a935cedc
Test: adapt to changes in CORRADE_SKIP().
...
Chose to update the tests instead of adding a compatibility DebugStl.h
include to Tester.h, which would have a significant impact on compile
times.
5 years ago
Vladimír Vondruš
3d136503d8
Updated copyright year.
5 years ago
Vladimír Vondruš
19e0e96d74
Updated copyright year.
6 years ago
Vladimír Vondruš
be0bce8ded
Audio: ffs, MSVC.
7 years ago
Vladimír Vondruš
8af19f21f0
Audio: make it possible to disable OpenAL extensions as well.
...
Finally, a feature parity.
7 years ago
Vladimír Vondruš
c1c1c146f8
Audio: pass command-line arguments to Context in all AL tests.
7 years ago
Vladimír Vondruš
2c280f6b97
Audio: ignore command-line options not related to audio.
7 years ago
Vladimír Vondruš
922ff64869
Audio: test the quiet logging.
7 years ago
Vladimír Vondruš
2149f7b869
Wrap all tests in unnamed namespaces.
...
This makes the compiler warn about test cases that aren't ever used,
which is a good thing.
7 years ago
Vladimír Vondruš
e6b7aa12fa
Updated copyright year.
7 years ago
Vladimír Vondruš
2527927b21
Audio: make Context only move-constructible.
...
For some reason it was copyable and everything. Also fix the cleanup on
destruction so it can be created more than once.
8 years ago
Vladimír Vondruš
5b01762e33
Audio: test that it's possible to create Context multiple times.
8 years ago
Vladimír Vondruš
623fa97970
Updated copyright year.
8 years ago
Vladimír Vondruš
7a16273e5d
Updated copyright year.
9 years ago
Vladimír Vondruš
a2c8435ede
Use new TestSuite numeric comparators where appropriate.
10 years ago
Vladimír Vondruš
d58d26aeff
Audio: ability to run tests requiring OpenAL context separately.
...
Added a new enabled-by-default BUILD_AL_TESTS CMake option. The test
cases that actually require OpenAL context were split to new tests with
`*ALTest` suffix so they can be executed selectively.
10 years ago
Vladimír Vondruš
7d8b2ce9a6
Print value of invalid enums in debug output, test those cases.
10 years ago
Vladimír Vondruš
23646e6690
Hell, this project is big.
10 years ago
Vladimír Vondruš
162b7b9926
Audio: return reference also from Audio::Context::current().
...
Similarly to previous commit, the old way is backwards compatible but
deprecated.
10 years ago
Squareys
70e4d411f5
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>
11 years ago
Squareys
9d53f7cb2b
Audio: Fix hrtfStatus() and isHrtfEnabled() and move them to Context.
...
Since `ALC_HRTF_SOFT` is a ALC extension, we need to use `alcGetIntegerv()`
instead of `alGetIntegerv()` which requires access to the OpenAL device
stored in `Audio::Context` and therefore the aforementioned methods have
been moved there.
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Squareys
2d3ef77ef5
Audio: Add Test for Context.
...
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Vladimír Vondruš
c71dc12503
Making test declarations more compact.
...
Yet again I experienced how insanely large this thing got over the
years.
11 years ago
Vladimír Vondruš
6488fe6e75
Oh, it's 2015 already.
11 years ago
Vladimír Vondruš
ca320d9e37
Debug output operator for Context::Flag enum.
12 years ago
Vladimír Vondruš
6f0ba96cb6
Happy new year too.
12 years ago
Vladimír Vondruš
0616f24f34
Making includes absolute, part 5: absolute includes everywhere.
...
The only places where they aren't absolute are:
- when header is included from corresponding source file
- when including headers which are not part of final installation (e.g.
test-specific configuration, headers from Implementation/)
12 years ago
Vladimír Vondruš
8c2291aa49
Making includes absolute, part 4: using absolute includes for Corrade.
...
Also adapted to some Corrade renames.
12 years ago
Vladimír Vondruš
45a10cefdf
Making includes absolute, part 1: moving files around.
...
Everything what was in src/ is now in src/Corrade, everything from
src/Plugins is now in src/MagnumPlugins, everything from external/ is in
src/MagnumExternal. Added new CMakeLists.txt file and updated the other
ones for the moves, no other change was made. If MAGNUM_BUILD_DEPRECATED
is set, everything compiles and installs like previously except for the
plugins, which are now in MagnumPlugins and not in Magnum/Plugins.
12 years ago
Vladimír Vondruš
a4aad89cfb
Ability to print Shader::Type enum to Debug output.
13 years ago
Vladimír Vondruš
fdf878d458
Audio: added Source class.
13 years ago
Vladimír Vondruš
0382ce70c1
Audio: added Buffer class.
13 years ago
Vladimír Vondruš
6efb83f729
Audio: added Renderer class.
13 years ago
Vladimír Vondruš
50ef1df213
Trade: debug output operator for TextureData::Type enum.
13 years ago
Vladimír Vondruš
db71a23e3c
Bring whole Corrade namespace into Magnum namespace.
...
These projects are tightly interconnected anyway, this means a lot less
typing (yay!).
13 years ago
Vladimír Vondruš
c5ab86794b
Relicensing to MIT/Expat license, part 3: source files.
...
Added license header also to shader sources. Hopefully it won't harm
compilation times too much.
13 years ago
Vladimír Vondruš
231f3277ab
Adapted to Corrade changes.
...
Allowing to instantiate Trade::AbstractImporter subclasses directly
without plugin manager.
13 years ago
Vladimír Vondruš
82f3b948af
Trade: debug output for ObjectData*D::InstanceType enum.
13 years ago
Vladimír Vondruš
fcb8a7b768
Got rid of header files in tests.
...
They have no practical use and they only bloat codebase size and add
maintenance burden.
14 years ago
Vladimír Vondruš
f7d002d06d
Debug operator for shape type.
14 years ago
Vladimír Vondruš
27e1dce533
Got rid of Qt's QtTest in favor of Corrade's TestSuite.
...
Now we can use CORRADE_COMPARE() almost exclusively for comparing
Vector, Matrix instances and all containers from STL. Tests running time
for all 31 tests is now around 0.1 sec instead of two seconds like
before.
Disabled compilation of all benchmarks, because TestSuite cannot handle
them yet.
PKGBUILD from AUR now can shamelessly use check() function without
unnecessary dependencies.
14 years ago
Vladimír Vondruš
04d020fcd6
Physics: Sphere % LineSegment collision.
14 years ago
Vladimír Vondruš
b2f1915579
Physics: Sphere % Line collision.
14 years ago
Vladimír Vondruš
6e778aa533
Physics: Sphere % Sphere collision.
14 years ago
Vladimír Vondruš
15dc8015b4
Physics: Sphere % Point collision.
14 years ago
Vladimír Vondruš
43301c170c
Initial Physics classes, interfaces, documentation and unit tests.
14 years ago