From 410f575d88e9fe02ecd923b209c25c650a7197a1 Mon Sep 17 00:00:00 2001 From: "Alexander.Danilov" Date: Fri, 20 Dec 2024 15:29:19 +0100 Subject: [PATCH] Move test cases from intellij and add to corresponding charts, and add a new chart for first found usages in intellij --- .../resources/projects/kotlin_projects.json | 23 ++++++++++++++++--- .../src/components/kotlin/projects.ts | 6 +++++ 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/dashboard/new-dashboard/resources/projects/kotlin_projects.json b/dashboard/new-dashboard/resources/projects/kotlin_projects.json index 1dc5b40b..8f6cfe53 100644 --- a/dashboard/new-dashboard/resources/projects/kotlin_projects.json +++ b/dashboard/new-dashboard/resources/projects/kotlin_projects.json @@ -19,7 +19,8 @@ "intelliJTyping": [ "intellij_commit/completion/IdeMenuBar_emptyPlace_sout_typing_with_library_cache", "intellij_commit/completion/TestModelParser_emptyPlace_if_typing_with_library_cache", - "intellij_commit/completion/AndroidModuleSystem_emptyPlace_get_typing_with_library_cache" + "intellij_commit/completion/AndroidModuleSystem_emptyPlace_get_typing_with_library_cache", + "intellij_commit/completion/ToolWindowManagerImpl_newline_RuntimeE_typing_with_library_cache" ], "kotlinLang": [ "kotlin_lang/completion/CommonParser_after_parameter_with_library_cache", @@ -70,7 +71,8 @@ "intellij_commit/highlight/KotlinHighLevelFunctionParameterInfoHandler_with_library_cache", "intellij_commit/highlight/JdkList_with_library_cache", "intellij_commit/highlight/ComposeCompletionContributorTest_with_library_cache", - "intellij_commit/highlight/AgpUpgradeRefactoringProcessor_with_library_cache" + "intellij_commit/highlight/AgpUpgradeRefactoringProcessor_with_library_cache", + "intellij_commit/highlight/ToolWindowManagerImpl_with_library_cache" ], "intelliJ2": [ "intellij_commit/highlight/AndroidModelTest_with_library_cache", @@ -229,7 +231,10 @@ "intellij_commit/findUsages/setUp_with_library_cache", "intellij_commit/findUsages/SolutionModel_with_library_cache", "intellij_commit/findUsages/SqlBlock_with_library_cache", - "intellij_commit/findUsages/UIAutomationInteractionModel_with_library_cache" + "intellij_commit/findUsages/UIAutomationInteractionModel_with_library_cache", + "intellij_commit/findUsages/runReadAction_with_library_cache", + "intellij_commit/findUsages/absolutePath_with_library_cache", + "intellij_commit/findUsages/xy_with_library_cache" ], "kotlinLang": [ "kotlin_lang/findUsages/CommonParser_with_library_cache", @@ -268,6 +273,18 @@ "kotlin_lang/findUsages/SourceSet_with_library_cache" ] }, + "findUsagesFirstUsage": { + "intelliJ": [ + "intellij_commit/findUsages/loadModuleEntity_with_library_cache", + "intellij_commit/findUsages/setUp_with_library_cache", + "intellij_commit/findUsages/SolutionModel_with_library_cache", + "intellij_commit/findUsages/SqlBlock_with_library_cache", + "intellij_commit/findUsages/UIAutomationInteractionModel_with_library_cache", + "intellij_commit/findUsages/runReadAction_with_library_cache", + "intellij_commit/findUsages/absolutePath_with_library_cache", + "intellij_commit/findUsages/xy_with_library_cache" + ] + }, "evaluateExpression": { "kotlinLanguageServer": [ "kotlin_language_server/evaluate-expression/ClassPathTest_with_library_cache", diff --git a/dashboard/new-dashboard/src/components/kotlin/projects.ts b/dashboard/new-dashboard/src/components/kotlin/projects.ts index e6399eac..3ffe23b6 100644 --- a/dashboard/new-dashboard/src/components/kotlin/projects.ts +++ b/dashboard/new-dashboard/src/components/kotlin/projects.ts @@ -34,6 +34,7 @@ const MEASURES = { optimizeImportsMeasures: [{ name: "execute_editor_optimizeimports", label: "Optimize imports" }], insertCodeMeasures: [{ name: "execute_editor_paste", label: "Insert code" }], findUsagesMeasures: [{ name: "findUsages#mean_value", label: "findUsages mean value" }], + findUsagesFirstUsageMeasures: [{ name: "findUsages_firstUsage#mean_value", label: "findUsages first usage mean value" }], evaluateExpressionMeasures: [{ name: "evaluateExpression#mean_value", label: "evaluate expression mean value" }], convertJavaToKotlinProjectsMeasures: [{ name: "convertJavaToKotlin", label: "convert java to kotlin" }], navigationToDeclarationMeasures: [ @@ -237,6 +238,11 @@ export const findUsagesCharts = projectsToDefinition([ measures: MEASURES.findUsagesMeasures, machines: [MACHINES.linux], }, + { + projects: KOTLIN_PROJECTS.linux.findUsagesFirstUsage, + measures: MEASURES.findUsagesFirstUsageMeasures, + machines: [MACHINES.linux], + }, { projects: KOTLIN_PROJECTS.mac.findUsages, measures: MEASURES.findUsagesMeasures,