Alexander Udalov
c9984c3d06
Generate not-null assertions on method parameters
...
Intrinsics.checkParameterIsNotNull() gets its caller's class and method names
from the stack trace to render them in an exception message.
Fix codegen tests because now it's now allowed to pass null to non-null
argument in tests
2012-10-08 19:13:20 +04:00
Alexander Udalov
95ec2448eb
Generate not-null assertions after method calls
...
If a method comes from Java and is annotated as returning NotNull, after
calling it we should check if it actually returned something other than null.
Introduce checkReturnedValueIsNotNull() in jet/runtime/Intrinsics which does
exactly that.
CallableMethod's invoke() and invokeDefault() are now private, use asserted
versions instead
2012-10-08 14:11:56 +04:00
pTalanov
03c4095b1f
SpecialFiles updated for android tests
2012-10-01 20:10:47 +04:00
Natalia.Ukhorskaya
32d707ca9b
Inner Java Enums
...
KT-2691 Fixed
KT-2686 Fixed
2012-09-24 12:33:58 +04:00
Alex Tkachman
a2ebc27a6a
noClassObjectForJavaClass excluded from android build
2012-09-20 19:11:32 +03:00
Alex Tkachman
9304ec103d
wrongly added test removed (correct one was added before by Zhenja)
2012-09-17 13:01:32 +03:00
Evgeny Gerashchenko
7a00dd1551
Excluded newly added codegen test from Android JVM test.
2012-09-17 12:48:33 +04:00
Alex Tkachman
e317764a88
correct access flags for package private (coming from java) #KT-2781 fixed
2012-09-16 10:08:36 +03:00
Natalia.Ukhorskaya
9e55fd219e
Android tests: add expected result for box() method
2012-09-13 13:24:53 +04:00
Natalia
1441f742bb
Android test: tests with mock jdk now run with jdk annotations
2012-09-06 12:44:49 +04:00
Natalia.Ukhorskaya
c8af013a5a
Android: add special files compiled with external annotations
2012-08-30 10:56:35 +04:00
Natalia.Ukhorskaya
563d8a9001
Android test: add new special files (temporary commented in tests)
2012-08-22 20:37:11 +04:00
Natalia.Ukhorskaya
096963d7ad
Android test: add new special files (must compile java file)
2012-08-22 14:37:45 +04:00
Natalia.Ukhorskaya
6b70d8200b
Android module: codegen tests with java aren't supported yet
2012-08-17 18:13:13 +04:00
Alex Tkachman
71208de565
revert unsuccessful attempt to fix android build
2012-08-14 09:26:27 +03:00
Alex Tkachman
6f4e84287e
fix broken compilation
2012-08-14 09:11:27 +03:00
Alex Tkachman
016f528334
some codegen tests use main instead of box
2012-08-14 07:09:13 +03:00
Natalia.Ukhorskaya
1506955188
Android module: update excluded files
2012-08-09 15:49:15 +04:00
Andrey Breslav
a98bc541f5
Printer class moved from tests to util
2012-08-07 16:44:14 +04:00
Natalia.Ukhorskaya
a32cb40fc6
Android module: update excluded files
2012-08-06 12:42:29 +04:00
Nikolay Krasko
8c78a36ad0
Use inherited JDK for android tests
2012-08-06 11:05:11 +04:00
Natalia.Ukhorskaya
5730955ce0
Android module: add test files which depend on junit.jar
2012-08-06 10:48:39 +04:00
Natalia.Ukhorskaya
57707d3a69
Android module: fix build - multifile test isn't supported yet
2012-08-06 10:48:38 +04:00
Natalia.Ukhorskaya
912304893e
Android module: fix stopRedundantEmulators method
2012-07-30 15:30:39 +04:00
Natalia.Ukhorskaya
f271d7363e
Android module: update files compiled with mock jdk
2012-07-11 20:27:32 +04:00
Natalia.Ukhorskaya
0ef0f023b7
Android module: update excluded files
2012-07-11 15:18:06 +04:00
Natalia.Ukhorskaya
3d8c6065c5
Android module: stop ddms process for unix systems
2012-07-09 15:31:06 +04: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
Evgeny Gerashchenko
6e7d08b478
Introduced BuiltinsScopeExtensionMode enum. Using it instead of CompilerSpecialMode to create JavaBridgeConfiguration.
2012-07-07 23:07:18 +04:00
Evgeny Gerashchenko
97e0ee4a29
Got rid of storing CompilerDependencies in JetCoreEnvironment (storing CompilerSpecialMode instead).
2012-07-07 20:33:23 +04:00
Natalia.Ukhorskaya
9bc1d870e0
Android module: create emulator files under project root, not in tmp directory
2012-07-06 16:21:26 +04:00
Natalia.Ukhorskaya
123fdde7ff
Android module: print list of devices before start new emulator
2012-07-06 13:24:39 +04:00
Natalia.Ukhorskaya
4095cee2cd
Android module: fix incorrect command for stopping emulator
2012-07-06 13:03:29 +04:00
Natalia.Ukhorskaya
0ba9ddd6a9
Android module: add check for another running devices
2012-07-06 12:52:53 +04:00
Natalia.Ukhorskaya
6e3346c019
Android module: revert 20e936f8f6
2012-07-05 19:45:11 +04:00
Natalia.Ukhorskaya
20e936f8f6
Android module: Try to fix bug with incorrect path to ini file on Windows
2012-07-05 17:27:44 +04:00
Natalia.Ukhorskaya
754148b2b2
Android module: correct paths for android tools for unix
2012-07-05 13:48:23 +04:00
Natalia.Ukhorskaya
e50abd67c5
Android module: create emulator in tmp folder, catch exceptions during stopping emulator
2012-07-05 13:09:14 +04:00
Natalia.Ukhorskaya
f51e893bb5
Add android-tests module.
...
Add run configuration for tests on android.
2012-07-03 17:47:00 +04:00