Alexander Udalov
6b0fce8cd5
Unsorted replacements "jet" -> "kotlin"
...
#KT-2896 Fixed
2014-03-02 19:55:15 +04:00
Andrey Breslav
210827b1d5
ExceptionUtils rewritten in Kotlin
2014-01-30 21:03:53 +04:00
Alexander Udalov
5539a29439
Minor, extract method in CodegenTestCase
2013-10-16 14:59:37 +04:00
Mikhael Bogdanov
d4b84a8809
ScriptCodegen refactoring: unsingleton
2013-10-10 16:17:10 +04:00
Evgeny Gerashchenko
ec5331057a
Removed unnecessary final on local variables.
2013-03-13 14:12:50 +04:00
Evgeny Gerashchenko
f4c91915bb
Fixed tests by running super.tearDown()
2013-01-28 20:20:37 +04:00
Evgeny Gerashchenko
52b7ee6447
Happy new year 2013!
2013-01-28 18:58: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
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
Evgeny Gerashchenko
e03eaf6dde
Removed @author javadocs from code.
2012-12-28 17:44:31 +04:00
Alex Tkachman
6af235fe2b
KT-2589 fix: putting some order on bytecode flags
2012-08-09 13:35:44 +03:00
Alex Tkachman
0588d51700
getting rid of default imports for scripts
2012-08-06 18:18:17 +03:00
Alex Tkachman
b52b92cd31
one more test for scripts
2012-08-02 09:31:32 +03:00
Alex Tkachman
29054586d3
default imports added to script definitions
2012-08-01 23:05:56 +03:00
Alex Tkachman
e134969896
making script classes useful/accessable for the rest of the world
2012-08-01 09:58:01 +03:00
Alex Tkachman
a98cd7aa0f
script renamed
2012-07-30 13:24:59 +03:00
Alex Tkachman
c14a0b3c84
refactoring of script definition api
2012-07-30 09:26:30 +03:00
Alex Tkachman
7c2d394412
properr names for scripts
2012-07-29 23:58:45 +03:00
Alex Tkachman
f8391619a5
configurable script languages
2012-07-29 21:32:53 +03:00
Evgeny Gerashchenko
c74ccec0bf
Renamed CompilerSpecialMode to ConfigurationKind, gave enum constants more clear names.
2012-07-07 23:07:20 +04:00
Evgeny Gerashchenko
2c58989a47
Moved CompilerSpecialMode enum to compiler-tests, since it is now used only for creating test compiler configurations.
2012-07-07 23:07:19 +04:00
Stepan Koltsov
b0553ff651
properly handle empty lines in REPL
2012-06-09 23:25:41 +04:00
Stepan Koltsov
18aa1dc570
script parameter closure
2012-06-08 04:19:24 +04:00
Stepan Koltsov
f27147f752
script: make top level declarations class members
2012-06-05 22:59:07 +04:00
Stepan Koltsov
68ae2e95a3
better ScriptGenTest: check more fields
2012-06-05 22:56:26 +04:00
Stepan Koltsov
0f8c449f55
ScriptGenTest: more
2012-05-31 19:31:40 +04:00
Stepan Koltsov
1f5666e0e8
more tests in ScriptGenTest
2012-05-30 19:47:42 +04:00
Stepan Koltsov
30e44fdc5f
script parameters
...
still a lot of things to do
2012-05-28 20:31:29 +04:00
Evgeny Gerashchenko
ea36cf9fb0
Reverted all changes related to renaming jdkHeaders to altHeaders.
2012-05-23 17:05:09 +04:00
Stepan Koltsov
f4051f45ab
generate bytecode for script
...
It is just prototype
* does not make top level symbols visible as class members yet
* does not take parameters
* Script class name is hardcoded now
2012-05-23 02:52:29 +04:00