Supporting FqNames with spaces/comments inside them for deprecated
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user