Move to a better home. It is a better fit.
This commit is contained in:
parent
5c6e03a868
commit
94ea38f6cf
|
|
@ -28,8 +28,3 @@ unusedVariable=Variable ''{0}'' is never used.
|
|||
ncss.method=NCSS for this method is {0,number,integer} (max allowed is {1,number,integer}).
|
||||
ncss.class=NCSS for this class is {0,number,integer} (max allowed is {1,number,integer}).
|
||||
ncss.file=NCSS for this file is {0,number,integer} (max allowed is {1,number,integer}).
|
||||
too.many.privateMethods=Number of private methods is {0,number,integer} (max allowed is {1,number,integer}).
|
||||
too.many.packageMethods=Number of package methods is {0,number,integer} (max allowed is {1,number,integer}).
|
||||
too.many.protectedMethods=Number of protected methods is {0,number,integer} (max allowed is {1,number,integer}).
|
||||
too.many.publicMethods=Number of public methods is {0,number,integer} (max allowed is {1,number,integer}).
|
||||
too.many.methods=Total number of methods is {0,number,integer} (max allowed is {1,number,integer}).
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
package com.puppycrawl.tools.checkstyle.checks.metrics;
|
||||
package com.puppycrawl.tools.checkstyle.checks.sizes;
|
||||
|
||||
import com.puppycrawl.tools.checkstyle.api.Check;
|
||||
import com.puppycrawl.tools.checkstyle.api.DetailAST;
|
||||
|
|
@ -5,3 +5,8 @@ maxLen.anonInner=Anonymous inner class length is {0,number,integer} lines (max a
|
|||
maxLineLen=Line is longer than {0,number,integer} characters.
|
||||
maxOuterTypes=Outer types defined is {0,number,integer} (max allowed is {1,number,integer}).
|
||||
maxParam=More than {0,number,integer} parameters.
|
||||
too.many.privateMethods=Number of private methods is {0,number,integer} (max allowed is {1,number,integer}).
|
||||
too.many.packageMethods=Number of package methods is {0,number,integer} (max allowed is {1,number,integer}).
|
||||
too.many.protectedMethods=Number of protected methods is {0,number,integer} (max allowed is {1,number,integer}).
|
||||
too.many.publicMethods=Number of public methods is {0,number,integer} (max allowed is {1,number,integer}).
|
||||
too.many.methods=Total number of methods is {0,number,integer} (max allowed is {1,number,integer}).
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
package com.puppycrawl.tools.checkstyle.checks.metrics;
|
||||
package com.puppycrawl.tools.checkstyle.checks.sizes;
|
||||
|
||||
public class MethodCountCheckInput {
|
||||
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
package com.puppycrawl.tools.checkstyle.checks.metrics;
|
||||
package com.puppycrawl.tools.checkstyle.checks.sizes;
|
||||
|
||||
import com.puppycrawl.tools.checkstyle.BaseCheckTestSupport;
|
||||
import com.puppycrawl.tools.checkstyle.DefaultConfiguration;
|
||||
import org.junit.Test;
|
||||
|
||||
public class MethodCountCheckTest extends BaseCheckTestSupport {
|
||||
public class MethodCountCheckTest extends BaseCheckTestSupport {
|
||||
|
||||
@Test
|
||||
public void testDefaults() throws Exception
|
||||
|
|
@ -16,7 +16,7 @@ public class MethodCountCheckTest extends BaseCheckTestSupport {
|
|||
};
|
||||
|
||||
verify(checkConfig,
|
||||
getSrcPath("checks/metrics/MethodCountCheckInput.java"), expected);
|
||||
getSrcPath("checks/sizes/MethodCountCheckInput.java"), expected);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
@ -43,6 +43,6 @@ public class MethodCountCheckTest extends BaseCheckTestSupport {
|
|||
};
|
||||
|
||||
verify(checkConfig,
|
||||
getSrcPath("checks/metrics/MethodCountCheckInput.java"), expected);
|
||||
getSrcPath("checks/sizes/MethodCountCheckInput.java"), expected);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue