CatStation/Content.IntegrationTests/Tests
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
..
Access Fix ExpireIdCard (#44567) 2026-07-24 18:42:11 +10:00
Actions Cleanup: ProtoMan Part 2 - remove Client and Server EntitySystem IPrototypeManager instances (#44416) 2026-06-29 21:33:56 +00:00
Administration Fix TestAdminLogsWindow heisentest (#44578) 2026-07-09 03:10:05 +00:00
Afk Attempt to fix AFK heisentest (#44409) 2026-06-29 10:13:06 +00:00
Atmos Integration tests for atmos networking (#42879) 2026-07-25 17:05:57 +00:00
Audio/Midi Add MidiFileCollectionManager for storing and managing MIDI files in user data. (#44469) 2026-07-03 02:30:22 +00:00
Body Organ relations (#44812) 2026-07-26 09:20:50 +00:00
Buckle Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
Chameleon Cleanup ChameleonJobLoadoutTest (#38229) 2025-06-10 15:51:23 -07:00
Changeling Changeling Slime Tests (#44493) 2026-07-12 22:24:51 +00:00
Chasm fix chasm heisentest (#40456) 2025-09-19 22:12:10 -07:00
Chemistry Predict stunbatons and add an integration test for them (#43117) 2026-07-13 18:24:31 +00:00
Cleanup Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
Climbing Partial buckling refactor (#29031) 2024-06-20 01:14:18 +10:00
Cloning Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
Commands Make objective issuers into prototypes (#44168) 2026-05-30 16:57:34 +00:00
Construction IHeatContainers for TemperatureComponent (#42785) 2026-07-26 07:56:44 +00:00
Damageable Inline DamageAllPrototypes test (#44530) 2026-07-08 22:37:15 +10:00
Destructible Destructible Automatic Overkill (#43113) 2026-05-24 05:32:23 +00:00
DeviceLinking The IMapManager is dead (#44002) 2026-07-01 20:44:54 -07:00
DeviceNetwork The IMapManager is dead (#44002) 2026-07-01 20:44:54 -07:00
Disposal Disposals refactor (#40540) 2026-05-27 04:38:03 +00:00
DoAfter Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
Doors The IMapManager is dead (#44002) 2026-07-01 20:44:54 -07:00
Embedding Add interaction tests for mousetraps (#35502) 2025-10-03 18:45:50 +00:00
EncryptionKeys Add StorageInteractionTest (#28541) 2024-06-03 17:05:51 -04:00
Engineering Inflatable Module (#35100) 2025-08-23 15:15:28 -07:00
Explosion Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
Eye Eye damage/blindness integration tests (#44400) 2026-07-02 22:37:58 +00:00
Fluids The IMapManager is dead (#44002) 2026-07-01 20:44:54 -07:00
GameObjects/Components Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
GameRules Cleanup: ProtoMan Part 2 - remove Client and Server EntitySystem IPrototypeManager instances (#44416) 2026-06-29 21:33:56 +00:00
GameTestTests GameTest part 1 (#43182) 2026-03-27 19:08:47 +00:00
Gibbing Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
Gravity Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
Guidebook Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
Hands Add integration test for wielding and multi-handed items (#41028) 2026-05-17 21:58:59 +00:00
Helpers Add generic event listener for integration tests (#40367) 2025-10-09 13:03:44 +00:00
Holosign Predict holoprojectors and add an integration test for them (#41569) 2026-02-07 10:17:20 +00:00
Humanoid Refactor voice to separate it from sex (#40593) 2026-06-30 23:46:27 -04:00
Interaction Predict stunbatons and add an integration test for them (#43117) 2026-07-13 18:24:31 +00:00
Internals Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
Kitchen Fix handheld grinders (#50) 2026-06-16 23:27:55 +00:00
Labels Fix some missing localization warnings (#44620) 2026-07-13 16:34:26 -04:00
Lathe Cleanup: ProtoMan Part 2 - remove Client and Server EntitySystem IPrototypeManager instances (#44416) 2026-06-29 21:33:56 +00:00
Linter Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
Lobby Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
Localization Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
Mapping Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
Markings Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
Materials Reclaimer Loop Prevention Integration Test (#43268) 2026-07-27 09:26:21 +00:00
Medical Initial decoupling pass on Damageable (#43103) 2026-03-07 04:13:50 +00:00
Minds Start splitting out DamageableComponent (#43515) 2026-04-24 04:12:34 +00:00
Mousetrap Make InteractionTest inherit from GameTest (#90) 2026-06-18 22:12:53 +00:00
Movement Predict holoprojectors and add an integration test for them (#41569) 2026-02-07 10:17:20 +00:00
Networking The IMapManager is dead (#44002) 2026-07-01 20:44:54 -07:00
NPC Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
Nutrition Add Integration Testing for issue #40868 (#40972) 2025-10-21 12:22:58 +00:00
Payload Trigger Refactor (#39034) 2025-08-03 21:20:37 +02:00
Physics Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
Power The IMapManager is dead (#44002) 2026-07-01 20:44:54 -07:00
Preferences Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
Procedural Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
PrototypeTests Serialization content changes (#44364) 2026-07-24 11:00:48 +10:00
Puller Cleanup: ProtoMan Part 2 - remove Client and Server EntitySystem IPrototypeManager instances (#44416) 2026-06-29 21:33:56 +00:00
Replays Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
Respirator The IMapManager is dead (#44002) 2026-07-01 20:44:54 -07:00
Roles Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
Round Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
Security Predict stunbatons and add an integration test for them (#43117) 2026-07-13 18:24:31 +00:00
Serialization Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
Shuttle The IMapManager is dead (#44002) 2026-07-01 20:44:54 -07:00
SmartFridge Move StorageFills in smartfridge test prototypes to EntityTableContainerFills (#41561) 2025-11-23 20:56:35 +00:00
Sprite Organ relations (#44812) 2026-07-26 09:20:50 +00:00
Stacks StackSystem tests and cleaning (#44496) 2026-07-17 05:10:04 +00:00
Station oh no all hell broke loose ghost roles are broken (#43735) 2026-04-27 02:21:38 +00:00
Storage Cleanup: ProtoMan Part 2 - remove Client and Server EntitySystem IPrototypeManager instances (#44416) 2026-06-29 21:33:56 +00:00
Strip Add integration test for drains (#41190) 2026-01-15 17:53:30 +00:00
Tag Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
Tiles Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
Tools Fix Broken Solution Enumerators (#43789) 2026-05-01 21:20:03 +00:00
Toolshed v269.0.0 RT update - .NET 10 (#41855) 2025-12-22 01:24:24 +00:00
UserInterface Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
Utility Add EntProtoId overloads to EntityWhitelists (#40807) 2026-05-17 01:06:05 +00:00
Vending Initial decoupling pass on Damageable (#43103) 2026-03-07 04:13:50 +00:00
Weapons Initial decoupling pass on Damageable (#43103) 2026-03-07 04:13:50 +00:00
Weldable Add StorageInteractionTest (#28541) 2024-06-03 17:05:51 -04:00
Wires Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
WizdenContentFreeze Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
Zombie Clean up Marking data structure, add tests for Zombie transformation (#42756) 2026-02-03 03:13:26 +00:00
CargoTest.cs Cleanup: ProtoMan Part 2 - remove Client and Server EntitySystem IPrototypeManager instances (#44416) 2026-06-29 21:33:56 +00:00
ClickableTest.cs Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
ConfigPresetTests.cs Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
ContainerOcclusionTest.cs The IMapManager is dead (#44002) 2026-07-01 20:44:54 -07:00
ContrabandTest.cs Cleanup: ProtoMan Part 2 - remove Client and Server EntitySystem IPrototypeManager instances (#44416) 2026-06-29 21:33:56 +00:00
DeleteInventoryTest.cs Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
DummyIconTest.cs Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
EntityTest.cs The IMapManager is dead (#44002) 2026-07-01 20:44:54 -07:00
FillLevelSpriteTest.cs Cleanup: ProtoMan Part 2 - remove Client and Server EntitySystem IPrototypeManager instances (#44416) 2026-06-29 21:33:56 +00:00
FollowerSystemTest.cs The IMapManager is dead (#44002) 2026-07-01 20:44:54 -07:00
GravityGridTest.cs The IMapManager is dead (#44002) 2026-07-01 20:44:54 -07:00
HumanInventoryUniformSlotsTest.cs Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
InventoryHelpersTest.cs Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
MachineBoardTest.cs Cleanup: ProtoMan Part 2 - remove Client and Server EntitySystem IPrototypeManager instances (#44416) 2026-06-29 21:33:56 +00:00
MagazineVisualsSpriteTest.cs Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
MappingEditorTest.cs Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
MaterialArbitrageTest.cs Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
PostMapInitTest.cs The IMapManager is dead (#44002) 2026-07-01 20:44:54 -07:00
PrototypeSaveTest.cs Serialization content changes (#44364) 2026-07-24 11:00:48 +10:00
ResearchTest.cs Cleanup: ProtoMan Part 2 - remove Client and Server EntitySystem IPrototypeManager instances (#44416) 2026-06-29 21:33:56 +00:00
ResettingEntitySystemTests.cs Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
RestartRoundTest.cs Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
RoundEndTest.cs Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
SalvageTest.cs Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
SaveLoadMapTest.cs The IMapManager is dead (#44002) 2026-07-01 20:44:54 -07:00
SaveLoadSaveTest.cs The IMapManager is dead (#44002) 2026-07-01 20:44:54 -07:00
ShuttleTest.cs The IMapManager is dead (#44002) 2026-07-01 20:44:54 -07:00
StartTest.cs Gametest Part 2: Preliminary refactor every test to use GameTest as the framework. (#43207) 2026-04-01 16:06:26 +00:00
StoreTests.cs Fix StoreDiscountAndRefund integration test (#43960) 2026-05-16 15:36:34 +00:00
VendingMachineRestockTest.cs VendingMachine cleanup and small refactor (#44839) 2026-07-21 19:57:02 -04:00
XenoArtifactTest.cs Test Cleanup: XenoArtifact (#43930) 2026-05-17 21:25:29 +00:00