📄 strictexceptionrulestests.java
字号:
/**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package test.net.sourceforge.pmd.rules.strictexception;
import junit.framework.Test;
import junit.framework.TestSuite;
/**
* tests for the net.sourceforge.pmd.rules.strictexception package
*
* @author Boris Gruschko ( boris at gruschko.org )
* @version $Id: StrictExceptionRulesTests.java,v 1.2 2003/11/26 15:04:33 tomcopeland Exp $
*/
public class StrictExceptionRulesTests
{
/**
* test suite
*
* @return test suite
*/
public static Test suite( )
{
TestSuite suite =
new TestSuite( "Test for test.net.sourceforge.pmd.rules.strictexception" );
//$JUnit-BEGIN$
suite.addTestSuite( AvoidCatchingThrowableRuleTest.class );
suite.addTestSuite( ExceptionSignatureDeclarationRuleTest.class );
suite.addTestSuite( ExceptionTypeCheckingRuleTest.class );
//$JUnit-END$
return suite;
}
}
/*
* $Log: StrictExceptionRulesTests.java,v $ * Revision 1.2 2003/11/26 15:04:33 tomcopeland * Fixed a bug in OverrideBothEqualsAndHashcodeRule; it no longer reports a false positive when equals() is passed the fully qualified name of Object; thx to Philippe Couton for the report. Also continuing to clean up license headers. *
* Revision 1.1 2003/09/29 14:32:32 tomcopeland
* Committed regression test suites, thanks to Boris Gruschko
*
*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -