Andrey Breslav
fe6fa5dfaa
JetLiteFixture migrated to use KotlinTestWithEnvironment
2012-07-11 13:21:39 +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
Evgeny Gerashchenko
d9c645a57f
Got rid of dependency from InjectorForJavaSemanticServices on CompilerDependencies.
2012-07-07 20:33:23 +04:00
Evgeny Gerashchenko
5e50f1928b
Renamed PsiClassFinderForJvm -> PsiClassFinderImpl.
2012-07-07 20:33:22 +04:00
Stepan Koltsov
33a59ff5fe
Name class
...
In the most places in frontend identifier is stored in Name class, was in String.
Name has two advantages over String:
* validation: you cannot accidentally create identifier with dot, for example
* readability: if you see String, you don't now whether it is
identifier, fq name, jvm class name or something else
Name's disadvantage is (small) performance overhead. We have no value types in JVM.
2012-05-23 02:52:32 +04:00
Stepan Koltsov
ecc4c484a6
move NameUtils, FqName into name subpackage
2012-05-23 02:52:30 +04:00
Stepan Koltsov
c9ff920f8a
JetDiagnosticsTest: no hardcoded paths and .jet extension
2012-05-19 00:36:27 +04:00
Stepan Koltsov
b109ac5ad4
store CompilerDependencies in JetCoreEnvironment
2012-05-01 22:59:42 +04:00
Stepan Koltsov
d71723131d
Revert "enhance tests (mostly codegen)" temporarily
...
This reverts commit 95f9bcbacb .
2012-05-01 21:21:46 +04:00
Stepan Koltsov
95f9bcbacb
enhance tests (mostly codegen)
...
* drop dependency on stdlib/alt-headers in the most tests
* assign to myEnvironment at most once in JetLiteFixture
* more tests do not compile runtime
2012-05-01 19:11:48 +04:00
Stepan Koltsov
3b43f30824
add JDK to CompilerDependencies
2012-04-25 19:36:22 +04:00
Stepan Koltsov
829f73cc5f
some classes from runtime.jar are not meant to be loaded by JDR
...
* assert runtime implementations from JetStandard* are not loaded
by JavaDescriptorResolver
* fix wrong @JetMethod in jet.Iterator
* fix jet.Iterator ns was created
* fix incorrect number of functions and tuples in JetStandardClasses
* added TODO about inconsisten Tuple class
2012-04-11 20:00:01 +04:00
Stepan Koltsov
10dd366216
CompilerDependencies
...
Holds reference to runtime.jar and jdk-headers.jar. Paths to these
jars are no longer hardcoded.
Many tests now compile runtime before execution. Because of this:
* Single test invocation is significantly slower now for some tests
* This can be fixed by making tests independent from runtime (this
must be done anyway)
Some tests still depend on runtime.jar built by "ant dist", this
is to be fixed.
2012-04-09 03:04:50 +04:00
Stepan Koltsov
69c9d3ffad
PsiClassFinder
2012-03-27 00:27:27 +04:00
Stepan Koltsov
162525f794
use dependency injector for JavaDescriptorResolver
...
JavaDescriptorResolver now lives in the same context as TopDownAnalyzer
2012-03-22 03:47:05 +04:00
Stepan Koltsov
82d77560a2
FqName class
...
for type safety, to easier distinguish between:
* short names
* qualified names
* jvm names (slash-separated)
* special names like <root>
* null values that mean "undefined" and "root ns" in different contexts
2012-03-13 21:51:38 +04:00
Andrey Breslav
93fcd7d1f2
Dependency Injection: GUICE replaced by custom code generation
2012-03-13 19:44:35 +04:00
Stepan Koltsov
997fbb60a3
using guice to wire TopDownAnalyzer beans
...
attempt 2
2012-03-10 00:54:16 +04:00
Andrey Breslav
a94b77ffc9
Revert GUICE introduction
2012-03-07 12:58:37 +04:00
Stepan Koltsov
c3e2fc947d
using guice to wire TopDownAnalyzer beans
2012-03-07 04:09:12 +04:00
Stepan Koltsov
522083bf5a
lang package
2012-03-07 04:08:18 +04:00
James Strachan
eb3aac9acb
refactored std.* package to be kotlin.*. Due to KT-1381 I had to move the functions from kotlin.test into the stdlib for now (I made them not depend on JUnit for now)
2012-03-03 12:11:06 +00:00
Andrey Breslav
d22f4eb144
Rename getOutType() -> getType()
2012-02-24 18:50:40 +04:00
Andrey Breslav
a87c0903f2
KT-224 "Overload ambiguity" when calling toString() method
2012-02-17 21:01:24 +04:00
Maxim Shafirov
a03922d467
Copyrights set to Apache, reflecting it's now open source
2012-02-14 19:25:06 +04:00
Andrey Breslav
b9ab6d1af2
Fix resolve tests: now the results are checked against alt-headers
2012-01-31 15:43:56 +04:00
Andrey Breslav
f45c6171ba
Resolve test data fixed
2011-12-27 14:17:23 +04:00
Andrey Breslav
683e511cf3
OverloadResolutionResult is returned from CallResolver instead of descriptors. This makes more information availbale to the caller (useful for better diagnostics).
2011-12-16 13:09:40 +04:00
Andrey Breslav
4ff84c5974
Read only interface extracted from OverloadResolutionResult
2011-12-16 13:09:30 +04:00
Stepan Koltsov
622133f217
File parameter to NamedTestFactory
2011-12-02 23:39:52 +04:00
Stepan Koltsov
dca64c8ba9
Revert "+-JDK and -NOSTDLIB options"
...
This reverts commit 8222011874 .
+- JDK will be restored in next commit
removal of -STDLIB was requested by Andrey Breslav
2011-11-24 15:18:37 +04:00
Stepan Koltsov
8222011874
+-JDK and -NOSTDLIB options
...
FullJetPsiCheckerTest has -JDK option
QuickJetPsiCheckerTest has +JDK option
FullJetPsiCheckerTest = QuickJetPsiCheckerTest with +JDK
QuickJetPsiCheckerTest = FullJetPsiCheckerTest with -JDK
2011-11-23 17:08:47 +04:00
Dmitry Jemerov
0b0aacc9e4
since JetTestCase is no longer a base class for any tests, remove code which is now redundant and rename it to JetTestCaseBuilder
2011-10-27 19:27:18 +02:00
Dmitry Jemerov
0b821ff5bf
JetResolveTest -> JetLiteFixture
2011-10-27 19:12:29 +02:00
Dmitry Jemerov
a3f8a088be
JetPsiCheckerTest and its testdata moved back to plugin tests
2011-10-27 18:44:39 +02:00
Dmitry Jemerov
ec6dec0d37
separate compiler and plugin tests
2011-10-20 16:21:18 +02:00