claudeCustomizationTestUtils.ts ×1

Frontier kind: Code frontier

unlabeled · c_b8236354944e

55 tests · 19018 LOC · 67 files · introduces 0 tests · 31 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
1 range31 lines · 1 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
1960 ranges19018 lines · 67 files · Browse complete extent
All tests (intent)
55 testsBrowse complete intent

Neighbourhood graph

The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.

Introduced files, introduced tests, and structurally relevant concept specialization

In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.

Graph controls are ready.

Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.

Native relationship evidence

Every exact file and test below is linked only from the concept that introduces it.

Introduced tests

Every collected test enters the hierarchy at exactly one concept.

No tests are introduced at this concept. Its intent tests are introduced by other concepts.

Introduced code

Every collected source range enters the hierarchy at exactly one concept.

1 file ranked by introduced lines: 31 introduced LOC across 1 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

src/vs/platform/agentHost/test/node/customizations/claudeCustomizationTestUtils.ts 31 introduced LOC · 1 range

Open complete file

1 > /*--------------------------------------------------------------------------------------------- claudeCustomizationTestUtils.ts
2 > * Copyright (c) Microsoft Corporation. All rights reserved.
3 > * Licensed under the MIT License. See License.txt in the project root for license information.
4 > *--------------------------------------------------------------------------------------------*/
5 >
6 > import { DisposableStore } from '../../../../../base/common/lifecycle.js';
7 > import { Schemas } from '../../../../../base/common/network.js';
8 > import { URI } from '../../../../../base/common/uri.js';
9 > import { VSBuffer } from '../../../../../base/common/buffer.js';
10 > import { FileService } from '../../../../files/common/fileService.js';
11 > import { IFileService } from '../../../../files/common/files.js';
12 > import { InMemoryFileSystemProvider } from '../../../../files/common/inMemoryFilesystemProvider.js';
13 > import { NullLogService } from '../../../../log/common/log.js';
14 >
15 > /** The in-memory project (workspace) root the discovery tests scan. */
16 > export const claudeTestWorkspace = URI.from({ scheme: Schemas.inMemory, path: '/workspace' });
17 >
18 > /** The in-memory user-home root the discovery tests scan. */
19 > export const claudeTestUserHome = URI.from({ scheme: Schemas.inMemory, path: '/home' });
20 >
21 > /**
22 > * Creates a {@link FileService} backed by an in-memory provider for the
23 > * `inmemory` scheme, registering both with `disposables` for cleanup.
24 > */
25 > export function createInMemoryFileService(disposables: DisposableStore): IFileService {
26 > const fileService = disposables.add(new FileService(new NullLogService()));
27 > disposables.add(fileService.registerProvider(Schemas.inMemory, disposables.add(new InMemoryFileSystemProvider())));
28 > return fileService;
29 > }
30 >
31 > /** Writes `content` to the in-memory `path` and returns its URI. */
32 export async function seedFile(fileService: IFileService, path: string, content = ''): Promise<URI> {
33 const uri = URI.from({ scheme: Schemas.inMemory, path });