ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import assert from 'assert';
import { ensureNoDisposablesAreLeakedInTestSuite } from '../../../base/test/common/utils.js';
import { computeMobileMultiDiffItemHeight, computeMobileMultiDiffVirtualLayout, IMobileMultiDiffVirtualizerMetrics } from '../../browser/parts/mobile/contributions/mobileMultiDiffVirtualizer.js';
suite('MobileMultiDiffVirtualizer', () => {
ensureNoDisposablesAreLeakedInTestSuite();
const metrics: IMobileMultiDiffVirtualizerMetrics = {
fileHeaderHeight: 32,
hunkHeaderHeight: 18,
rowHeight: 20,
bodyVerticalPadding:
placeholderHeight
assert
state hunkCount rowCount metrics
assert
state hunkCount rowCount metrics
assert
state collapsed hunkCount rowCount metrics
assert
state hunkCount rowCount metrics
assert
state metrics
assert
state estimatedHunkCount estimatedRowCount metrics
assert
state metrics
assert
state metrics
layout
viewportHeight
scrollTop
metrics
assertlayouttotalHeight
assertlayoutitems
items state hunkCount rowCount
layout items
viewportHeight
scrollTop
metrics
assertlayouttotalHeight
assertlayoutitemsitem itemindex
assertlayoutitemsitem itemvirtualTop
assertlayoutitemsitem iteminnerOffset
items state hunkCount rowCount
firstPage items
viewportHeight
scrollTop
metrics
secondPage items
viewportHeight
scrollTop
metrics
afterEnd items
viewportHeight
scrollTop
metrics
assertfirstPageitemsitem itemindex
assertsecondPageitemsitem itemindex
assertafterEnditemsitem itemindex
items state hunkCount rowCount
withoutOverscan items
viewportHeight
scrollTop
metrics
withOverscan items
viewportHeight
scrollTop
overscan
metrics
assertwithoutOverscantotalHeight
assertwithOverscantotalHeight
assertwithoutOverscanitemsitem itemindex
assertwithOverscanitemsitem itemindex
items state hunkCount rowCount
negativeScroll items
viewportHeight
scrollTop
metrics
negativeViewport items
viewportHeight
scrollTop
metrics
negativeOverscan items
viewportHeight
scrollTop
overscan
metrics
assertnegativeScrollitemsitem itemindex
assertnegativeViewportitemsitem itemindex
assertnegativeOverscanitemsitem itemindex
items
state hunkCount rowCount
state hunkCount rowCount
insideLargeFile items
viewportHeight
scrollTop
metrics
assertinsideLargeFiletotalHeight
assertinsideLargeFileitemsitem itemindex
assertinsideLargeFileitemsvirtualHeight
assertinsideLargeFileitemsrenderHeight
assertinsideLargeFileitemsinnerOffset
assertinsideLargeFileitemsrenderTop
leavingLargeFile items
viewportHeight
scrollTop
metrics
assertleavingLargeFileitemsitem itemindex
assertleavingLargeFileitemsinnerOffset
assertleavingLargeFileitemsrenderTop
assertleavingLargeFileitemsrenderHeight
assertleavingLargeFileitemsinnerOffset
assertleavingLargeFileitemsrenderTop
items
state hunkCount rowCount collapsed
state hunkCount rowCount
state
layout items
viewportHeight
scrollTop
metrics
assertlayouttotalHeight
assertlayoutitemsitem itemindex
assertlayoutitemsitem itemvirtualHeight