@@ -69,12 +69,8 @@ export async function activate(context: ExtensionContext): Promise<void> {
6969 commands . registerCommand ( "lcpr.showSolution" , ( input : NodeModel | Uri ) => treeViewController . showSolution ( input ) ) ,
7070 commands . registerCommand ( "lcpr.refreshExplorer" , ( ) => treeDataService . refresh ( ) ) ,
7171 commands . registerCommand ( "lcpr.testSolution" , ( uri ?: Uri ) => treeViewController . testSolution ( uri ) ) ,
72- commands . registerCommand ( "lcpr.testSolutionDefault" , ( uri ?: Uri , allCase ?: boolean ) =>
73- treeViewController . testSolutionDefault ( uri , allCase )
74- ) ,
75- commands . registerCommand ( "lcpr.testSolutionArea" , ( uri ?: Uri , testCase ?: string ) =>
76- treeViewController . testSolutionArea ( uri , testCase )
77- ) ,
72+ commands . registerCommand ( "lcpr.testCaseDef" , ( uri ?, allCase ?) => treeViewController . testCaseDef ( uri , allCase ) ) ,
73+ commands . registerCommand ( "lcpr.tesCaseArea" , ( uri , testCase ?) => treeViewController . tesCaseArea ( uri , testCase ) ) ,
7874 commands . registerCommand ( "lcpr.submitSolution" , ( uri ?: Uri ) => treeViewController . submitSolution ( uri ) ) ,
7975 commands . registerCommand ( "lcpr.setDefaultLanguage" , ( ) => treeViewController . setDefaultLanguage ( ) ) ,
8076 commands . registerCommand ( "lcpr.addFavorite" , ( node : NodeModel ) => treeViewController . addFavorite ( node ) ) ,
0 commit comments