file suppressions_none.xml copied to static site to resolve issue 117, and be ready to use template for download

UT was updated to use new remote
This commit is contained in:
Roman Ivanov 2014-03-23 18:41:26 -07:00
parent 82d5ab82d8
commit 3cb031f767
3 changed files with 11 additions and 2 deletions

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suppressions PUBLIC
"-//Puppy Crawl//DTD Suppressions 1.0//EN"
"http://www.puppycrawl.com/dtds/suppressions_1_0.dtd">
<suppressions>
</suppressions>

View File

@ -57,7 +57,7 @@ public class SuppressionsLoaderTest
@Test
public void testLoadFromURL() throws CheckstyleException
{
final FilterSet fc = SuppressionsLoader.loadSuppressions("https://raw.github.com/checkstyle/checkstyle/master/src/test/resources/com/puppycrawl/tools/checkstyle/suppressions_none.xml");
final FilterSet fc = SuppressionsLoader.loadSuppressions("http://checkstyle.sourceforge.net/files/suppressions_none.xml");
final FilterSet fc2 = new FilterSet();
assertEquals(fc, fc2);
}

View File

@ -721,8 +721,11 @@
</p>
<h5>Examples</h5>
<p> You can download template of empty suppression filter <a href="files/suppressions_none.xml">here</a>.</p>
<p>
For example, the following suppressions XML document directs
The following suppressions XML document directs
a <code>SuppressionFilter</code> to
reject <code>JavadocStyleCheck</code> errors for
lines 82 and 108 to 122 of