Example #1
0
  /**
   * Concrete implementation of the 10.7.1 rule.
   *
   * @param sspHandler
   * @return the processResult of the test
   */
  @Override
  protected ProcessResult processImpl(SSPHandler sspHandler) {
    TestSolution testSolution = TestSolution.NOT_TESTED;
    Collection<ProcessRemark> remarkList = new ArrayList<ProcessRemark>();
    DefiniteResult result =
        definiteResultFactory.create(test, sspHandler.getSSP().getPage(), testSolution, remarkList);

    return result;
  }
Example #2
0
 @Override
 protected void check(
     SSPHandler sspHandler,
     ElementHandler elementHandler,
     TestSolutionHandler testSolutionHandler) {
   super.check(sspHandler, elementHandler, testSolutionHandler);
   ProcessRemarkService prs = sspHandler.getProcessRemarkService();
   if (CollectionUtils.isNotEmpty(prs.getRemarkList())) {
     for (ProcessRemark pr : prs.getRemarkList()) {
       addElementNameEvidenceElementToOverrideTarget(prs, pr);
     }
   }
 }