You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/03/11 03:34:04 UTC
[jira] [Commented] (APEXMALHAR-2306) Tests should allow for
additions to OperatorContext interface
[ https://issues.apache.org/jira/browse/APEXMALHAR-2306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15906047#comment-15906047 ]
ASF GitHub Bot commented on APEXMALHAR-2306:
--------------------------------------------
GitHub user tweise opened a pull request:
https://github.com/apache/apex-malhar/pull/577
APEXMALHAR-2306 Introduce TestOperatorContext factory method to enable mocking.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tweise/apex-malhar APEXMALHAR-2306-MockOperatorContext
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/apex-malhar/pull/577.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #577
----
commit 61470fbbdfb258f88b17970df1ea769d9f3378d7
Author: Apex Dev <de...@apex.apache.org>
Date: 2017-03-11T03:22:31Z
APEXMALHAR-2306 Introduce TestOperatorContext factory method to enable mocking.
----
> Tests should allow for additions to OperatorContext interface
> -------------------------------------------------------------
>
> Key: APEXMALHAR-2306
> URL: https://issues.apache.org/jira/browse/APEXMALHAR-2306
> Project: Apache Apex Malhar
> Issue Type: Bug
> Components: test benches
> Reporter: Sanjay M Pujare
> Assignee: Thomas Weise
>
> While trying to build/test malhar against the latest apex-core, the following failure was noticed
> .../apex-malhar/library/src/test/java/com/datatorrent/lib/helper/OperatorContextTestHelper.java:[47,17] com.datatorrent.lib.helper.OperatorContextTestHelper.TestIdOperatorContext is not abstract and does not override abstract method getName() in com.datatorrent.api.Context.OperatorContext
> Ideally, malhar should mock up the OperatorContext interface or we should find other ways to eliminate this kind of dependency.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)