Commit 2bfd32af authored by Faezeh KHORRAM's avatar Faezeh KHORRAM 💬
Browse files

minor updates

parent e5b4d53b
......@@ -91,7 +91,7 @@ public class TDLTestCaseCoverage {
List<DSLSpecificCoverageRule> relatedRules = dslSpecificCoverageRules.stream().
filter(r -> r.getContext().equals(object.eClass())).collect(Collectors.toList());
for (DSLSpecificCoverageRule rule:relatedRules) {
for (EReference eRefrence : rule.getImpliesReferenceCoverage()) {
for (EReference eRefrence : rule.getReferenceCoverage()) {
Object referencedObject = object.eGet(eRefrence);
if (referencedObject != null) {
if (referencedObject instanceof EObject) {
......
......@@ -53,7 +53,7 @@ public class TDLTestSuiteCoverage {
public void calculateTSCoverage() {
findDSLSpecificCoverageExtension();
//check inheritance relationships between coverable and not-coverable classes
TDLCoverageUtil.getInstance().checkInheritanceOfNotCoverableClasses();
TDLCoverageUtil.getInstance().checkInheritanceForNotCoverableClasses();
//for each test case, calculate coverage using the generic tool
//if the DSL provides a dsl-specific coverage tool, call its methods: ignoring model objects, retrieving coverage rules
......
Supports Markdown
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