Added rfc5183, rfc5229, rfc5260 and rfc5293

Make comparator and match_type available for all Test classes

Signed-off-by: djmaze <djmaze@djmaze.lan>
This commit is contained in:
djmaze 2021-01-15 14:35:16 +01:00
parent 3ce123b536
commit 3566f4a538
9 changed files with 325 additions and 14 deletions

View file

@ -12,8 +12,6 @@ class SpamTest extends Grammar.Test
{
super('spamtest');
this.percent = false, // 0 - 100 else 0 - 10
this.comparator = '',
this.match_type = ':is',
this.value = new Grammar.QuotedString;
}
@ -47,8 +45,6 @@ class VirusTest extends Grammar.Test
constructor()
{
super('virustest');
this.comparator = '',
this.match_type = ':is',
this.value = new Grammar.QuotedString; // 1 - 5
}