| | |
| | | import static org.opends.server.loggers.TextErrorLogPublisher.*; |
| | | import static org.opends.server.loggers.TextHTTPAccessLogPublisher.*; |
| | | import static org.opends.server.protocols.internal.InternalClientConnection.*; |
| | | import static org.opends.server.util.CollectionUtils.*; |
| | | import static org.opends.server.util.ServerConstants.*; |
| | | import static org.opends.server.util.StaticUtils.*; |
| | | import static org.testng.Assert.*; |
| | |
| | | "--set", "enabled:" + enabled); |
| | | } |
| | | |
| | | public static <T> Set<T> newSet(T... elems) |
| | | { |
| | | return newHashSet(elems); |
| | | } |
| | | |
| | | public static <T> SortedSet<T> newSortedSet(T... elems) |
| | | { |
| | | return newTreeSet(elems); |
| | | } |
| | | |
| | | public static <T> List<T> newList(T... elems) |
| | | { |
| | | return newArrayList(elems); |
| | | } |
| | | |
| | | public static HashSet<PluginType> getPluginTypes(Entry e) |
| | | { |
| | | HashSet<PluginType> pluginTypes = new HashSet<>(); |