Commit Graph

30 Commits (master)

Author SHA1 Message Date
elsid dae3f022ba
Add tests for ESM::Variant 4 years ago
Sergey Fukanchik f3271cb66b Add unit test for swapEndiannessInplace(). Part of Bug #5837 4 years ago
Andrei Kortunov 807367ca3f Mark mock methods as overrides (requires GTest 1.10) 4 years ago
elsid 1f3dfaedcc
Add tests for ShaderManager 5 years ago
elsid 862f50346c
Add tests for settings parser 5 years ago
elsid da6df818ff
Fix update navmesh
Every updated object should produce a set of changed tiles where it is
placed. Before this change only current object tiles were updated. If
object was moved to another set of tiles then navmesh were not changed
in new tiles.

TileCachedRecastMeshManager::updateObject should add all new tiles if object
was moved and remove all no more used tiles. Both new and old tiles should be
marked as changed.

Also add tests to show desired result for add, update, remove.
6 years ago
Azdul 32013d35f2 Formatting of CMakeLists made consistent with other CMakeLists files. 6 years ago
Azdul 6d8215ecb6 Google Test / Google Mock / OpenMW unit tests on Windows 6 years ago
elsid 792a0585c0 Add recastnavigation as subdirectory 6 years ago
elsid ed73d130f9
Cache navmesh tiles
Use LRU modification to hold currently used items. Use RecastMesh binary
data for item key.

Store original pointer of btCollisionShape in user pointer to make available
it as an identifier within all duplicates. Use pointer to heights data array
for btHeightfieldTerrainShape.
6 years ago
elsid 144e1a063b
Support animated objects 6 years ago
elsid ed3a255f65
Do not use NavMesh to find changed tiles 6 years ago
elsid fafba8ea0c
Use recastnavigation to find path 6 years ago
elsid f2a63bcf35
Add unit tests for BulletNifLoader 6 years ago
elsid 6afc1dc3a0
Support build with coverage for components and test suite 6 years ago
elsid ef631a0961
Add dependency for GMock 6 years ago
elsid 2f9b6b536b Label gtest directories as system
To hide all warnings when use custom GTEST_ROOT.
7 years ago
AnyOldName3 5ce34f1cbf Move new behaviour into macro to reduce code duplication 7 years ago
AnyOldName3 3c0ec0d6d0 If CMake supports it, sets the debugger working directory for Visual Studio 7 years ago
scrawl 813af876f6 Use a partial binary search in isReservedName (Fixes #3835) 8 years ago
Roman Proskuryakov 5ae1864062 Add unit tests for ESM::FIXED_STRING 9 years ago
scrawl 38c155c579 Tests: add dialogue_merging_test (requires some data files) 9 years ago
scrawl d0d8c2eded Delete empty test 9 years ago
scrawl 1b302b750c UnitTests: add tests for KeywordSearch conflict resolution 10 years ago
scrawl 9d07edda13 UnitTests: remove GMock which wasn't used anyway, and the gmock headers fail to compile together with gtest on ubuntu 14.04 10 years ago
scrawl b3735981d6 Remove unused file_finder 11 years ago
Lukasz Gromanowski 303e02cab5 Added unittests for FileFinder::find function.
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
Lukasz Gromanowski da0b90ee45 Converted tests from components/misc into google unittests.
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
Lukasz Gromanowski 770f747eec Added fix for not visible pthreads functions for linker with glibc 2.15
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
13 years ago
Lukasz Gromanowski 34513cf16b Added support for code coverage checking and unittests.
Added support for code coverage checking with gcov and
unittests with Google C++ unittest and GMock frameworks.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
13 years ago