1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

添加测试用例

This commit is contained in:
zhangbk1
2024-04-01 17:32:35 +08:00
parent be9952f6bc
commit aff9af95ac
3 changed files with 130 additions and 30 deletions

View File

@@ -5,36 +5,6 @@ import * as assert from 'assert';
import * as vscode from 'vscode';
// import * as myExtension from '../../extension';
enum TextFormat {
/** 独立单词 */
SINGLE_WORD,
/** 小驼峰 */
CAMEL_CASE,
/** 大驼峰 */
PASCAL_CASE,
/** 大写 */
UPPER_CASE,
/** 小写 */
LOWER_CASE,
}
interface TestCase {
input: string
inputType: TextFormat | Array<TextFormat>
output: {
camelCase: string
}
}
const testCase: Array<TestCase> = [
{
input: '',
inputType: [],
output: {
camelCase: '',
}
},
];
suite('Extension Test Suite', () => {
vscode.window.showInformationMessage('Start all tests.');