Ivan Kylchik
307871a050
[FIR] Unmute fir spec tests
...
#KT-38397 Fixed
#KT-38334 Fixed
2020-07-09 23:49:39 +03:00
anastasiia.spaseeva
9d862aaa1d
[Spec tests] Remove spec info from fir tests
2020-05-26 17:27:06 +03:00
Denis Zharkov
3bb6aa6f28
Mark as FIR_IDENTICAL passing spec tests
2020-04-21 10:16:42 +03:00
Denis Zharkov
b375e021e5
FIR: Ignore failing spec test
...
^KT-38397
2020-04-21 10:16:40 +03:00
Denis Zharkov
86e1aadd31
FIR: Adjust testData for spec tests: contracts
2020-04-21 09:52:52 +03:00
Mikhail Zarechenskiy
759127df9a
Add NI diagnostics for spec tests
2020-02-12 10:37:35 +03:00
Dmitriy Novozhilov
d210df9ea3
Update spec testdata according to previous commits
2019-12-26 17:43:28 +03:00
victor.petukhov
cf692fb257
Implement tests map generator and refactor folder structure to spec tests linking
2019-08-19 18:31:40 +03:00
victor.petukhov
86bb5d689d
Add various tests for DFA testing
2019-04-19 11:55:30 +03:00
Dmitriy Novozhilov
77c98bef4d
Fix recursion in contract declaration analysis. KT-26386 Fixed
...
Issue fixed only in old inference
2019-03-07 14:35:18 +03:00
Dmitriy Novozhilov
d0462859bf
Minor. Fix reporting diagnostic in contract with callable reference
2019-03-07 14:35:13 +03:00
Dmitriy Novozhilov
2f5843f764
Move detecting of illegal call of contract function into call checker
...
(#KT-26153, #KT-26191) fixed
2019-03-01 14:50:46 +03:00
Dmitriy Novozhilov
54e5cce9be
Prohibit declaring multiple callsInPlace contract on same lambda.
...
#KT-26150 fixed
2019-03-01 14:50:46 +03:00
Dmitriy Novozhilov
84da8b6279
Report CONTRACT_NOT_ALLOWED diagnostic on extension property getter/setter
...
KT-27090
2019-03-01 14:50:46 +03:00
victor.petukhov
06b5a42d0d
Improve test exceptions fixation:
...
- exceptions is analyzed if it's specified explicitly only,
- compute test case number for diagnostic tests in which an exception is thrown.
2019-02-14 12:31:43 +03:00
victor.petukhov
ec8a6cbe9c
Alphabetical sort wrapped intersection types for rendered diagnostics
2019-02-14 12:31:43 +03:00
victor.petukhov
46bd5ba107
Add alphabetical sorting diagnostics with same ranges
2019-02-14 12:31:42 +03:00
victor.petukhov
b9d1825765
Implement tests exceptions fixation mechanism
2018-12-07 18:35:43 +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
victor.petukhov
4ee0a666cb
Temporary mute test with FrontEndException (KT-26386)
2018-10-09 09:59:56 +03:00
victor.petukhov
e90cf4b955
Actualize test with return expression in contract description (implies)
2018-10-09 09:59:35 +03:00
victor.petukhov
30fc76a602
Remove redundant directives to contracts use
2018-10-03 13:49:32 +03:00
victor.petukhov
8538866778
Add few tests for contracts
...
- Contracts in getter/setter (unexpected behaviour)
- Check smartcasts when non-null assertion for a contract function is used
- Check work of contracts when type parameter of the callsInPlace is specify explicitly
- Check smartcasts working if type checking for contract function is used
2018-10-03 13:29:13 +03:00
victor.petukhov
ecb3f10e47
Add 'mute' concept: move tests with unexpected behaviour to the corresponding folder
2018-10-03 13:26:37 +03:00
victor.petukhov
84dc28374c
Add multilevel sections support and corresponding renaming
2018-10-03 13:26:29 +03:00
victor.petukhov
50d9dbbfc1
Fix inheritance in stdlib contracts code (KT-26409)
2018-09-12 12:34:15 +03:00
victor.petukhov
8d91e5998d
Add spec tests for contracts
2018-08-31 17:15:51 +03:00