victor.petukhov
f3774b8e19
Add black box spec tests validation
2018-12-14 14:36:16 +03:00
victor.petukhov
725832a281
Fix incomplete printing of exceptions (of the all types) in tests
2018-12-13 12:50:10 +03:00
Nikolay Krasko
0482fe9414
Move check with selection tags to base check
2018-12-13 12:36:02 +03:00
victor.petukhov
ee0fa2220e
Fix incomplete printing of runtime exceptions in box tests
2018-12-12 17:44:05 +03:00
Alexey Tsvetkov
05c5196aaa
Reuse BytecodeListingTextCollectingVisitor in tests
2018-12-11 22:48:53 +03:00
Georgy Bronnikov
c018109bca
React to review comments
2018-12-10 17:26:55 +03:00
victor.petukhov
b9d1825765
Implement tests exceptions fixation mechanism
2018-12-07 18:35:43 +03:00
Georgy Bronnikov
a35f368ce0
Switch off logging for failing IrBlackBox tests
...
Logging of tests that are expected to fail is controlled by
kotlin.suppress.expected.test.failures project property.
2018-12-05 01:48:43 +03:00
Georgy Bronnikov
1a529bd601
Revert "Switch off logging for failing IrBlackBox tests"
...
This reverts commit d23964034b .
2018-11-28 00:00:13 +03:00
Georgy Bronnikov
d23964034b
Switch off logging for failing IrBlackBox tests
...
Logging of tests that are expected to fail is controlled by
kotlin.suppress.expected.test.failures project property.
2018-11-27 16:53:34 +03:00
victor.petukhov
64f531fc93
Reorganize spec tests infrastructure code
...
- Add the tests mute system for the diagnostic tests
- Move the code for the test info parsing to the separate package `parsers`
- Unification of the `linked` and `not linked` spec tests
- Package structure is refactored
- Change the multiline comment format with a test information
- Actualize `PrintSpecTestsStatistic`
- Other different code improvements
2018-11-23 17:23:41 +03:00
Ilmir Usmanov
fda0901b39
Remove usages of kotlin-stdlib-coroutines.jar in tests
2018-11-20 19:09:27 +03:00
Dmitry Petrov
a0d74be7cf
KT-28235: Make sure array access produces unique elements
...
This requires generating calls on-demand in
LValueWithGetterAndSetterCalls.
2018-11-16 10:33:30 +03:00
Mikhail Zarechenskiy
45541296ad
Stop building separate jar with unsigned types
...
Now this is not needed as unsigned types were merged into stdlib
2018-11-13 15:47:06 +03:00
Mikhail Zarechenskiy
d28488eaed
Remove WITH_UNSIGNED directive from tests
...
#KT-25226 Fixed
2018-11-13 11:48:32 +03:00
Mikhael Bogdanov
d2a205c72d
Update synthetic parameter processing logic according to ASM 7 changes
...
#KT-27774 Fixed
2018-11-07 15:42:57 +01:00
Simon Ogorodnik
9976eff03a
FIR: Add components storage to FirSession
2018-11-02 19:44:50 +03:00
Mikhail Glukhikh
2c626d6c5d
Implement raw FIR builder (initial version)
...
All necessary FIR tree implementations were created
FIR renderer & three first builder tests were added
#KT-24013 Fixed
2018-11-02 19:44:49 +03:00
Dmitry Savvinov
f9f54e5a4b
Minor: publish AbstractIrGeneratorTestCase.createExpectedFile
2018-10-31 14:52:04 +03:00
Mikhael Bogdanov
55880ef013
Fix delegateFilter reinitialization
...
Otherwise IDEA marks all test as skipped
2018-10-22 16:32:54 +02:00
Alexander Udalov
b1e82c78da
Minor, remove obsolete KtMockFileTypeManager.java.183
...
This is a continuation of 4f0c31ef
2018-10-18 11:58:30 +02:00
Dmitry Petrov
ad9953724f
Basic infrastructure for psi2ir tests with JS front-end
2018-10-18 10:59:24 +03:00
Alexander Udalov
e3a332c393
Configure Java module path when compiler is invoked in -Xbuild-file mode
...
#KT-27626 Fixed
2018-10-17 18:39:50 +02:00
Alexander Udalov
f868964e25
Fix most unchecked/deprecation javac warnings in compiler modules
2018-10-17 18:39:49 +02:00
Alexander Udalov
4f0c31eff3
Remove unneeded copied mock test framework classes
...
These classes were copied when tests-common were compiled with JDK 6, to
prevent dependencies on classes compiled with JDK 8
2018-10-17 18:39:49 +02:00
Alexander Udalov
23c210e9f2
Use JvmWildcard on return type of getContributedVariables/getContributedFunctions
2018-10-17 18:39:49 +02:00
Zalim Bashorov
180215f3f8
Don't unmute passed tests by default
2018-10-17 18:29:40 +03:00
Nikolay Krasko
e3d930a6a1
Build maven-like stdlib sources artifacts during dist
...
This is needed to emulate gradle and maven like projects in plugin tests.
2018-10-12 18:50:04 +03:00
Alexander Udalov
009f18f1f4
Split AnalysisFlag values to AnalysisFlags and JvmAnalysisFlags
...
Declare AnalysisFlags in module 'frontend', and JvmAnalysisFlags in
module 'frontend.java', to avoid leaking Java-related logic to common
compiler code
2018-10-01 13:31:00 +02:00
Dmitry Petrov
ec8bdff5c7
Working infrastructure for external dependencies testing
...
(not really, but at least something)
2018-09-21 09:50:21 +03:00
Anton Bannykh
082c44cb5c
JS: add a flag for more convenient investigation of failing IR tests
2018-09-14 20:34:34 +03:00
Ilya Gorbunov
c4e794b21f
Add nullability annotations jar to debugger test application compile classpath
2018-09-12 00:58:55 +03:00
Yan Zhulanow
6f7741b6bb
Minor: Move AbstractParcelBytecodeListingTest to compiler tests, change its format a bit
2018-09-11 16:40:43 +03:00
Mikhail Zarechenskiy
169599abcc
Add flag to allow using kotlin.Result as a return type
...
#KT-26659 Fixed
2018-09-11 10:39:11 +03:00
Alexander Udalov
c4be039cd1
Support argfiles in CLI with "@argfile"
...
#KT-24613 Fixed
2018-09-10 14:12:32 +03:00
Roman Elizarov
e2713501ce
Rename SuccessOrFailure to Result and hide Failure from ABI
...
* The members of Result are isSuccess, isFailure, exceptionOrNull, getOrNull
* The rest of API is implemented via inline-only extensions
* There are two internal functions to hide detailed mechanics of an internal
Result.Failure class: createFailure and throwOnFailure
* Result.toString is explicit: either Success(v) or Failure(x)
See KT-26538
2018-09-09 11:34:31 +03:00
Zalim Bashorov
69ee88871f
Don't print stack trace for ignored tests by default
2018-09-08 13:37:30 +03:00
Alexander Udalov
87c0d56618
Drop Annotations.getAllAnnotations
2018-09-06 19:13:14 +03:00
Alexander Udalov
5f18439442
Use correct module name when calling internal members from other module
...
This is needed to avoid using the same module name for test root as for
the main source root in the Gradle plugin, which is needed to fix
KT-18955
2018-08-31 13:42:57 +02:00
Denis Zharkov
3bdfd811e8
Add some new String methods in JDK 11 to built-ins mapping blacklist
...
These three methods are conflicting with existing extensions,
thus the behavior might be changed when switching to JDK 11
Probably, it's worth revisiting our strategy here,
e.g. by blacklisting all new methods in
#KT-24974 Fixed
2018-08-31 10:33:09 +03:00
Ilya Gorbunov
e59141e32c
Replace kotlin-stdlib-jreN usages in tests and samples
2018-08-30 14:57:56 +03:00
Ilya Gorbunov
c667340261
Allow pre-release compiler reading pre-release binaries in tests
...
Pre-release compiler should be able to read pre-release binaries in tests
even if a stable language version is used, otherwise no stdlib API can be read.
2018-08-30 14:50:27 +03:00
Denis Vnukov
ddf92ef187
Creating IrLineNumberTestGenerated, adding line numbers for few common expressions
...
This PR enables LineNumberTestGenerated test on IR backend. The testing of
hardcoded sequence of line numbers is replaced with mere checks for set-like
checks for expected line numbers.
2018-08-29 12:52:20 +02:00
Alexander Udalov
4219aff548
Refactor DescriptorRenderer's renderAccessors option
...
In some tests with txt (probably all except loadJava), property
accessors are not rendered at all, so a third option value (NONE) will
be useful to determine whether we need to render annotations on property
accessors as get/set/sparam-targeted annotations on the property
2018-08-27 23:37:06 +02:00
Mikhael Bogdanov
7e7b556018
Minor. Reformat
2018-08-27 15:17:26 +02:00
Mikhael Bogdanov
7843d4e0d4
Minor. Code clean
2018-08-27 15:17:26 +02:00
Mikhael Bogdanov
efd93670f8
Migrate AbstractWriteSignatureTest.kt to CodegenTestCase stuff
2018-08-27 15:17:25 +02:00
Mikhael Bogdanov
f21dd9f801
Minor. Review fixes
2018-08-24 20:22:33 +02:00
Mikhael Bogdanov
367ab5470c
Minor. Code clean
2018-08-24 20:22:32 +02:00
Mikhael Bogdanov
4687381179
Convert AbstractLineNumberTest.java to Kotlin
2018-08-24 20:17:25 +02:00