CatStation/Content.IntegrationTests
Sapphic_bee 483c30e997
Reclaimer Loop Prevention Integration Test (#43268)
* Started Making Test

* made reclaimMaterials false for the industral reagent grinder, to mimic the bug that #39690 fixed

* hopefully set up parameterization ok?

* un-parameterized Recyclables

* Changed name of file, have main loops

* in a better state, but still having issues with glass

* Updated to include stackEntities for Silk, gunpowder, bones, cotton, and meatearial. They were just missing bc they presumeably never interacted with Materials storage.

* Marked WebSilk as a material

* Made Gunpowder a material too

* A bugfix from moonheart08, already in #43207 but made it so my test could run

* Have it working, but still falls into a loop if it fails. which is just the same bug

* realized problem with my test paradigm

* made things smoother if reclaimsMaterials is false

* didn't end up needing the bugfix in triggersystem

* Ran into Heisentest with EnsureValidGroupAndSex

* Again ran into issue with EnsureValidGroupAndSex

* Made  produceableMaterials a HashSet instead of a list (im gonna love HashSets i can tell)

* ID strings moved to static readonly EntProtoIDs

* typo fix

* Using STarget better

* Cleaned up checking for spawners

* Fixed how I deal with filtering out spawners and random items

* Using ToServer now

* now enable the reclaimer in a server.waitPost

* Proper Indentation for Assertions

* Changes to comments and description

* Fixed spawner-exclusive logic

* Using protomanager instead of gamescrounger in test

* took StackEntity away from bones

* updated _reclaimers to readonly Reclaimers

* Removed redundnacy in hashet declaration

* removed redudant typing for MatStack

* got matInHandsUid via ToServer now, fixed apcid name

* using Is.Not.Null instead of is.not.equalto(null)

* removed reliance on strings to filter the prototypes

* Minor Comment Change

* Re-ordered imports

* Tiny cleanup

* Using SPlayer better now.

* refactor: fix test problems!

* refactor: modernize test (where possible

---------

Co-authored-by: Tayrtahn <tayrtahn@gmail.com>
Co-authored-by: Fildrance <fildrance@gmail.com>
2026-07-27 09:26:21 +00:00
..
Fixtures Fix GameTest.CTryComp using the server entity manager (#44230) 2026-06-03 21:01:14 +00:00
NUnit Add xmldocs to NUnit constraint extensions (#43887) 2026-05-16 19:56:00 +00:00
Pair Make InteractionTest inherit from GameTest (#90) 2026-06-18 22:12:53 +00:00
Tests Reclaimer Loop Prevention Integration Test (#43268) 2026-07-27 09:26:21 +00:00
Utility fix: GameDataScrounger treats ignored files as abstract (#44467) 2026-07-16 15:31:28 +00:00
AssemblyInfo.cs Reduce LevelOfParallelism to 2 for integration tests (#39566) 2025-08-11 12:43:57 -07:00
Content.IntegrationTests.csproj v269.0.0 RT update - .NET 10 (#41855) 2025-12-22 01:24:24 +00:00
DummyParallaxManager.cs Update content vectors to numerics (#17759) 2023-07-08 14:08:32 +10:00
GlobalUsings.cs Move TestPair & PoolManager to engine (#36797) 2025-09-21 17:17:43 +12:00
PoolManager.cs oh no all hell broke loose ghost roles are broken (#43735) 2026-04-27 02:21:38 +00:00
PoolManager.Cvars.cs Remove gateway system (#44428) 2026-07-20 09:01:31 +00:00
PoolManagerTestEventHandler.cs Test parallelization stuff. (#31650) 2024-09-01 03:28:30 +02:00
PoolSettings.cs Move TestPair & PoolManager to engine (#36797) 2025-09-21 17:17:43 +12:00