3
0
Fork 0
mirror of https://github.com/JulianGro/overte.git synced 2025-04-21 21:43:42 +02:00
Commit graph

1323 commits

Author SHA1 Message Date
ffa3ec5656 Fix copyright headers 2023-02-28 11:35:46 +01:00
Dale Glass
8976e5522f Add NETWORKLESS_TEST_SCRIPT type to NetworkManager.
This is a slightly hacky way to make ScriptManager work without any
networking, and minimize the number of dependencies needed to run
a test.
2023-02-26 19:38:10 +01:00
Dale Glass
ce9d5dfc64 Add more Doxygen docs
Doesn't work right in ScriptManager, looks like a conflict with JSDoc
2023-02-26 14:14:59 +01:00
093defca8c V8 threading safetyu improvements 2023-01-27 19:06:19 +01:00
8d51e64e70 Added script include test 2023-01-22 19:45:15 +01:00
c0d00bf179 Fixed Script.require 2023-01-15 20:44:03 +01:00
9b3b92d68f Fixed adding properties to methods 2023-01-15 15:58:21 +01:00
Dale Glass
b69e1642bf Add missing require test 2023-01-13 18:53:21 +01:00
Dale Glass
f5c8be68d1 Add missing dependency on script-engine 2023-01-09 22:38:44 +01:00
Dale Glass
5cd81418e2 Add hasProperty for checking whether a property exists 2023-01-09 22:21:21 +01:00
037011b2fe Fixed setting properties of ScriptObjectV8Proxy 2023-01-09 20:53:31 +01:00
4e4e695ca4 Fixed vector math, added simple test for it 2023-01-09 20:53:31 +01:00
Dale Glass
76349a9590 Initial support for a directory with test scripts
This way there's no need to rebuild the test every time.
Script dir is symlinked from the source into the binary dir.
2023-01-09 20:53:24 +01:00
4a18ca733b Added simple compile test function 2023-01-09 20:51:03 +01:00
Dale Glass
91ef4e83d7 Fix animation tests build 2023-01-09 20:51:03 +01:00
Dale Glass
3b1501051e Add CMakeLists 2023-01-09 20:51:03 +01:00
Dale Glass
58eb72325c Build fixes 2023-01-09 20:51:03 +01:00
Dale Glass
87ec151cb7 Partial changes 2023-01-09 20:51:03 +01:00
Dale Glass
0793cd69f7 Initial scripting engine testing code 2023-01-09 20:51:03 +01:00
Heather Anderson
d06093ae16 isolate calls to the QtScript libraries to an interface we control 2023-01-09 20:49:15 +01:00
Dale Glass
7e4d50d732
Merge pull request from daleglass-overte/fix-test-build-warnings
Fix test build warnings
2022-12-02 17:58:13 +01:00
Dale Glass
1677095af7
Merge pull request from daleglass-overte/texture-benchmarks
Initial texture benchmark test
2022-12-02 17:28:09 +01:00
Dale Glass
9a80e696ed Fix warnings generated when building tests 2022-11-27 19:51:58 +01:00
Dale Glass
0ac80b4b87
Merge pull request from daleglass-overte/fix-gltf-crash
Fix crash with models from ReadyPlayerMe by adding extra validation.
2022-11-27 16:52:53 +01:00
Dale Glass
38854a8dda Add the usage of the glTF-Sample-Models test models. 2022-11-27 13:47:58 +01:00
Dale Glass
17f888c6e2 Add use of models provided by DrFran and Madders for testing.
They will be downloaded automatically when the test suite is built.
2022-11-27 01:11:16 +01:00
Dale Glass
e9a9ee557b Fix header 2022-11-26 16:14:57 +01:00
Dale Glass
cd132246e6 Fix crash with models from ReadyPlayerMe by adding extra validation.
This also adds test code for the GLTF loader.
2022-11-26 14:36:37 +01:00
Dale Glass
7b60552f78
Merge pull request from daleglass-overte/audio-testing
Create audio tests for AudioClient and codecs
2022-11-19 21:55:12 +01:00
Dale Glass
72bcd6a008 Add setting for Setting::Handle 2022-11-01 17:04:39 +01:00
Dale Glass
cdc15d7821 Improve settings system, by moving all writes to a thread
This should complete what was started in the HiFi days but didn't quite succeed.

Setting::Manager is now thread safe, and delegates all settings writes to a thread
that nothing waits on, which should ensure that settings don't degrade performance
even on slow storage devices.

Functions that weren't thread safe were removed from Setting::Manager, and it was
reduced to a key/value store.

Functions that modify state like beginGroup were implemented in the Settings class
instead, which should be created only in the context where it's needed. It will
forward all changes to the manager.

A few QSettings functions were left unimplemented because they're not used in
the code. They may be implemented later if there's a need.
2022-10-23 23:25:42 +02:00
Dale Glass
51d16c2ecf Fix copyright header 2022-10-23 16:05:22 +02:00
Dale Glass
0896807ca5 Slight cleanup of tests, use friend class to avoid exposing test functions 2022-10-23 13:24:56 +02:00
Dale Glass
d9468f33aa Add ASAN/UBSAN support to shared tests 2022-10-23 13:24:56 +02:00
Dale Glass
c743abc348 Added threaded settings test.
Test setValue() while a thread is constantly trying to save the file
to disk to test the absolute worst case performance.
2022-10-23 13:24:56 +02:00
Dale Glass
334317b175 Test suite for settings system
Proof of concept still. Adds a test-specific function in Setting::Manager.
2022-10-23 13:24:56 +02:00
Dale Glass
342554d4eb Create audio tests for AudioClient and codecs
This is a start for audio testing and helping with debugging audio PRs
2022-08-28 18:43:45 +02:00
Dale Glass
8c15b8c368 Initial texture benchmark test 2022-06-13 01:01:19 +02:00
Dale Glass
b13db9ea3d Fix AABoxCubeTest
Set invDirection to the right value now.
2022-06-07 16:49:15 +02:00
Dale Glass
b231c1c954 Add error checking, fail sanely if image can't be found 2022-06-07 00:01:44 +02:00
Dale Glass
f10fdc5b02 Test removed, broken 2022-06-06 23:30:55 +02:00
Dale Glass
f285cb4259 Add missing findRayIntersection arguments 2022-06-06 23:25:30 +02:00
Dale Glass
c4ecd39d70 Deal with function signature changes 2022-06-06 23:24:33 +02:00
Dale Glass
cd489f1fe4 Deal with function signature changes 2022-06-06 23:23:59 +02:00
Dale Glass
0dbf757dfd Made some fixes, but gpu::gl::GLBackend::makeProgram is missing, and I don't know how to deal with that.
Test disabled.
2022-06-06 23:20:37 +02:00
Dale Glass
6146544f2b Added missing AnimClip parameters. Needs checking if the values are sane. 2022-06-06 23:19:50 +02:00
Dale Glass
b814e69ebb Removed references to missing NFMJoint members 2022-06-06 23:18:21 +02:00
Dale Glass
0f46e25368 Attempted to mess with the shaders test, but it seems too out of date. Disabled. 2022-06-06 23:17:25 +02:00
Dale Glass
e23c162d97 Fix CMakeLists.txt for test building. Add missing dependencies, deal with GLVND 2022-06-06 23:16:23 +02:00
Dale Glass
a37a570c77 Fix test build system enough to build some tests 2022-06-05 22:06:53 +02:00