mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 09:09:38 +02:00
[sinttest] Allow the selection of individual test *methods*
This commit is contained in:
parent
69a55aaa84
commit
10a2687ff1
4 changed files with 153 additions and 17 deletions
|
@ -89,4 +89,11 @@ public class CollectionUtil {
|
|||
}
|
||||
return Collections.singletonList(element);
|
||||
}
|
||||
|
||||
public static <T> Set<T> nullSafeUnmodifiableSet(Set<T> set) {
|
||||
if (set == null) {
|
||||
return Collections.emptySet();
|
||||
}
|
||||
return Collections.unmodifiableSet(set);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue