branchrust_reboot/main/reorganize_unit_testscancel
21 Commits over 0 Days - ∞cph!
Buildfix(tests): add a missing SERVER macro guard
Tests: clicked through all modes - all compile
Bugfix(tests): patch up ServerOcclusionTests
- replace out-of-date occlusion cache with a new one based on Craggy
- update CanSee and CantSee chunk pairs
- add missing initialization
Tests: ran ServerOcclusion unit tests - they pass
Bugfix(tests): CompanionServerTests - switch to persistent ClanManager
- ClanManagedDB now also lives in a temp folder for tests
- some tests now drain any backlogged traffic on the test socket
Tests: all CompanionServerTests unit tests pass consistently (finally)
Bugfix(tests): CompanionServerTests - use persistent RelationshipManager
- house RelationshipManagerDB in a temp folder
Tests: ran CompanionServerTests unit tests, 1 sporadically fails
Bugfix(tests): CompanionServerTests - setup player lookup map
Broke since one of our optims way back.
Tests: ran CompanionServerTests - now 2 failing
Bugfix(tests): CompanionServerTests - use unique persistence database per test run
If a test goes wrong, the cleanup doesn't happen, which borks all the subsequent tests in a run
Tests: ran CompanionServerTests - 16 pass, 3 fail
Bugfix(tests): rewrite GrowableGenesTests no allocs tests to use ServerProfiler new api
Think my old hacky solution finally broke
Tests: ran GrowableGenesTests test - it passes
Bugfix(tests): workaround "don't add editor components" safety check when running editor unit tests
Tests: ran GameTraceTests unit tests - they now all pass
Bugfix(tests): fix missing InvokeHandler in GamePhysicsTests
Tests: ran GamePhysicsTests unit tests, now all pass
Bugfix(tests): ProjectileTests now pass
- Skip god mode overlay setting for local player in tests
- explicitly enable main shield collider after spawning
Tests: ran ProjectileTests unit tests
Bugfix(tests): fixup ServerProfiler tests that are sensitive to type hierarchies
- release binaries from a496e80e
Tests: ran ServerProfilerTests
Buildfix(tests): all modes compile
Tests: clicked through all modes
Clean(tests): rest of Assembly-CSharp-Editor.dll tests restructure
Just gotta make sure all platforms build and check if unit tests pass
Tests: none
Clean(tests): 30% restructure of Assembly-CSharp-Editor.dll tests
Tests: none, will rerun once all moved
Clean(tests): restructure Facepunch.System.Tests.dll tests
- removed FPTask and associated tests (was experimental code)
Tests: ran unit tests
Clean: restructure Rust.Global.Tests.dll tests
Tests: ran unit tests. some OBBTests sporadically fail, but pass on 2nd run - think same as before
Clean(tests): rename DummyServer -> TestServer
Tests: compiles
Clean(tests): consolidate various test entities/systems
Tests: none, going to happen later
Clean(tests): Move test utilities to Tests and Tests.Perf namespaces
- replaced manual measurement loops with Test.Perf.MeasureAndPrint
Tests: none, leaving till later