Commit Graph

77 Commits

Author SHA1 Message Date
Natalia.Ukhorskaya b76980266d Fix tests on android 2013-07-05 20:23:25 +04:00
Mikhael Bogdanov d953919110 Android test fix 2013-06-28 10:16:07 +04:00
Alexander Udalov db41329e67 Exclude KT-3574 from Android tests due to jet.Nothing bug 2013-06-25 18:48:27 +04:00
Zalim Bashorov a665fa2049 Rewrote nonLiteralFilenameFilter and filenameFilter tests without working with FS.
Removed filenameFilter test from excludes for AndroidTests.
2013-04-02 22:11:57 +04:00
Natalia.Ukhorskaya 73bbda5b93 AndroidTests: do not run test which use file system 2013-03-29 11:47:05 +04:00
Mikhael Bogdanov 771bce99fa Android test update to support new Idea 2013-03-27 12:24:32 +04:00
Mikhael Bogdanov c1a8f27b99 Process waiting time increased x2 2013-03-21 19:17:34 +04:00
Evgeny Gerashchenko ec5331057a Removed unnecessary final on local variables. 2013-03-13 14:12:50 +04:00
Natalia.Ukhorskaya 871caaaa2d Fix android tests 2013-03-07 12:27:02 +04:00
Natalia.Ukhorskaya bd4d939089 Android tests: refactor RunUtils 2013-02-27 17:23:05 +04:00
Natalia.Ukhorskaya efe74a3b88 Android tests: start adb server before emulator start, print emulator log to console 2013-02-27 17:23:04 +04:00
Natalia.Ukhorskaya ab792a587c Android tests: do not call adb emu kill (throws exception if there are more than 1 emulator) 2013-02-27 17:23:02 +04:00
Natalia.Ukhorskaya 4ba4ac7e4e Android tests: print all exceptions 2013-02-27 17:23:01 +04:00
Natalia.Ukhorskaya 39e5115102 Update android sdk in Android Tests to API 16 2013-02-27 17:22:59 +04:00
Alexander Udalov c7e512a38a Correct Android SpecialFiles
Replace all multi-file tests and tests with java with an exclusion of
these directories. Delete obsolete exclusions, add a new one
2013-02-11 03:32:56 +04:00
Alexander Udalov b311255d96 Extract junit testcase, delete unneeded code 2013-02-11 02:01:40 +04:00
Natalia.Ukhorskaya 091399aa4b Android: add tests with java to excluded tests 2013-02-07 14:33:23 +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 52b7ee6447 Happy new year 2013! 2013-01-28 18:58:08 +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 e37cb461f6 Support visibility for protected static members
#KT-2999 Fixed
2013-01-24 18:43:37 +04:00
Natalia.Ukhorskaya db81672d23 Refactoring in android tests 2013-01-22 20:52:03 +04:00
Alexander Udalov ffd62eb80e Refactor ClassGenTest
Initialize environment with JDK_ONLY in setUp(), allowing to quickly launch
tests without compilation of stdlib.

Remove duplicate/unneeded/commented out tests
2013-01-18 18:04:09 +04:00
Alexander Udalov 05b482e7d5 Ignore unsupported codegen tests for Android 2013-01-17 18:44:24 +04:00
Natalia.Ukhorskaya 95e05d7d97 Android: Ignore kt3238.kt in Anroid Tests 2013-01-16 12:25:09 +04:00
Natalia.Ukhorskaya 47abdcf565 Rename namespace class to {package.name}Package
Conflicts:

	compiler/jet.as.java.psi/src/org/jetbrains/jet/asJava/JavaElementFinder.java
2013-01-15 19:45:06 +04:00
Andrey Breslav f26412aae4 Utility methods moved to a utility class 2013-01-10 16:16:49 +04:00
Evgeny Gerashchenko e03eaf6dde Removed @author javadocs from code. 2012-12-28 17:44:31 +04:00
Natalia.Ukhorskaya fcc3a4d0ab Android tests: finish all processes 2012-12-17 17:48:14 +04:00
Natalia.Ukhorskaya de45f2e8f7 Add jps test for Android 2012-11-27 14:49:10 +04:00
Natalia.Ukhorskaya 91e83c2860 Wrong instruction for invoke private function
#KT-2202 Fixed
2012-11-02 11:49:10 +04:00
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