Commit a0e698f
unify Kotlin test suites: rename test-kotlin2 to test-kotlin
Rename java/ql/test-kotlin2 to java/ql/test-kotlin (codeql/java-kotlin-tests)
and delete java/ql/test-kotlin1. The unified suite is the K2 test suite
(test-kotlin2) with expected files already updated by the preceding extractor
commits to converge K1 and K2 output.
The suite runs in both language modes via the test runner:
* K1 mode — CODEQL_KOTLIN_LEGACY_TEST_EXTRACTION_KOTLIN2 unset → -language-version 1.9
* K2 mode — CODEQL_KOTLIN_LEGACY_TEST_EXTRACTION_KOTLIN2=true → -language-version 2.0
Update CODEOWNERS and labeler.yml to reference test-kotlin.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 7ad6046 commit a0e698f
1,277 files changed
Lines changed: 2 additions & 33353 deletions
File tree
- .github
- java/ql
- test-kotlin1
- library-tests
- annotation_classes
- annotations/jvmName
- arrays
- classes
- comments
- compilation-units
- controlflow
- basic
- dominance
- data-classes
- dataflow
- func
- notnullexpr
- enum
- exprs_typeaccess
- exprs
- generated-throws
- generic-inner-classes
- generic-instance-methods
- generic-selective-extraction
- generics
- interface-delegate
- internal-constructor-called-from-java
- internal-public-alias
- java-kotlin-collection-type-generic-methods
- java-lang-number-conversions
- jvmstatic-annotation
- lazy-val-multiple-constructors
- methods
- ministdlib
- modifiers
- multiple_files
- no-when-branch-found
- numlines
- private-anonymous-types
- properties
- reflection
- stmts
- trap
- underscore-parameters
- vararg
- variables
- query-tests
- UnderscoreIdentifier
- UselessNullCheck
- test-kotlin2
- TestUtilities
- internal
- library-tests
- GeneratedFiles
- android_function_return_types
- annotation-accessor-result-type
- annotation_classes
- annotations/jvmName
- arrays-with-variances
- arrays
- call-int-to-char
- clashing-extension-fields
- classes
- collection-literals
- comments
- companion_objects
- compilation-units
- controlflow
- basic
- dominance
- paths
- plot
- coroutines
- data-classes
- dataflow
- extensionMethod
- foreach
- func
- notnullexpr
- stmtexpr
- summaries
- taint
- whenexpr
- declaration-stack
- empty
- enum
- exprs_typeaccess
- exprs
- extensions_recursion
- extensions
- fake_overrides
- all_java
- all_kotlin
- kotlin_calling_java
- field-initializer-flow
- files
- for-array-iterators
- function-n
- generated-throws
- generic-inner-classes
- generic-instance-methods
- generic-methods
- generic-selective-extraction
- generic-type-bounds
- generics-location
- generics
- inherited-callee
- inherited-collection-implementation
- inherited-default-value
- inherited-single-abstract-method
- inheritence-substitution
- instances
- interface-delegate
- internal-constructor-called-from-java
- internal-public-alias
- java-kotlin-collection-type-generic-methods
- java-lang-number-conversions
- java-list-kotlin-user
- java-map-methods
- java_and_kotlin_generics
- java
- kotlin
- java_and_kotlin_internal
- java_and_kotlin
- java_properties
- jvmoverloads-annotation
- jvmoverloads_flow
- jvmoverloads_generics
- jvmstatic-annotation
- kotlin-java-map-entries
- lateinit
- lazy-val-multiple-constructors
- literals
- maps-iterator-overloads
- methods-mixed-java-and-kotlin
- methods
- ministdlib
- mixed-java-and-kotlin
- modifiers
- multiple_extensions
- multiple_files
- nested_types
- no-when-branch-found
- numlines
- object
- operator-overloads
- parameter-defaults
- private-anonymous-types
- properties
- recursive-instantiations
- stack-overflow-1
- stack-overflow-2
- reflection
- special-method-getters
- static-method-calls
- stmts
- string-charat
- super-method-calls
- this
- trap
- trivial
- type_aliases
- type_equivalences
- types
- underscore-parameters
- vararg
- variables
- query-tests
- AbstractToConcreteCollection
- AutoBoxing
- CloseReader
- CloseWriter
- ConfusingOverloading
- ConstantLoopCondition
- DeadCode
- DeadRefTypes
- EmptyBlock
- ExposeRepresentation
- InnerClassCouldBeStatic
- MissingInstanceofInEquals
- MissingOverrideAnnotation
- MutualDependency
- NamingConventionsRefTypes
- NonSerializableField
- NonSerializableInnerClass
- NullMaybe
- OneStatementPerLine
- PartiallyMaskedCatch
- ReturnValueIgnored
- SimplifyBoolExpr
- UnderscoreIdentifier
- UnreadLocal
- UselessNullCheck
- UselessParameter
- WhitespaceContradictsPrecedence
- test-kotlin
- TestUtilities
- internal
- library-tests
- GeneratedFiles
- android_function_return_types
- annotation-accessor-result-type
- annotation_classes
- annotations/jvmName
- arrays-with-variances
- arrays
- call-int-to-char
- clashing-extension-fields
- classes
- collection-literals
- comments
- companion_objects
- compilation-units
- controlflow
- basic
- dominance
- paths
- plot
- coroutines
- data-classes
- dataflow
- extensionMethod
- foreach
- func
- notnullexpr
- stmtexpr
- summaries
- taint
- whenexpr
- declaration-stack
- empty
- enum
- exprs_typeaccess
- exprs
- extensions_recursion
- extensions
- fake_overrides
- all_java
- all_kotlin
- kotlin_calling_java
- field-initializer-flow
- files
- for-array-iterators
- function-n
- generated-throws
- generic-inner-classes
- generic-instance-methods
- generic-methods
- generic-selective-extraction
- generic-type-bounds
- generics-location
- generics
- inherited-callee
- inherited-collection-implementation
- inherited-default-value
- inherited-single-abstract-method
- inheritence-substitution
- instances
- interface-delegate
- internal-constructor-called-from-java
- internal-public-alias
- java-kotlin-collection-type-generic-methods
- java-lang-number-conversions
- java-list-kotlin-user
- java-map-methods
- java_and_kotlin_generics
- java
- kotlin
- java_and_kotlin_internal
- java_and_kotlin
- java_properties
- jvmoverloads-annotation
- jvmoverloads_flow
- jvmoverloads_generics
- jvmstatic-annotation
- kotlin-java-map-entries
- lateinit
- lazy-val-multiple-constructors
- literals
- maps-iterator-overloads
- methods-mixed-java-and-kotlin
- methods
- ministdlib
- mixed-java-and-kotlin
- modifiers
- multiple_extensions
- multiple_files
- nested_types
- no-when-branch-found
- numlines
- object
- operator-overloads
- parameter-defaults
- private-anonymous-types
- properties
- recursive-instantiations
- stack-overflow-1
- stack-overflow-2
- reflection
- special-method-getters
- static-method-calls
- stmts
- string-charat
- super-method-calls
- this
- trap
- trivial
- type_aliases
- type_equivalences
- types
- underscore-parameters
- vararg
- variables
- query-tests
- AbstractToConcreteCollection
- AutoBoxing
- CloseReader
- CloseWriter
- ConfusingOverloading
- ConstantLoopCondition
- DeadCode
- DeadRefTypes
- EmptyBlock
- ExposeRepresentation
- InnerClassCouldBeStatic
- MissingInstanceofInEquals
- MissingOverrideAnnotation
- MutualDependency
- NamingConventionsRefTypes
- NonSerializableField
- NonSerializableInnerClass
- NullMaybe
- OneStatementPerLine
- PartiallyMaskedCatch
- ReturnValueIgnored
- SimplifyBoolExpr
- UnderscoreIdentifier
- UnreadLocal
- UselessNullCheck
- UselessParameter
- WhitespaceContradictsPrecedence
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| |||
File renamed without changes.
File renamed without changes.
0 commit comments