зеркало из https://github.com/github/codeql.git
Kotlin: Add an integration test for Kotlin 2
This commit is contained in:
Родитель
deaf912cb8
Коммит
bbf441f87a
|
@ -0,0 +1,3 @@
|
|||
| Number of files with extension jar | 1 |
|
||||
| Number of files with extension kt | 1 |
|
||||
| Uses Kotlin 2: true | 1 |
|
|
@ -0,0 +1,17 @@
|
|||
extensions:
|
||||
- addsTo:
|
||||
pack: codeql/java-queries
|
||||
extensible: extractorInformationSkipKey
|
||||
data:
|
||||
# These will have unstable values, as they are dependent on the
|
||||
# JDK that the test is run with, so filter them out:
|
||||
- ["Number of files"]
|
||||
- ["Number of files with extension class"]
|
||||
# These depend on the Kotlin version you have installed
|
||||
- ["Kotlin Compiler Version: %"]
|
||||
- ["Kotlin Extractor Name: %"]
|
||||
# Currently we get some diagnostics as Kotlin 2 support isn't complete.
|
||||
# Ignore these, as the number probably isn't stable.
|
||||
- ["Number of diagnostics from CodeQL Kotlin extractor with severity %"]
|
||||
- ["Total number of diagnostics from CodeQL Kotlin extractor"]
|
||||
|
|
@ -0,0 +1 @@
|
|||
Telemetry/ExtractorInformation.ql
|
|
@ -0,0 +1,2 @@
|
|||
class SomeClass {
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
from create_database_utils import *
|
||||
|
||||
run_codeql_database_create(["kotlinc -language-version 2.0 SomeClass.kt"], lang="java")
|
Загрузка…
Ссылка в новой задаче