Dmitriy Novozhilov
e56c87a17a
[Build] Move utils for generation JUnit 5 tests to :generators module
2021-10-12 17:26:18 +03:00
Vyacheslav Gerasimov
ab146bd6d4
Build: Fix deprecated Gradle configurations usages
...
for migration to Gradle 7+ #KTI-559
2021-09-26 18:28:44 +03:00
Ilya Kirillov
5b38bd2be2
FIR IDE: fix generators after changing analysis api packages
2021-09-15 11:32:47 +02:00
Dmitriy Novozhilov
c2e2068682
[Test] Add ability to mark group of tests with specific tags
...
Currently tags can be applied to all tests in specific testdata
directory by placing `_tags.txt` file in it, where all tags should
be listed on separate lines. Test generator adds those tags to
corresponding generated test classes with `@Tag` annotation
Please note that is applicable only to JUnit 5 tests
2021-08-01 22:23:41 +03:00
Ilya Kirillov
75331b3448
FIR IDE: abstract low-level-api from dependency on idea
2021-06-20 22:07:11 +02:00
Ilya Kirillov
7d351ca6b1
FIR IDE: add possibility to have different testdata for fir & fe10 keyword tests
2021-06-03 19:38:39 +03:00
Abduqodiri Qurbonzoda
40d1849f33
Migrate compiler, idea and others to new case conversion api
2021-04-08 03:22:02 +03:00
Dmitriy Novozhilov
e742af5444
[Test] Run fir diagnostics tests with light tree in sequential mode
...
In parallel mode many tests are failing so it's temporary workaround
2021-01-15 11:16:28 +03:00
Dmitriy Novozhilov
3c2079c926
[Test] Compute target backend in test generator automatically using reflection
2021-01-12 18:35:16 +03:00
Dmitriy Novozhilov
d15c7861b2
[TEST] Invert dependency between :test-generator and :tests-common modules
...
This is needed to provide ability for declaring new implementations of
test generators, based on existing infrastructure, which won't add
dependency on :compiler:tests-common
Also this commit removes implicit dependency on :compiler:tests-common
from :compiler:tests-common-new
2020-12-16 19:52:29 +03:00
Dmitriy Novozhilov
9e2d691425
[TEST] Move utils for checking all files presented to KtTestUtil
...
This is needed to remove dependency on :tests-common from module
with abstract test generators
2020-12-16 19:52:27 +03:00
Dmitriy Novozhilov
64ce307f7f
[TEST] Drop mechanism for muting tests with .mute files
...
This mechanism is deprecated and replaced with muting in database (.csv files)
2020-12-16 19:52:27 +03:00
Dmitriy Novozhilov
32fda13ef9
[TEST] Implement test generators for junit 5 based tests
2020-12-16 19:52:23 +03:00
Dmitriy Novozhilov
c8f3a4802e
[TEST] Introduce test-infrastructure-utils module and extract common test utilities here
2020-12-16 19:52:22 +03:00
Dmitriy Novozhilov
23c088afd6
[TEST-GEN] Reorganize package structure in :generators:test-generator module
2020-12-16 19:52:20 +03:00
Dmitriy Novozhilov
380e8a3814
[TEST-GEN] Extract run of TestGenerator to top of test generation DSL
2020-12-16 19:52:19 +03:00
Dmitriy Novozhilov
2a73aaba4d
[TEST-GEN] Move all generation data to TestGroup.TestClass
2020-12-16 19:52:19 +03:00
Dmitriy Novozhilov
c51ea6b142
[TEST-GEN] Create abstract TestGenerator and move current generator logic to TestGeneratorImpl
2020-12-16 19:52:19 +03:00
Dmitriy Novozhilov
d45fb4dfd8
[TEST-GEN] Extract logic of generating test methods into separate abstraction MethodGenerator
2020-12-16 19:52:19 +03:00
Dmitriy Novozhilov
2acbe96f15
[TEST-GEN] Convert Test Generation DSL classes from java to kotlin
2020-12-16 19:52:19 +03:00
Dmitriy Novozhilov
31bccb4fb0
[TEST-GEN] Rename .java to .kt
2020-12-16 19:52:18 +03:00
Dmitriy Novozhilov
580d2ed693
[TEST-GEN] Add some comments to TestGenerationDSL
2020-12-16 19:52:18 +03:00
Dmitriy Novozhilov
8c4b7ad1e1
[TEST] Drop generating tests for coroutines of Kotlin 1.2
2020-12-10 01:31:01 +03:00
Dmitriy Novozhilov
6a9504f26a
[FIR-TEST] Add coroutines diagnostic tests from old FE to FIR test suite
2020-06-29 12:19:02 +03:00
Vladimir Dolzhenko
9319c4c96e
DryRun mode for GenerateTests is added
...
Relates to #KTI-17
2020-06-08 19:05:10 +00:00
Ilya Gorbunov
cef81e11b7
Do not generate JS tests for experimental coroutines support
...
#KT-36083
2020-01-29 09:12:40 +03:00
Ilya Gorbunov
7ec04a1bf9
generators: extract OperationsMap generator to a separate source set
...
Refactor generators so that OperationsMapGenerator is in its own
source set with minimal dependencies.
2020-01-22 06:16:56 +03:00
Ilya Gorbunov
2251c27167
J2K GeneratorsFileUtil
2020-01-22 06:04:38 +03:00
Ilya Gorbunov
d64ec71205
J2K GeneratorsFileUtil: Rename .java to .kt
2020-01-22 06:04:38 +03:00
Dmitriy Novozhilov
5b1f96ba1b
[TEST] Add ability to exclude some testdata with pattern in test generator
2019-12-12 16:11:42 +03:00
Alexander Udalov
ce09be3f59
Add TargetBackend.isIR, simplify JVM IR test configuration
2019-11-11 12:10:29 +01:00
Nikolay Krasko
e1a5a55972
Refactoring: remove ownImports method
2019-10-23 12:49:49 +03:00
Nikolay Krasko
28abfe6dfa
Avoid generating irrelevant imports in test classes
...
Now methods can request generating additional imports.
2019-10-23 12:49:47 +03:00
Nikolay Krasko
0c5dc507e9
Allow to add additional annotations to generated classes
2019-10-23 12:49:47 +03:00
Nikolay Krasko
98ac2af402
Use TargetBackend.ANY as default parameter and migrate to more generic runTest method
2019-10-23 12:49:47 +03:00
Jiaxiang Chen
74e4e8b18e
enable test generator to generate tests using JUnit 4 infrastructure
2019-10-05 10:41:11 +02:00
Georgy Bronnikov
7ede26e8f4
IrCompileKotlinAgainstInlineKotlin tests
2019-09-06 09:19:57 +03:00
Dmitry Gridin
02fd137cec
SimpleTestClassModel: add deep field
2019-08-27 17:26:08 +07:00
Dmitry Gridin
65ce4aed1a
TestGenerationDSL: cleanup code
2019-08-27 17:26:07 +07:00
Ilmir Usmanov
60cbf0696d
Do not generate tests with experimental coroutines on JVM_IR backend
...
Enable working tests.
2019-06-25 16:30:01 +03:00
Vyacheslav Gerasimov
5a39c637c2
Build: Fix intellij dependency leak from ir tree module
2019-06-13 21:03:55 +03:00
nikita.movshin
86672df107
Update copyright.
...
Change the copyright from "JetBrains s.r.o." to
"JetBrains s.r.o. and Kotlin Project contributors"
Update TestGenerator.kt
2019-04-23 20:09:27 +03:00
nikita.movshin
65244b4bea
Update copyright.
...
Change the copyright from "JetBrains s.r.o." to
"JetBrains s.r.o. and Kotlin Project contributors"
Update only 2 lines copyright.
2019-04-23 20:09:22 +03:00
Mikhael Bogdanov
a122cba862
Switch Kotlin project to jvm-target 1.8
...
#KT-29405
2019-01-31 07:43:05 +01:00
Vyacheslav Gerasimov
f58acbeef5
Build: implement useBootstrapStdlib flag
...
Excludes stdlib projects from build and uses bootstrap stdlib artifacts
#KT-29205
2019-01-21 21:09:40 +03:00
Roman Artemev
c4ddf2e9ae
Enable release coroutine tests in JS IR
2018-09-17 14:52:44 +03:00
Ilya Gorbunov
a18770fbbb
Remove projectDist dependency helper usages
...
Use default configuration dependencies instead of projectDist ones.
2018-09-12 06:05:05 +03:00
Anton Bannykh
0579b52d6b
JS: enabled codegen box tests for release coroutines
2018-07-12 14:18:34 +03:00
Denis Zharkov
820506d9c6
Fix tests after new Continuation API support
...
#KT-24863 Fixed
2018-07-09 15:27:19 +03:00
Roman Artemev
c887b88ed9
Fix coroutine test generator
2018-07-02 15:35:02 +03:00