Commit Graph

27 Commits

Author SHA1 Message Date
Stepan Koltsov a889e29147 else on the next line
as requested by http://confluence.jetbrains.net/display/JET/Code+Conventions+for+Java

(sed is your friend)
2012-04-10 00:03:13 +04:00
Pavel V. Talanov a030576052 Merge from brahch analyzeJS.
Conflicts:
	compiler/backend/src/org/jetbrains/jet/codegen/GenerationState.java
	compiler/cli/src/org/jetbrains/jet/compiler/CompileSession.java
	compiler/frontend.java/src/org/jetbrains/jet/lang/resolve/java/AnalyzerFacadeForJVM.java
	compiler/tests/org/jetbrains/jet/codegen/GenerationUtils.java
	compiler/tests/org/jetbrains/jet/resolve/ExpectedResolveData.java
	compiler/tests/org/jetbrains/jet/types/JetDefaultModalityModifiersTest.java
	idea/src/org/jetbrains/jet/plugin/libraries/JetSourceNavigationHelper.java
	idea/src/org/jetbrains/jet/plugin/parameterInfo/JetFunctionParameterInfoHandler.java
	idea/src/org/jetbrains/jet/plugin/project/WholeProjectAnalyzerFacade.java
	idea/src/org/jetbrains/jet/plugin/quickfix/ChangeVariableMutabilityFix.java
	idea/src/org/jetbrains/jet/plugin/quickfix/ImportInsertHelper.java
	idea/src/org/jetbrains/jet/plugin/quickfix/QuickFixUtil.java
	idea/src/org/jetbrains/jet/plugin/refactoring/JetNameSuggester.java
	idea/src/org/jetbrains/jet/plugin/refactoring/JetRefactoringUtil.java
	idea/src/org/jetbrains/jet/plugin/refactoring/introduceVariable/JetIntroduceVariableHandler.java
2012-04-09 17:06:56 +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
Evgeny Gerashchenko 9794c0f730 Extracted getting test metadata from comment lines from LibrariesWithSourcesTest to JetTestUtils. 2012-04-06 17:22:24 +04:00
Pavel V. Talanov 766b4dc975 Move AnalyzerExhaust from frontend.java to frontend. 2012-04-04 16:11:40 +04:00
Stepan Koltsov 2c4094f4d4 proper environment when compiling special things
* do not include anything when compiling builtins
* do not include kotlin-runtime and jdk-headers when compiling jdk-headers
2012-03-30 03:54:58 +04:00
Stepan Koltsov 1e330fe0a0 jvm.backend: get JetStandardLibrary from analyzer
This is a big step towards removal of JetStandardLibrary.getInstance()
2012-03-29 01:03:44 +04:00
Andrey Breslav 1078c95bf2 Platform-dependent AnalyzerFacades renamed to reflect platform-dependencies 2012-03-02 18:27:29 +04:00
Stepan Koltsov fd8b363a5f fix tests 2012-02-20 22:58:07 +04:00
Maxim Shafirov a03922d467 Copyrights set to Apache, reflecting it's now open source 2012-02-14 19:25:06 +04:00
Alex Tkachman bb3ca16203 Speeding up codegen tests 2012-02-07 19:10:47 +02:00
Maxim Shafirov 20920f0a0b Temp directories, which reside under project root replaced with java.io.tmpdir based ones. 2012-01-25 15:51:12 +04:00
Maxim Shafirov 4c4aafd2d3 Delete temporary directories on exit 2012-01-25 12:57:08 +04:00
Stepan Koltsov 4767e5c935 split TestlibTest into two tests
* old tests attaches stdlib sources to testlib classpath
* new test compiles stdlib into stdlib.jar and then adds stdlib.jar to testlib classpath
2012-01-23 03:37:09 +04:00
Stepan Koltsov 746279ed56 diagnostics in mkdirs 2012-01-19 20:33:37 +04:00
Maxim Shafirov 59e688f9ff Move module scripting out of jvm backend 2012-01-13 14:23:48 +04:00
Stepan Koltsov 855142e35d move test output to one level down
for ReadClassDataTest and CompileJavaAgainstKotlinTest
2011-12-30 00:05:25 +04:00
Andrey Breslav 6aafaa1851 JetNamespace eliminated 2011-12-27 20:23:58 +04:00
Andrey Breslav f45c6171ba Resolve test data fixed 2011-12-27 14:17:23 +04:00
Stepan Koltsov c76463256b refactor tests 2011-12-07 22:27:42 +04:00
Stepan Koltsov b2917154e0 extract file utils 2011-12-07 22:27:38 +04:00
Stepan Koltsov a16874be6f Revert "refactor tests". I've broken tests again.
This reverts commit 8db2617701.
2011-12-07 22:06:35 +04:00
Stepan Koltsov 8db2617701 refactor tests 2011-12-07 21:01:51 +04:00
Andrey Breslav 242c59ffa6 Test fixed after adding debug info 2011-12-07 19:55:44 +04:00
Andrey Breslav deb8d5ea20 KT-689 Allow to put Java and Kotlin files in the same packages 2011-12-06 14:43:10 +04:00
Andrey Breslav 9ec55e08f4 Collective slices fixed 2011-11-14 16:25:37 +03:00
Dmitry Jemerov ec6dec0d37 separate compiler and plugin tests 2011-10-20 16:21:18 +02:00