feat: 更新 LSP 测试,调整测试文件和增加分析等待时间

This commit is contained in:
catlog22
2026-01-21 10:57:36 +08:00
parent f7dd3d23ff
commit a602a46985
5 changed files with 134 additions and 16 deletions

View File

@@ -32,7 +32,7 @@ class MockLspManager:
self.outgoing_calls: Dict[str, List[Dict]] = {}
async def get_call_hierarchy_items(
self, file_path: str, line: int, character: int
self, file_path: str, line: int, character: int, wait_for_analysis: float = 0.0
) -> List[Dict]:
"""Mock get_call_hierarchy_items."""
key = f"{file_path}:{line}:{character}"