forked from phoedos/pmd
Unit test for patch 1615546
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4883 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -106,6 +106,12 @@ public class CommandLineOptionsTest extends TestCase {
|
||||
// cool
|
||||
}
|
||||
}
|
||||
|
||||
public void testReportFile(){
|
||||
|
||||
CommandLineOptions opt = new CommandLineOptions(new String[]{"file", "format", "basic", "-reportfile", "foo.txt"});
|
||||
assertSame("foo.txt", opt.getReportFile());
|
||||
}
|
||||
|
||||
public void testRenderer() {
|
||||
CommandLineOptions opt = new CommandLineOptions(new String[]{"file", "xml", "basic"});
|
||||
|
Reference in New Issue
Block a user