private boolean isMatchingRequirementFor(TestOutcome testOutcome, Requirement requirement) { return (fullPathOf(requirement).matchesOrIsADescendantOf(normalizedPath(testOutcome.getPathId()))) || (fullPathOf(requirement).matchesOrIsADescendantOf(normalizedPath(testOutcome.getPath()))); }
private boolean isMatchingRequirementFor(TestOutcome testOutcome, Requirement requirement) { if (testOutcome.getTestCase() != null) { return (fullPathOf(requirement).matchesOrIsADescendantOf(normalizedPath(testOutcome.getPathId()))); } else { return (fullPathOf(requirement).matchesOrIsADescendantOf(normalizedPath(testOutcome.getPath()))); } }
private boolean isMatchingRequirementFor(TestOutcome testOutcome, Requirement requirement) { if (testOutcome.getTestCase() != null) { return (fullPathOf(requirement).matchesOrIsADescendantOf(normalizedPath(testOutcome.getPathId()))); } else { return (fullPathOf(requirement).matchesOrIsADescendantOf(normalizedPath(testOutcome.getPath()))); } }