testdata for IDEA-126163

This commit is contained in:
Anna Kozlova
2014-08-28 15:20:58 +04:00
parent daae222bd0
commit d587b25852
2 changed files with 33 additions and 0 deletions
@@ -0,0 +1,29 @@
class Test {
public static void main( String[] args ) throws Exception {
Checker.assertThat("", Utils.is(Utils.notNullValue()));
}
}
interface Util<T> {
}
class Utils {
static <T> Util<T> is( Util<T> util ) {
return null;
}
static <T> Util<T> is( T t ) {
return null;
}
static <T> Util<T> notNullValue() {
return null;
}
}
class Checker {
static <T> void assertThat(T actual, Util<T> util) {
}
}
@@ -232,6 +232,10 @@ public class GraphInferenceHighlightingTest extends LightDaemonAnalyzerTestCase
doTest();
}
public void testIDEA126163() throws Exception {
doTest();
}
private void doTest() throws Exception {
doTest(false);
}