external annotations tests moved to community

This commit is contained in:
Dmitry Jemerov
2011-12-16 17:55:37 +01:00
parent 71c94b5d64
commit 02371fdac5
15 changed files with 396 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
<root>
<item name='p.TestDeannotation java.lang.String get()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='p.TestDeannotation1 java.lang.String get(java.lang.String) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
</root>

View File

@@ -0,0 +1,10 @@
<root>
<item name='suppressed.ExistingExternalName java.lang.String foo()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='suppressed.SecondSuppression void second()'>
<annotation name='java.lang.SuppressWarnings'>
<val val="{DoesntMatterWhat}"/>
</annotation>
</item>
</root>

View File

@@ -0,0 +1,13 @@
<root>
<item name='suppressed.ExistingExternalName java.lang.String foo()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
<annotation name='java.lang.SuppressWarnings'>
<val val="&quot;SillyAssignment&quot;"/>
</annotation>
</item>
<item name='suppressed.SecondSuppression void second()'>
<annotation name='java.lang.SuppressWarnings'>
<val val="{DoesntMatterWhat}"/>
</annotation>
</item>
</root>

View File

@@ -0,0 +1,15 @@
<root>
<item name='suppressed.ExistingExternalName java.lang.String foo()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='suppressed.SecondSuppression void second()'>
<annotation name='java.lang.SuppressWarnings'>
<val val="{DoesntMatterWhat}"/>
</annotation>
</item>
<item name='suppressed.NewSuppress void barr()'>
<annotation name='java.lang.SuppressWarnings'>
<val val="&quot;SillyAssignment&quot;"/>
</annotation>
</item>
</root>

View File

@@ -0,0 +1,10 @@
<root>
<item name='suppressed.ExistingExternalName java.lang.String foo()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='suppressed.SecondSuppression void second()'>
<annotation name='java.lang.SuppressWarnings'>
<val val="{DoesntMatterWhat, &quot;SillyAssignment&quot;}"/>
</annotation>
</item>
</root>

View File

@@ -0,0 +1,6 @@
package p;
class Test {
String g<caret>et() {
return null;
}
}

View File

@@ -0,0 +1,11 @@
package p;
import org.jetbrains.annotations.NotNull;
class Test {
@NotNull
String g<caret>et() {
return null;
}
}

View File

@@ -0,0 +1,8 @@
package p;
public class TestDeannotation {
String g<caret>et() {
return null;
}
}

View File

@@ -0,0 +1,8 @@
package p;
public class TestDeannotation1 {
String get(String s<caret>s) {
return null;
}
}

View File

@@ -0,0 +1,6 @@
package p;
class Test {
boolean g<caret>et() {
return false;
}
}

View File

@@ -0,0 +1,8 @@
package suppressed;
class ExistingExternalName {
String foo(){
String str = "";
s<caret>tr = str;
return str;
}
}

View File

@@ -0,0 +1,7 @@
package suppressed;
class NewSuppress {
void barr() {
String str = "";
st<caret>r = str;
}
}

View File

@@ -0,0 +1,7 @@
package suppressed;
class SecondSuppression {
void second() {
String str = "";
st<caret>r = str;
}
}