public void ApplicationVndmsexcelMatchTest() { SubTypePattern pattern = new SubTypePattern(); pattern.Compile(); Assert.That(pattern.RegularExpression.IsMatch("application/vnd.ms-excel"), Iz.True); }
public void ApplicationOctetStreamMatchTest() { SubTypePattern pattern = new SubTypePattern(); pattern.Compile(); Assert.That(pattern.RegularExpression.IsMatch("application/octet-stream"), Iz.True); }
public void ApplicationPostScriptMatchTest() { SubTypePattern pattern = new SubTypePattern(); pattern.Compile(); Assert.That(pattern.RegularExpression.IsMatch("application/PostScript"), Iz.True); }
public void TextPlainMatchTest() { SubTypePattern pattern = new SubTypePattern(); Assert.That(pattern.RegularExpression.IsMatch("text/plain"), Iz.True); }
public void TextXvcardMatchTest() { SubTypePattern pattern = new SubTypePattern(); Assert.That(pattern.RegularExpression.IsMatch("text/x-vcard"), Iz.True); }
public void AudioMpegMatchTest() { SubTypePattern pattern = new SubTypePattern(); Assert.That(pattern.RegularExpression.IsMatch("audio/mpeg"), Iz.True); }
public void TextCalendarMatchTest() { SubTypePattern pattern = new SubTypePattern(); Assert.That(pattern.RegularExpression.IsMatch("text/calendar"), Iz.True); }
public void MultipartParallelMatchTest() { SubTypePattern pattern = new SubTypePattern(); Assert.That(pattern.RegularExpression.IsMatch("multipart/parallel")); }
public void MultipartRelatedMatchTest() { SubTypePattern pattern = new SubTypePattern(); Assert.That(pattern.RegularExpression.IsMatch("multipart/related")); }
public void MultipartAlternativeMatchTest() { SubTypePattern pattern = new SubTypePattern(); Assert.That(pattern.RegularExpression.IsMatch("multipart/alternative")); }
public void MultipartDigestMatchTest() { SubTypePattern pattern = new SubTypePattern(); Assert.That(pattern.RegularExpression.IsMatch("multipart/digest")); }
public void MessageRfc822MatchTest() { SubTypePattern pattern = new SubTypePattern(); Assert.That(pattern.RegularExpression.IsMatch("message/rfc822"), Iz.True); }
public void MessageExternalBodyMatchTest() { SubTypePattern pattern = new SubTypePattern(); Assert.That(pattern.RegularExpression.IsMatch("message/external-body"), Iz.True); }
public void ImageTiffMatchTest() { SubTypePattern pattern = new SubTypePattern(); Assert.That(pattern.RegularExpression.IsMatch("image/tiff"), Iz.True); }
public void ApplicationvndmspowerpointMatchTest() { SubTypePattern pattern = new SubTypePattern(); pattern.Compile(); Assert.That(pattern.RegularExpression.IsMatch("application/vnd.ms-powerpoint"), Iz.True); }
public void NoMatchTest() { SubTypePattern pattern = new SubTypePattern(); Assert.That(pattern.RegularExpression.IsMatch("unknown/??"), Iz.False); }
public void ApplicationvndopenxmlformatsofficedocumentspreadsheetmlsheetMatchTest() { SubTypePattern pattern = new SubTypePattern(); pattern.Compile(); Assert.That(pattern.RegularExpression.IsMatch("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"), Iz.True); }
public void ApplicationxzipcompressedMatchTest() { SubTypePattern pattern = new SubTypePattern(); pattern.Compile(); Assert.That(pattern.RegularExpression.IsMatch("application/x-zip-compressed"), Iz.True); }