[
https://issues.apache.org/jira/browse/NIFI-3761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16010461#comment-16010461
]
ASF subversion and git services commented on NIFI-3761:
-------------------------------------------------------
Commit d092551211afe300c3e08a017d6256cf268313b4 in nifi's branch
refs/heads/master from [~trixpan]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=d092551 ]
NIFI-3761
- adjust testFullyDocumentedProcessor to correctly eval to false when needed
- Introduce the ability to deprecate a component
- Allow documentation to inform user about deprecation of a component
- This closes #1718
NIFI-391 - Add set/getDeprecationReson to DocumentedDTO and use it within
DtoFactory'
> testFullyDocumentedProcessor assertion never evals to false
> -----------------------------------------------------------
>
> Key: NIFI-3761
> URL: https://issues.apache.org/jira/browse/NIFI-3761
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Andre F de Miranda
> Assignee: Andre F de Miranda
>
> As displayed here:
> {code}
> if (tags != null) {
> final String tagString = join(tags.value(), ", ");
> xmlStreamWriter.writeCharacters(tagString);
> } else {
> xmlStreamWriter.writeCharacters("None.");
> }
> xmlStreamWriter.writeEndElement();
> {code}
> when a processor contains no tags we append xmlStreamWriter with:
> "None."
> As consequence the following Assertion within
> {{testFullyDocumentedProcessor}} should never evaluate to false
> {{assertNotContains(results, "No Tags provided.");}}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)