diff options
author | ByteHamster <ByteHamster@users.noreply.github.com> | 2022-09-18 22:25:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-18 22:25:06 +0200 |
commit | 097a4915044247d3e121069013491c35aaf16f89 (patch) | |
tree | 7e75d6a5254dfbda0d8073365068318eeab59dcf /core/src/test/java/de/danoeh | |
parent | bd0f54dbf6b615c5b4098de35811c4c2d69cfb1e (diff) | |
download | AntennaPod-097a4915044247d3e121069013491c35aaf16f89.zip |
Rewrite include/exclude filter dialog (#6057)
Diffstat (limited to 'core/src/test/java/de/danoeh')
-rw-r--r-- | core/src/test/java/de/danoeh/antennapod/core/feed/FeedFilterTest.java | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/core/src/test/java/de/danoeh/antennapod/core/feed/FeedFilterTest.java b/core/src/test/java/de/danoeh/antennapod/core/feed/FeedFilterTest.java index 3840f6387..c7c47f4fd 100644 --- a/core/src/test/java/de/danoeh/antennapod/core/feed/FeedFilterTest.java +++ b/core/src/test/java/de/danoeh/antennapod/core/feed/FeedFilterTest.java @@ -21,8 +21,8 @@ public class FeedFilterTest { assertFalse(filter.excludeOnly()); assertFalse(filter.includeOnly()); - assertEquals("", filter.getExcludeFilter()); - assertEquals("", filter.getIncludeFilter()); + assertEquals("", filter.getExcludeFilterRaw()); + assertEquals("", filter.getIncludeFilterRaw()); assertTrue(filter.shouldAutoDownload(item)); } @@ -38,8 +38,8 @@ public class FeedFilterTest { assertFalse(filter.excludeOnly()); assertTrue(filter.includeOnly()); - assertEquals("", filter.getExcludeFilter()); - assertEquals(includeFilter, filter.getIncludeFilter()); + assertEquals("", filter.getExcludeFilterRaw()); + assertEquals(includeFilter, filter.getIncludeFilterRaw()); assertTrue(filter.shouldAutoDownload(item)); assertFalse(filter.shouldAutoDownload(item2)); } @@ -56,8 +56,8 @@ public class FeedFilterTest { assertTrue(filter.excludeOnly()); assertFalse(filter.includeOnly()); - assertEquals(excludeFilter, filter.getExcludeFilter()); - assertEquals("", filter.getIncludeFilter()); + assertEquals(excludeFilter, filter.getExcludeFilterRaw()); + assertEquals("", filter.getIncludeFilterRaw()); assertFalse(filter.shouldAutoDownload(item)); assertTrue(filter.shouldAutoDownload(item2)); } @@ -77,8 +77,8 @@ public class FeedFilterTest { assertFalse(filter.excludeOnly()); assertTrue(filter.includeOnly()); - assertEquals("", filter.getExcludeFilter()); - assertEquals(includeFilter, filter.getIncludeFilter()); + assertEquals("", filter.getExcludeFilterRaw()); + assertEquals(includeFilter, filter.getIncludeFilterRaw()); assertTrue(filter.shouldAutoDownload(item)); assertFalse(filter.shouldAutoDownload(item2)); assertTrue(filter.shouldAutoDownload(item3)); @@ -99,8 +99,8 @@ public class FeedFilterTest { assertTrue(filter.excludeOnly()); assertFalse(filter.includeOnly()); - assertEquals(excludeFilter, filter.getExcludeFilter()); - assertEquals("", filter.getIncludeFilter()); + assertEquals(excludeFilter, filter.getExcludeFilterRaw()); + assertEquals("", filter.getIncludeFilterRaw()); assertFalse(filter.shouldAutoDownload(item)); assertTrue(filter.shouldAutoDownload(item2)); assertFalse(filter.shouldAutoDownload(item3)); |