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 { expect, suite, test } from 'vitest';
import { chunkUpIdentByConvention, enforceNamingConvention, guessNamingConvention, NamingConvention } from '../../common/namingConvention';
suite('guessNamingConvention', () => {
const testCases = [
{ input: 'camelCaseExample', expected: NamingConvention.CamelCase },
{ input: 'PascalCaseExample', expected: NamingConvention.PascalCase },
{ input: expected NamingConventionSnakeCase
input expected NamingConventionScreamingSnakeCase
input expected NamingConventionCapitalSnakeCase
input expected NamingConventionKebabCase
input expected NamingConventionCapitalized
input expected NamingConventionLowerCase
input expected NamingConventionUnknown
testCases input expected
inputexpected
edgeCases
input expected NamingConventionLowerCase
input expected NamingConventionUppercase
input expected NamingConventionCapitalized
input expected NamingConventionSnakeCase
input expected NamingConventionKebabCase
input expected NamingConventionScreamingSnakeCase
input expected NamingConventionUnknown
input expected NamingConventionUnknown
input expected NamingConventionUnknown
input expected NamingConventionLowerCase
input expected NamingConventionSnakeCase
input expected NamingConventionKebabCase
edgeCases input expected
inputexpected
testCases
input convention NamingConventionCamelCase expected
input convention NamingConventionPascalCase expected
input convention NamingConventionSnakeCase expected
input convention NamingConventionScreamingSnakeCase expected
input convention NamingConventionCapitalSnakeCase expected
input convention NamingConventionKebabCase expected
input convention NamingConventionUppercase expected
input convention NamingConventionLowerCase expected
input convention NamingConventionUnknown expected
testCases input convention expected
input conventionexpected
testCases
givenIdent targetConvention NamingConventionCamelCase expected
givenIdent targetConvention NamingConventionSnakeCase expected
givenIdent targetConvention NamingConventionSnakeCase expected
givenIdent targetConvention NamingConventionPascalCase expected
givenIdent targetConvention NamingConventionScreamingSnakeCase expected
givenIdent targetConvention NamingConventionCapitalSnakeCase expected
givenIdent targetConvention NamingConventionKebabCase expected
givenIdent targetConvention NamingConventionUppercase expected
givenIdent targetConvention NamingConventionLowerCase expected
givenIdent targetConvention NamingConventionUnknown expected
givenIdent targetConvention NamingConventionCamelCase expected
testCases givenIdent targetConvention expected
givenIdent targetConventionexpected