mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-17 16:19:58 +07:00
A test for IDEA-207951 (IDEA-CR-44292)
This commit is contained in:
+26
@@ -0,0 +1,26 @@
|
||||
class Foo {
|
||||
public void test() throws ParseException {
|
||||
assertThat(eq("---"),
|
||||
assertThat(eq("---"),
|
||||
assertThat(eq("fooo"),
|
||||
assertThat(eq("---"),
|
||||
assertThat(eq("---"),
|
||||
assertThat(eq("---"),
|
||||
assertThat(eq("---"),
|
||||
assertThat(eq(new byte[0]),
|
||||
assertThat(eq((Integer) null),
|
||||
assertThat(eq((Integer) null),
|
||||
assertThat(eq("---"),
|
||||
assertThat(eq((String) null),
|
||||
assertThat(eq("---"),
|
||||
assertThat(eq("---"),
|
||||
assertThat(this, <caret>eq("IO")
|
||||
}
|
||||
|
||||
public static native <T> T eq(T value);
|
||||
|
||||
public static <T> void assertThat(T actual, Matcher<? super T> matcher) {}
|
||||
public static <T> void assertThat(String reason, T actual, Matcher<? super T> matcher) {}
|
||||
|
||||
interface Matcher<T> {}
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
class Foo {
|
||||
public void test() throws ParseException {
|
||||
assertThat(eq("---"),
|
||||
assertThat(eq("---"),
|
||||
assertThat(eq("fooo"),
|
||||
assertThat(eq("---"),
|
||||
assertThat(eq("---"),
|
||||
assertThat(eq("---"),
|
||||
assertThat(eq("---"),
|
||||
assertThat(eq(new byte[0]),
|
||||
assertThat(eq((Integer) null),
|
||||
assertThat(eq((Integer) null),
|
||||
assertThat(eq("---"),
|
||||
assertThat(eq((String) null),
|
||||
assertThat(eq("---"),
|
||||
assertThat(eq("---"),
|
||||
assertThat(<caret>eq("IO")
|
||||
}
|
||||
|
||||
public static native <T> T eq(T value);
|
||||
|
||||
public static <T> void assertThat(T actual, Matcher<? super T> matcher) {}
|
||||
public static <T> void assertThat(String reason, T actual, Matcher<? super T> matcher) {}
|
||||
|
||||
interface Matcher<T> {}
|
||||
}
|
||||
Reference in New Issue
Block a user