diff --git a/extractor/src/test/java/org/schabi/newpipe/extractor/services/DefaultStreamExtractorTest.java b/extractor/src/test/java/org/schabi/newpipe/extractor/services/DefaultStreamExtractorTest.java index 740274ff8..a42b063b6 100644 --- a/extractor/src/test/java/org/schabi/newpipe/extractor/services/DefaultStreamExtractorTest.java +++ b/extractor/src/test/java/org/schabi/newpipe/extractor/services/DefaultStreamExtractorTest.java @@ -48,6 +48,7 @@ public abstract class DefaultStreamExtractorTest extends DefaultExtractorTest expectedDescriptionContains(); // e.g. for full links public abstract long expectedLength(); public long expectedTimestamp() { return 0; } // default: there is no timestamp @@ -146,7 +147,12 @@ public abstract class DefaultStreamExtractorTest extends DefaultExtractorTest expectedDescriptionContains() { return Collections.emptyList(); } @Override public long expectedLength() { return 197; } @Override public long expectedTimestamp() { return TIMESTAMP; } @@ -60,6 +61,7 @@ public class SoundcloudStreamExtractorTest { @Override public boolean expectedHasSubtitles() { return false; } @Override public boolean expectedHasFrames() { return false; } @Override public int expectedStreamSegmentsCount() { return 0; } + @Override public boolean expectedHasRelatedStreams() { return false; } } public static class SoundcloudGoPlusTrack extends DefaultStreamExtractorTest { @@ -87,7 +89,8 @@ public class SoundcloudStreamExtractorTest { @Override public String expectedUploaderName() { return "martinsolveig"; } @Override public String expectedUploaderUrl() { return UPLOADER; } @Override public boolean expectedUploaderVerified() { return true; } - @Override public List expectedDescriptionContains() { return Collections.singletonList(""); } + @Override public boolean expectedDescriptionIsEmpty() { return true; } + @Override public List expectedDescriptionContains() { return Collections.emptyList(); } @Override public long expectedLength() { return 30; } @Override public long expectedTimestamp() { return TIMESTAMP; } @Override public long expectedViewCountAtLeast() { return 386000; }