Commit 174c2f98 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

class name restrictions added

parent 27648099
<?xml version="1.0"?>
<!DOCTYPE suppressions PUBLIC
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
"https://checkstyle.org/dtds/suppressions_1_2.dtd">
<suppressions>
<suppress checks="TypeName"
files="src.main.java.lcsb.mapviewer.persist.migration"/>
</suppressions>
......@@ -157,12 +157,12 @@
<message key="name.invalidPattern"
value="Package name ''{0}'' must match pattern ''{1}''."/>
</module>
<!-- <module name="TypeName">
<module name="TypeName">
<property name="tokens" value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, ANNOTATION_DEF"/>
<message key="name.invalidPattern"
value="Type name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="MemberName">
<!-- <module name="MemberName">
<property name="format" value="^[a-z][a-z0-9][a-zA-Z0-9]*$"/>
<message key="name.invalidPattern"
value="Member name ''{0}'' must match pattern ''{1}''."/>
......
......@@ -30,7 +30,7 @@ import lcsb.mapviewer.converter.model.celldesigner.unit.UnitXmlParserTest;
AllTypesTests.class,
CellDesignerElementCollectionTest.class,
CellDesignerXmlParserTest.class,
CellDesignerParserForCD2_5Test.class,
CellDesignerParserForVersion25Test.class,
CellDesignerParserUtilsTest.class,
CommonXmlParserTest.class,
ComplexParserTests.class,
......
......@@ -21,14 +21,14 @@ import lcsb.mapviewer.model.map.model.Model;
import lcsb.mapviewer.model.map.model.ModelComparator;
@RunWith(Parameterized.class)
public class CellDesignerParserForCD2_5Test extends CellDesignerTestFunctions {
public class CellDesignerParserForVersion25Test extends CellDesignerTestFunctions {
Logger logger = LogManager.getLogger();
ModelComparator modelComparator = new ModelComparator();
private Path filePath;
public CellDesignerParserForCD2_5Test(Path filePath) {
public CellDesignerParserForVersion25Test(Path filePath) {
this.filePath = filePath;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment