Commit 7a326d1b authored by Matthias Betz's avatar Matthias Betz
Browse files

renaming requirements from SEM to SE

parent b9293842
Pipeline #1996 canceled with stage
......@@ -136,10 +136,10 @@ public class QualityADEUtils {
return de.hft.stuttgart.quality.model.jaxb.ErrorId.GE_S_SELF_INTERSECTION;
case "GE_S_MULTIPLE_CONNECTED_COMPONENTS":
return de.hft.stuttgart.quality.model.jaxb.ErrorId.GE_S_MULTIPLE_CONNECTED_COMPONENTS;
case "SEM_ATTRIBUTE_WRONG_VALUE":
return de.hft.stuttgart.quality.model.jaxb.ErrorId.SEM_ATTRIBUTE_WRONG_VALUE;
case "SEM_ATTRIBUTE_MISSING":
return de.hft.stuttgart.quality.model.jaxb.ErrorId.SEM_ATTRIBUTE_MISSING;
case "SE_ATTRIBUTE_WRONG_VALUE":
return de.hft.stuttgart.quality.model.jaxb.ErrorId.SE_ATTRIBUTE_WRONG_VALUE;
case "SE_ATTRIBUTE_MISSING":
return de.hft.stuttgart.quality.model.jaxb.ErrorId.SE_ATTRIBUTE_MISSING;
default:
throw new IllegalStateException("Cannot map " + key + " to ADE Error Id");
}
......
......@@ -282,9 +282,9 @@ public class Checker {
}
Requirement missing = new Requirement();
missing.setName(RequirementId.R_SEM_ATTRIBUTES_EXISTING);
missing.setName(RequirementId.R_SE_ATTRIBUTES_EXISTING);
Requirement correct = new Requirement();
correct.setName(RequirementId.R_SEM_ATTRIBUTES_CORRECT);
correct.setName(RequirementId.R_SE_ATTRIBUTES_CORRECT);
missing.setEnabled(config.getSchematronFilePath() != null);
correct.setEnabled(config.getSchematronFilePath() != null);
plan.getRequirements().add(missing);
......
......@@ -50,16 +50,15 @@ public class TooFewPolygonsCheck extends Check {
deps.add(CheckId.C_GE_P_INTERIOR_DISCONNECTED);
deps.add(CheckId.C_GE_P_INTERSECTING_RINGS);
deps.add(CheckId.C_GE_P_NON_PLANAR);
dependencies = Collections.unmodifiableList(deps);
}
/**
* This method does the main check whether the solid have at least 4 faces or
* not.
*
* @param toBeCheckedGeometry
* The ViewableGeometry that has to be checked.
* @param toBeCheckedGeometry The ViewableGeometry that has to be checked.
* @return Vector of CDErrors
*/
@Override
......
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