/** * Return a list of the issues mentioned in the Issue annotation of this method. * @param methodName the name of the test method in the Java test class, if applicable. * returns */ public Optional<String> getAnnotatedIssueForMethod(String methodName) { return getAnnotatedIssue(methodName); }
private void addIssuesFromMethod(String methodName, List<String> issues) { if (getAnnotatedIssues(methodName) != null) { issues.addAll(Arrays.asList(getAnnotatedIssues(methodName))); } if (getAnnotatedIssue(methodName).isPresent()) { issues.add(getAnnotatedIssue(methodName).get()); } if (getAnnotatedTitle(methodName) != null) { addIssuesFromTestScenarioName(methodName, issues); } }
private void addIssuesFromMethod(String methodName, List<String> issues) { if (getAnnotatedIssues(methodName) != null) { issues.addAll(Arrays.asList(getAnnotatedIssues(methodName))); } if (getAnnotatedIssue(methodName).isPresent()) { issues.add(getAnnotatedIssue(methodName).get()); } if (getAnnotatedTitle(methodName) != null) { addIssuesFromTestScenarioName(methodName, issues); } }
/** * Return a list of the issues mentioned in the Issue annotation of this method. * @param methodName the name of the test method in the Java test class, if applicable. * returns */ public Optional<String> getAnnotatedIssueForMethod(String methodName) { return getAnnotatedIssue(methodName); }
private void addIssuesFromMethod(String methodName, List<String> issues) { if (getAnnotatedIssues(methodName) != null) { issues.addAll(asList(getAnnotatedIssues(methodName))); } if (getAnnotatedIssue(methodName).isPresent()) { issues.add(getAnnotatedIssue(methodName).get()); } if (getAnnotatedTitle(methodName) != null) { addIssuesFromTestScenarioName(methodName, issues); } }
/** * Return a list of the issues mentioned in the Issue annotation of this method. * @param methodName the name of the test method in the Java test class, if applicable. * returns */ public Optional<String> getAnnotatedIssueForMethod(String methodName) { return getAnnotatedIssue(methodName); }