diff options
author | rnveach <rveach02@gmail.com> | 2015-10-21 15:58:10 -0400 |
---|---|---|
committer | rnveach <rveach02@gmail.com> | 2015-10-22 08:59:08 -0400 |
commit | 10d3015752ad509cd8f7956d98b6eb9c92641a45 (patch) | |
tree | 4a614cc19f7051fc7266ccaacd23796ecd3f6d42 /src/test/resources/com/puppycrawl/tools/checkstyle/checks/naming/InputAbbreviationAsWordInTypeName.java | |
parent | c5de8a31c8287b8a7946a9f4f981a35a190a9735 (diff) | |
download | checkstyle-10d3015752ad509cd8f7956d98b6eb9c92641a45.tar.gz |
Issue #2161: unify test input file names
Diffstat (limited to 'src/test/resources/com/puppycrawl/tools/checkstyle/checks/naming/InputAbbreviationAsWordInTypeName.java')
-rw-r--r-- | src/test/resources/com/puppycrawl/tools/checkstyle/checks/naming/InputAbbreviationAsWordInTypeName.java | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/src/test/resources/com/puppycrawl/tools/checkstyle/checks/naming/InputAbbreviationAsWordInTypeName.java b/src/test/resources/com/puppycrawl/tools/checkstyle/checks/naming/InputAbbreviationAsWordInTypeName.java new file mode 100644 index 000000000..6dd9a7e14 --- /dev/null +++ b/src/test/resources/com/puppycrawl/tools/checkstyle/checks/naming/InputAbbreviationAsWordInTypeName.java @@ -0,0 +1,104 @@ +package com.puppycrawl.tools.checkstyle.checks.naming; + +abstract class IIIInputAbstractClassName { +} + +abstract class NonAAAAbstractClassName { +} + +abstract class FactoryWithBADNAme { +} + +abstract class AbstractCLASSName { + abstract class NonAbstractInnerClass { + } +} + +abstract class ClassFactory1 { + abstract class WellNamedFactory { + } +} + +class NonAbstractClass1 { +} + +class AbstractClass1 { +} + +class Class1Factory1 { +} + +abstract class AbstractClassName3 { + class AbstractINNERRClass { + } +} + +abstract class Class3Factory { + class WellNamedFACTORY { + public void marazmaticMETHODName() { + int marazmaticVARIABLEName = 2; + int MARAZMATICVariableName = 1; + } + } +} + +interface Directions { + int RIGHT=1; + int LEFT=2; + int UP=3; + int DOWN=4; +} + +interface BadNameForInterfeis +{ + void interfaceMethod(); +} + +abstract class NonAAAAbstractClassName2 { + public int serialNUMBER = 6; + public final int s1erialNUMBER = 6; + private static int s2erialNUMBER = 6; + private static final int s3erialNUMBER = 6; +} + +interface Interface1 { + + String VALUEEEE = "value"; // in interface this is final/static + +} + +interface Interface2 { + + static String VALUEEEE = "value"; // in interface this is final/static + +} + +interface Interface3 { + + final String VALUEEEE = "value"; // in interface this is final/static + +} + +interface Interface4 { + + final static String VALUEEEE = "value"; // in interface this is final/static + +} + +class FIleNameFormatException extends Exception { + + private static final long serialVersionUID = 1L; + + public FIleNameFormatException(Exception e) { + super(e); + } +} + +class StateX { + int userID; + int scaleX, scaleY, scaleZ; + + int getScaleX() { + return this.scaleX; + } +} |