Changed "jdk headers" to "jdk annotations" in test and test data directories names.

This commit is contained in:
Evgeny Gerashchenko
2012-07-07 20:32:39 +04:00
parent 8050b96f27
commit 040d2f8945
8 changed files with 6 additions and 6 deletions
@@ -19,11 +19,11 @@ package org.jetbrains.jet.codegen;
import org.jetbrains.jet.ConfigurationKind;
/**
* Test correct code is generated for descriptors loaded as alt jdk headers
* Test correct code is generated for descriptors loaded with alt jdk annotations
*
* @author Stepan Koltsov
*/
public class JdkHeadersTest extends CodegenTestCase {
public class JdkAnnotationsTest extends CodegenTestCase {
@Override
protected void setUp() throws Exception {
@@ -32,11 +32,11 @@ public class JdkHeadersTest extends CodegenTestCase {
}
public void testArrayList() {
blackBoxFile("jdk-headers/arrayList.kt");
blackBoxFile("jdk-annotations/arrayList.kt");
}
public void testHashMap() {
blackBoxFile("jdk-headers/hashMap.kt");
blackBoxFile("jdk-annotations/hashMap.kt");
}
}
@@ -51,7 +51,7 @@ public class LibraryNavigationRegressionTest extends LightCodeInsightFixtureTest
/**
* Regression test against KT-1815
*/
public void testRefToAltHeaders() {
public void testRefToClassesWithAltSignatureAnnotations() {
PsiElement navigationElement = configureAndResolve("fun foo(e : java.util.Map.Entry<String, String>) { e.<caret>getKey(); }");
PsiClass expectedClass =
JavaPsiFacade.getInstance(getProject()).findClass("java.util.Map.Entry", GlobalSearchScope.allScope(getProject()));
+1 -1
View File
@@ -735,7 +735,7 @@
</annotation>
</item>
<!-- TODO temporary fix for alt-headers/ArrayListClone.jet test -->
<!-- TODO temporary fix for jdk-annotations/ArrayListClone.jet test -->
<item name='java.util.ArrayList java.lang.Object clone()'>
<annotation name='jet.runtime.typeinfo.KotlinSignature'>
<val name="value" val="&quot;fun clone() : Any&quot;"/>