You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Karl Wright (JIRA)" <ji...@apache.org> on 2014/10/27 22:08:33 UTC
[jira] [Assigned] (CONNECTORS-1087) Alfresco webscript connector
unit tests failing
[ https://issues.apache.org/jira/browse/CONNECTORS-1087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Wright reassigned CONNECTORS-1087:
---------------------------------------
Assignee: Karl Wright
> Alfresco webscript connector unit tests failing
> -----------------------------------------------
>
> Key: CONNECTORS-1087
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1087
> Project: ManifoldCF
> Issue Type: Bug
> Affects Versions: ManifoldCF 1.8, ManifoldCF 2.0
> Reporter: Karl Wright
> Assignee: Karl Wright
> Fix For: ManifoldCF 1.8, ManifoldCF 2.0
>
>
> The failure is as follows:
> {code}
> run-tests:
> [mkdir] Created dir: C:\wip\mcf\trunk\connectors\alfresco-webscript\test-out
> put
> [junit] Testsuite: org.apache.manifoldcf.authorities.authorities.alfrescoweb
> script.AlfrescoAuthorityConnectorTest
> [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.16
> 7 sec
> [junit]
> [junit] Testsuite: org.apache.manifoldcf.crawler.connectors.alfrescowebscrip
> t.AlfrescoConnectorTest
> [junit] !!! Fetched and added 0 seed documents
> [junit] !!! Fetched and added 0 seed documents
> [junit] !!! Fetched and added 0 seed documents
> [junit] !!! Fetched and added 1 seed documents
> [junit] Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.24
> 9 sec
> [junit]
> [junit] ------------- Standard Output ---------------
> [junit] !!! Fetched and added 0 seed documents
> [junit] !!! Fetched and added 0 seed documents
> [junit] !!! Fetched and added 0 seed documents
> [junit] !!! Fetched and added 1 seed documents
> [junit] ------------- ---------------- ---------------
> [junit] Testcase: whenProcessingDocumentsNodeRefsAreUsedAsDocumentURI(org.ap
> ache.manifoldcf.crawler.connectors.alfrescowebscript.AlfrescoConnectorTest):
> FAILED
> [junit]
> [junit] Wanted but not invoked:
> [junit] iProcessActivity.ingestDocumentWithException(
> [junit] "abc123",
> [junit] <any>,
> [junit] "http://localhost:8080/foo",
> [junit] <Capturing argument>
> [junit] );
> [junit] -> at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Alf
> rescoConnectorTest.whenProcessingDocumentsNodeRefsAreUsedAsDocumentURI(AlfrescoC
> onnectorTest.java:160)
> [junit]
> [junit] However, there were other interactions with this mock:
> [junit] -> at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Alf
> rescoConnector.processDocuments(AlfrescoConnector.java:282)
> [junit] -> at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Alf
> rescoConnector.processDocuments(AlfrescoConnector.java:291)
> [junit] -> at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Alf
> rescoConnector.processDocuments(AlfrescoConnector.java:298)
> [junit] -> at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Alf
> rescoConnector.processDocuments(AlfrescoConnector.java:305)
> [junit] -> at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Alf
> rescoConnector.processDocuments(AlfrescoConnector.java:320)
> [junit] -> at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Alf
> rescoConnector.processDocuments(AlfrescoConnector.java:321)
> [junit] -> at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Alf
> rescoConnector.processDocuments(AlfrescoConnector.java:403)
> [junit]
> [junit] junit.framework.AssertionFailedError:
> [junit] Wanted but not invoked:
> [junit] iProcessActivity.ingestDocumentWithException(
> [junit] "abc123",
> [junit] <any>,
> [junit] "http://localhost:8080/foo",
> [junit] <Capturing argument>
> [junit] );
> [junit] -> at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Alf
> rescoConnectorTest.whenProcessingDocumentsNodeRefsAreUsedAsDocumentURI(AlfrescoC
> onnectorTest.java:160)
> [junit]
> [junit] However, there were other interactions with this mock:
> [junit] -> at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Alf
> rescoConnector.processDocuments(AlfrescoConnector.java:282)
> [junit] -> at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Alf
> rescoConnector.processDocuments(AlfrescoConnector.java:291)
> [junit] -> at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Alf
> rescoConnector.processDocuments(AlfrescoConnector.java:298)
> [junit] -> at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Alf
> rescoConnector.processDocuments(AlfrescoConnector.java:305)
> [junit] -> at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Alf
> rescoConnector.processDocuments(AlfrescoConnector.java:320)
> [junit] -> at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Alf
> rescoConnector.processDocuments(AlfrescoConnector.java:321)
> [junit] -> at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Alf
> rescoConnector.processDocuments(AlfrescoConnector.java:403)
> [junit]
> [junit] at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Al
> frescoConnectorTest.whenProcessingDocumentsNodeRefsAreUsedAsDocumentURI(Alfresco
> ConnectorTest.java:160)
> [junit] at org.mockito.internal.runners.JUnit45AndHigherRunnerImpl.run(J
> Unit45AndHigherRunnerImpl.java:37)
> [junit] at org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner
> .java:62)
> [junit]
> [junit]
> BUILD FAILED
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)