diff --git a/src/testinputs/com/puppycrawl/tools/checkstyle/InputNewlineAtEndOfFile.java b/src/testinputs/com/puppycrawl/tools/checkstyle/InputNewlineAtEndOfFile.java new file mode 100644 index 000000000..807515fce --- /dev/null +++ b/src/testinputs/com/puppycrawl/tools/checkstyle/InputNewlineAtEndOfFile.java @@ -0,0 +1,14 @@ +//////////////////////////////////////////////////////////////////////////////// +// Test case file for checkstyle. +// Created: 2003 +//////////////////////////////////////////////////////////////////////////////// +package com.puppycrawl.tools.checkstyle; + +/** + * Test case for detection of an existing newline at EOF, using the + * NewlineAtEndOfFileCheck. + * @author Christopher Lenz + **/ +public interface InputNoNewlineAtEndOfFile +{ +} diff --git a/src/testinputs/com/puppycrawl/tools/checkstyle/InputNoNewlineAtEndOfFile.java b/src/testinputs/com/puppycrawl/tools/checkstyle/InputNoNewlineAtEndOfFile.java new file mode 100644 index 000000000..cad99308b --- /dev/null +++ b/src/testinputs/com/puppycrawl/tools/checkstyle/InputNoNewlineAtEndOfFile.java @@ -0,0 +1,14 @@ +//////////////////////////////////////////////////////////////////////////////// +// Test case file for checkstyle. +// Created: 2003 +//////////////////////////////////////////////////////////////////////////////// +package com.puppycrawl.tools.checkstyle; + +/** + * Test case for detection of missing newlines at EOF, using the + * NewlineAtEndOfFileCheck. + * @author Christopher Lenz + **/ +public interface InputNoNewlineAtEndOfFile +{ +} \ No newline at end of file