Supporting FqNames with spaces/comments inside them for deprecated

This commit is contained in:
Andrey Breslav
2013-01-17 12:13:29 +04:00
parent a7531926a4
commit 3e02764603
6 changed files with 53 additions and 9 deletions
@@ -184,7 +184,23 @@ public class KotlinLightClassCoherenceTest extends KotlinAsJavaTestBase {
doTest();
}
public void testDeprecatedFQN() throws Exception {
doTest();
}
public void testDeprecatedFQNSpaces() throws Exception {
doTest();
}
public void testDeprecatedWithBrackets() throws Exception {
doTest();
}
public void testDeprecatedWithBracketsFQN() throws Exception {
doTest();
}
public void testDeprecatedWithBracketsFQNSpaces() throws Exception {
doTest();
}
}
@@ -88,8 +88,10 @@ public abstract class KotlinLightClassTest extends KotlinAsJavaTestBase {
public void testDeprecation() {
checkModifiers("test.Deprecated", PUBLIC, FINAL, DEPRECATED);
checkModifiers("test.DeprecatedFQN", PUBLIC, FINAL, DEPRECATED);
checkModifiers("test.DeprecatedFQNSpaces", PUBLIC, FINAL, DEPRECATED);
checkModifiers("test.DeprecatedWithBrackets", PUBLIC, FINAL, DEPRECATED);
checkModifiers("test.DeprecatedWithBracketsFQN", PUBLIC, FINAL, DEPRECATED);
checkModifiers("test.DeprecatedWithBracketsFQNSpaces", PUBLIC, FINAL, DEPRECATED);
}
public void testGenericity() {