Evgeny Gerashchenko
eb8107115d
Moved IntRange.count to Ranges class.
2013-01-29 22:55:03 +04:00
Evgeny Gerashchenko
af0997a147
Removed static count() in all but IntRange.
2013-01-29 22:55:03 +04:00
Alexander Udalov
823fc14722
Regenerate tests
2013-01-29 22:46:37 +04:00
Alexander Udalov
9007a6214a
Fix closure's reference to outer closure
...
#KT-3276 Fixed
2013-01-29 22:41:58 +04:00
Andrey Breslav
be349f6229
Migrate to IDEA 123.139 (12.0.3)
2013-01-29 20:46:14 +04:00
Alexander Udalov
bb5c65a7db
Fix Android tests
2013-01-29 17:54:52 +04:00
Alexander Udalov
1eae609a35
Fix Android tests
2013-01-28 22:47:08 +04:00
Evgeny Gerashchenko
f4c91915bb
Fixed tests by running super.tearDown()
2013-01-28 20:20:37 +04:00
Evgeny Gerashchenko
3acf284a4a
Reverted some copyrights.
2013-01-28 19:20:39 +04:00
Evgeny Gerashchenko
52b7ee6447
Happy new year 2013!
2013-01-28 18:58:08 +04:00
Evgeny Gerashchenko
65f1a8f430
Added test with number literals passed as constants.
2013-01-28 18:29:21 +04:00
Evgeny Gerashchenko
18b5495a8c
KT-1895 Make it possible to pass 1.0 as Float without explicit casting
...
#KT-1895 fixed
2013-01-28 18:29:21 +04:00
Alexander Udalov
0b1fe9c611
Generate black box with java codegen tests
2013-01-28 18:20:44 +04:00
Alexander Udalov
2904d1745b
Remove generated black box java codegen test
...
Move all testData to boxWithJava/
2013-01-28 18:20:41 +04:00
Alexander Udalov
86938f57b1
Remove codegen tests with Java, move testData to boxWithJava/
...
There'll be a single generated test class like
BlackBoxCodegenTestGenerated
2013-01-28 18:20:37 +04:00
Alexander Udalov
10c5949199
Extract some codegen tests to black box testData
2013-01-28 18:20:33 +04:00
Alexander Udalov
f7e0b06c2f
Generate black box codegen tests
2013-01-28 18:20:29 +04:00
Alexander Udalov
5313cf3bf0
Fix failing tests, copy testData
...
Some tests were using files that others called blackBoxFile() on. Since
those files are now moved to box/, copy them back to make the tests pass
2013-01-28 18:20:25 +04:00
Alexander Udalov
7ce62a5b64
Remove generated codegen tests, move all testData to box/
...
A single test file will be generated out of box/ directory
2013-01-28 18:20:21 +04:00
Alexander Udalov
41a416da60
Move blackBoxFile() testData to box/ directory
...
Delete all test methods (and empty test classes), since they'll be
auto-generated
2013-01-28 18:20:17 +04:00
Alexander Udalov
ecbb2f10ef
NamespaceGenTest doesn't require stdlib
2013-01-28 18:20:12 +04:00
Alexander Udalov
9bf73cf4b3
Extract static functions to CodegenTestUtil
...
Add Nullable/NotNull annotations
2013-01-28 18:18:08 +04:00
Alexander Udalov
63aacc416f
Extract classPathInTheSameClassLoader into a separate test
...
- class loader is now always created as if classPathInTheSameClassLoader
= false, which was the case of every codegen test except kt2781, which
is extracted into a separate file
- testNoClassObjectForJavaClass() is moved from StdlibTest since it has
a custom createClassLoader() which doesn't work well in a java-interop
case
- get rid of generateClassesInFileGetState
- several similar methods are inlined
2013-01-28 18:16:40 +04:00
Alexander Udalov
639aa9e218
Codegen tests: don't generate twice when a test fails
2013-01-25 23:06:43 +04:00
Alexander Udalov
df5b809b46
Refactor CodegenTestCase
...
- prohibit main(Array<String>) in favor of box(): String
- move all script-related code to ScriptGenTest
- remove unused environment-creating methods
- inline trivial methods & other minor stuff
2013-01-25 23:06:43 +04:00
Alexander Udalov
74467df3ef
Sort out blackBox*() methods
...
- get rid of blackBox(), extract tests into files
- delete single-file usages of blackBoxMultiFile()
- inline some other blackBox methods
- suppress exception in blackBoxWithJava()
2013-01-25 23:06:42 +04:00
Alexander Udalov
c8f73cfdae
Remove codegen tests out of JetNpeTest
2013-01-25 23:06:42 +04:00
Andrey Breslav
1c0cdbf142
Look up kotlin-runtime.jar through the marker class + more marker classes
2013-01-25 22:02:36 +04:00
Andrey Breslav
0187451c6f
Subscribe for exitDumbMode() to update notifications
...
Instead of scheduling runWhenSmart(), which does not work sometimes
2013-01-25 22:02:36 +04:00
Andrey Breslav
f91d4c5497
Class renamed
2013-01-25 22:02:35 +04:00
Andrey Breslav
8e516441f1
Version-related classes moved to the appropriate package
2013-01-25 22:02:35 +04:00
Andrey Breslav
341bd3a555
Notifications about unsupported ABI versions
2013-01-25 22:02:35 +04:00
Andrey Breslav
5a09d3a6b5
Continuation added to updateRuntime()
2013-01-25 22:02:35 +04:00
Andrey Breslav
c662f51a0a
A method to find local VirtualFile for Kotlin runtime library
2013-01-25 22:02:35 +04:00
Andrey Breslav
e15953b9fc
Finding library roots with wrong ABI versions
2013-01-25 22:02:35 +04:00
Andrey Breslav
2ec03acd17
Library created under write action
2013-01-25 22:02:35 +04:00
Andrey Breslav
96c6e604fb
Assertion message
2013-01-25 22:02:35 +04:00
Andrey Breslav
0bf6c75e49
Handle non-existent files
2013-01-25 22:02:34 +04:00
Andrey Breslav
a4d2cd5247
Assert message
2013-01-25 22:02:34 +04:00
Andrey Breslav
fb80e64e6b
Common library-related logic is extracted from UI classes to a util class
2013-01-25 22:02:34 +04:00
Andrey Breslav
41dd4b29ae
AbiVersionIndex added
2013-01-25 22:02:34 +04:00
Andrey Breslav
8797c3ea95
New package 'versions' created
2013-01-25 22:02:34 +04:00
Evgeny Gerashchenko
0031a633a2
KT-3277 Exception opening URLClassloader from java SDK. Obviously static class initializer doesn't have a name
...
EA-43194 - assert: KotlinSignatureInJavaMarkerProvider.getDescriptorForMember
#KT-3277 fixed
2013-01-25 17:43:37 +04:00
Alexander Udalov
69ae014da3
Revert excluding kt344 in SpecialFiles
2013-01-24 23:01:35 +04:00
Alexander Udalov
aa4e69de11
Remove obsolete special files from android tests
2013-01-24 21:12:28 +04:00
Alexander Udalov
0090ce3322
Refactor codegen tests: no special box() result
...
box() shall always return "OK"
2013-01-24 21:12:28 +04:00
Alexander Udalov
de37f73c8d
Remove tests on RTTI
...
It was never implemented
2013-01-24 21:12:27 +04:00
Alexander Udalov
0df71bd696
Refactor codegen tests
...
- initialize environment only once in setUp()
- add comments on why some tests are disabled
- modify and rename some tests
- re-enable now working tests
- extract some tests into files with box()
- remove useless 'throws' declarations and commented code
2013-01-24 21:12:27 +04:00
Alexander Udalov
99827d10a8
Rename *.jet -> *.kt in codegen tests
2013-01-24 21:12:27 +04:00
Natalia.Ukhorskaya
b0aa094cf8
Constructor for protected_static nested class should be protected
2013-01-24 20:58:39 +04:00