File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33import org .schabi .newpipe .extractor .InitNewPipeTest ;
44
5+
6+ /**
7+ * Represents a common abstraction of a test class where an extractor is set up and various
8+ * tests for it are executed.
9+ * <p/>
10+ * Please see {@link DefaultSimpleExtractorTest} for an implementation that is exactly typed to
11+ * {@link org.schabi.newpipe.extractor.Extractor}
12+ */
513public abstract class DefaultSimpleUntypedExtractorTest <T > implements InitNewPipeTest {
614
715 private T extractor ;
816
17+ /**
18+ * This should create an extractor, save it to variable
19+ * {@link DefaultSimpleUntypedExtractorTest#extractor},
20+ * and then set up the extractor by making it fetch network resources if applicable
21+ */
922 protected void initExtractor () throws Exception {
1023 extractor = createExtractor ();
1124 fetchExtractor (extractor );
You can’t perform that action at this time.
0 commit comments