Changed "jdk headers" to "jdk annotations" in test and test data directories names.
This commit is contained in:
+4
-4
@@ -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()));
|
||||
|
||||
@@ -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=""fun clone() : Any""/>
|
||||
|
||||
Reference in New Issue
Block a user