File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020import static org .junit .jupiter .api .Assertions .assertTrue ;
2121
2222import org .schabi .newpipe .extractor .linkhandler .ListLinkHandler ;
23+ import org .schabi .newpipe .extractor .search .filter .FilterItem ;
2324import org .schabi .newpipe .extractor .utils .Utils ;
2425
2526public class ExtractorAsserts {
@@ -169,8 +170,8 @@ public static void assertContains(
169170 }
170171
171172 public static void assertTabsContain (@ Nonnull final List <ListLinkHandler > tabs ,
172- @ Nonnull final String ... expectedTabs ) {
173- final Set <String > tabSet = tabs .stream ()
173+ @ Nonnull final FilterItem ... expectedTabs ) {
174+ final Set <FilterItem > tabSet = tabs .stream ()
174175 .map (linkHandler -> linkHandler .getContentFilters ().get (0 ))
175176 .collect (Collectors .toUnmodifiableSet ());
176177 Arrays .stream (expectedTabs )
You can’t perform that action at this time.
0 commit comments