From a6cdb263e22c66c3c567380553e75ff0bf1ea184 Mon Sep 17 00:00:00 2001 From: Evgeny Gerashchenko Date: Fri, 18 May 2012 20:51:39 +0400 Subject: [PATCH 1/2] Set valid sources for junit-plugin library. --- .idea/libraries/junit_plugin.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.idea/libraries/junit_plugin.xml b/.idea/libraries/junit_plugin.xml index 073fd5bae5f..e308f7a4779 100644 --- a/.idea/libraries/junit_plugin.xml +++ b/.idea/libraries/junit_plugin.xml @@ -4,6 +4,8 @@ - + + + \ No newline at end of file From 93b8a5ed5ee90af363ec04e32eb87421d80865d3 Mon Sep 17 00:00:00 2001 From: Evgeny Gerashchenko Date: Fri, 18 May 2012 20:55:56 +0400 Subject: [PATCH 2/2] Fixed KT-2019 Unit test runner: navigation by double click from a test to source code does not work #KT-2019 fixed --- .../org/jetbrains/jet/asJava/ClsWrapperStubPsiFactory.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/compiler/jet.as.java.psi/src/org/jetbrains/jet/asJava/ClsWrapperStubPsiFactory.java b/compiler/jet.as.java.psi/src/org/jetbrains/jet/asJava/ClsWrapperStubPsiFactory.java index 0fa7d083e35..f53ee42206d 100644 --- a/compiler/jet.as.java.psi/src/org/jetbrains/jet/asJava/ClsWrapperStubPsiFactory.java +++ b/compiler/jet.as.java.psi/src/org/jetbrains/jet/asJava/ClsWrapperStubPsiFactory.java @@ -102,6 +102,11 @@ class ClsWrapperStubPsiFactory extends StubPsiFactory { if (origin == null) return delegate.createMethod(stub); return new ClsMethodImpl(stub) { + @Override + public PsiElement getMirror() { + return origin; + } + @NotNull @Override public PsiElement getNavigationElement() {