Skip to content

Commit 9a74872

Browse files
litetexStypox
andcommitted
Update docs
Co-Authored-By: Stypox <stypox@pm.me>
1 parent 1621336 commit 9a74872

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

extractor/src/test/java/org/schabi/newpipe/extractor/services/DefaultSimpleUntypedExtractorTest.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,23 @@
22

33
import 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+
*/
513
public 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);

0 commit comments

Comments
 (0)