mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 16:39:37 +07:00
[java] junit 5 tests for fixture based highlighting tests
GitOrigin-RevId: a337b1d17a69bffb4df25f5e7c79bda973c5b4a2
This commit is contained in:
committed by
intellij-monorepo-bot
parent
13c276c37b
commit
0567932ab5
@@ -1,13 +1,13 @@
|
||||
class Logger {}
|
||||
class HashMap {}
|
||||
class Test {
|
||||
public static void main(String[] args) {
|
||||
User user = new User();
|
||||
Logger logger = null;
|
||||
HashMap hashMap = null;
|
||||
|
||||
foo<error descr="'foo(T, java.util.logging.Logger, java.util.function.Function<T,java.lang.String>)' in 'Test' cannot be applied to '(User, Logger, <method reference>)'">(user, logger, User::getId)</error>;
|
||||
foo<error descr="'foo(T, java.util.HashMap, java.util.function.Function<T,java.lang.String>)' in 'Test' cannot be applied to '(User, HashMap, <method reference>)'">(user, hashMap, User::getId)</error>;
|
||||
}
|
||||
|
||||
private static <T> void foo(T val, java.util.logging.Logger logger, java.util.function.Function<T, String> idFunction) { }
|
||||
private static <T> void foo(T val, java.util.HashMap hashMap, java.util.function.Function<T, String> idFunction) { }
|
||||
}
|
||||
|
||||
class User {
|
||||
|
||||
Reference in New Issue
Block a user