unity-mcp/TestProjects/UnityMCPTests/Assets/Tests/EditMode/Helpers
dsarno 523e81bf15
Fix test teardown to avoid dropping MCP bridge (#487)
* Fix test teardown to avoid dropping MCP bridge

CodexConfigHelperTests was calling MCPServiceLocator.Reset() in TearDown, which disposes the active bridge/transport during MCP-driven test runs. Replace with restoring only the mutated service (IPlatformService).

* Avoid leaking PlatformService in CodexConfigHelperTests

Capture the original IPlatformService before this fixture runs and restore it in TearDown. This preserves the MCP connection safety fix (no MCPServiceLocator.Reset()) while avoiding global state leakage to subsequent tests.
2025-12-26 11:50:42 -08:00
..
CodexConfigHelperTests.cs Fix test teardown to avoid dropping MCP bridge (#487) 2025-12-26 11:50:42 -08:00
CodexConfigHelperTests.cs.meta Add Codex to autoconfig options (#288) 2025-09-26 18:05:30 -04:00
Matrix4x4ConverterTests.cs Test/478 matrix4x4 serialization crash (#481) 2025-12-23 15:53:14 -08:00
Matrix4x4ConverterTests.cs.meta Test/478 matrix4x4 serialization crash (#481) 2025-12-23 15:53:14 -08:00
WriteToConfigTests.cs Fix Claude Windows config and CLI status refresh (#412) 2025-12-01 18:01:14 -08:00
WriteToConfigTests.cs.meta Make it easier to add tools (#301) 2025-10-03 18:53:09 -04:00