"java.util.List" ->CommonClassNames.JAVA_UTIL_LIST

This commit is contained in:
Anna Kozlova
2012-05-30 13:28:39 +04:00
parent 62c8ef1118
commit 415375b15f

View File

@@ -37,7 +37,7 @@ public class PyToJavaResolveTest extends ResolveTestCase {
public void testReturnValue() throws Exception {
PsiElement target = resolve();
Assert.assertTrue(target instanceof PsiMethod);
Assert.assertEquals("java.util.List", ((PsiMethod) target).getContainingClass().getQualifiedName());
Assert.assertEquals(CommonClassNames.JAVA_UTIL_LIST, ((PsiMethod) target).getContainingClass().getQualifiedName());
}
public void testPackageType() throws Exception {