MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / test_simLogic

Function test_simLogic

src/mcp/tools/simulator/test_sim.ts:252–266  ·  view source on GitHub ↗
(
  params: TestSimulatorParams,
  executor: CommandExecutor,
  fileSystemExecutor: FileSystemExecutor = getDefaultFileSystemExecutor(),
)

Source from the content-addressed store, hash-verified

250}
251
252export async function test_simLogic(
253 params: TestSimulatorParams,
254 executor: CommandExecutor,
255 fileSystemExecutor: FileSystemExecutor = getDefaultFileSystemExecutor(),
256): Promise<void> {
257 const ctx = getHandlerContext();
258 const prepared = await prepareTestSimExecution(params, executor, fileSystemExecutor);
259
260 ctx.emit(createBuildInvocationFragment('test-result', 'TEST', prepared.invocationRequest));
261 const executionContext = createStreamingExecutionContext(ctx);
262 const executeTestSim = createTestSimExecutor(executor, fileSystemExecutor, prepared);
263 const result = await executeTestSim(params, executionContext);
264
265 setXcodebuildStructuredOutput(ctx, 'test-result', result);
266}
267
268const publicSchemaObject = baseSchemaObject.omit({
269 projectPath: true,

Callers 1

test_sim.tsFile · 0.85

Calls 8

getHandlerContextFunction · 0.90
prepareTestSimExecutionFunction · 0.85
createTestSimExecutorFunction · 0.85
emitMethod · 0.80

Tested by

no test coverage detected