You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Ahmet Arslan (JIRA)" <ji...@apache.org> on 2014/05/18 23:03:52 UTC
[jira] [Commented] (CONNECTORS-856) Add mock support to testing
infrastructure
[ https://issues.apache.org/jira/browse/CONNECTORS-856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14001205#comment-14001205 ]
Ahmet Arslan commented on CONNECTORS-856:
-----------------------------------------
bq. and for some reason powermock doesn't seem to work in the ant environment. It works fine under maven.
When I try to run the test inside IntelliJ, NullPointer is thrown too. IngestThread t in null somehow.
{code:java}
IngestThread t = new IngestThread(documentURI,document,arguments,keepAllMetadata,sourceTargets,
aclsMap,denyAclsMap,commitWithin);
if(t==null) System.out.println("null");
{code}
What is our high level goal description? If I were to try some other library, what should I try to accomplish?
> Add mock support to testing infrastructure
> ------------------------------------------
>
> Key: CONNECTORS-856
> URL: https://issues.apache.org/jira/browse/CONNECTORS-856
> Project: ManifoldCF
> Issue Type: Improvement
> Components: Tests
> Affects Versions: ManifoldCF 1.6
> Reporter: Karl Wright
> Assignee: Karl Wright
> Fix For: ManifoldCF 1.7
>
>
> A mock library (and its dependencies) needs to be added to the infrastructure so that people can write unit tests.
--
This message was sent by Atlassian JIRA
(v6.2#6252)