You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Xiao Chen (JIRA)" <ji...@apache.org> on 2018/01/02 17:59:00 UTC
[jira] [Created] (HADOOP-15154) Abstract new method
assertCapability for StreamCapabilities testing
Xiao Chen created HADOOP-15154:
----------------------------------
Summary: Abstract new method assertCapability for StreamCapabilities testing
Key: HADOOP-15154
URL: https://issues.apache.org/jira/browse/HADOOP-15154
Project: Hadoop Common
Issue Type: Improvement
Components: test
Reporter: Xiao Chen
Priority: Minor
From Steve's [comment|https://issues.apache.org/jira/browse/HADOOP-15149?focusedCommentId=16306806&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16306806]:
bq. it'd have been cleaner for the asserts to have been one in a assertCapability(key, StreamCapabilities subject, bool outcome) and had it throw meaningful exceptions on a failure
We can consider abstract such a method to a test util class and use it for all {{StreamCapabilities}} tests as needed.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org