Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: test/subscriptionClasses.js

Issue 29824575: Issue 6689 - Add type property to Subscription class (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore/
Patch Set: Created July 6, 2018, 2:27 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/subscriptionClasses.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/subscriptionClasses.js
===================================================================
--- a/test/subscriptionClasses.js
+++ b/test/subscriptionClasses.js
@@ -77,23 +77,24 @@
subscription =>
{
subscription.title = "test";
}
);
compareSubscription(
test, "http://test/non_default",
[
- "url=http://test/non_default", "title=test", "disabled=true",
+ "url=http://test/non_default", "type=ads", "title=test", "disabled=true",
"lastSuccess=8", "lastDownload=12", "lastCheck=16", "softExpiration=18",
"expires=20", "downloadStatus=foo", "errors=3", "version=24",
"requiredVersion=0.6"
],
subscription =>
{
+ subscription.type = "ads";
subscription.title = "test";
subscription.disabled = true;
subscription.lastSuccess = 8;
subscription.lastDownload = 12;
subscription.lastCheck = 16;
subscription.softExpiration = 18;
subscription.expires = 20;
subscription.downloadStatus = "foo";
« no previous file with comments | « lib/subscriptionClasses.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld