<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=koi8-r">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:2.0cm 42.5pt 2.0cm 3.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="RU" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi. <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I need to test new functionality in notifications. But I can’t start current tests.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I use IntelliJ Idea. I’ve configured run configuration (see screenshot) but test does’t work.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div style="mso-element:para-border-div;border:none;border-bottom:double windowtext 2.25pt;padding:0cm 0cm 1.0pt 0cm">
<p class="MsoNormal" style="border:none;padding:0cm"><span lang="EN-US">In logs I see an error<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US">[TestNG] Running:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> D:\.cache\idea14\system\temp-testng-customsuite.xml<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Loading midPoint configuration from file target\midpoint-home\test-config.xml<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Import of src\test\resources\common\resource-dummy.xml has failed: FATAL_ERROR: Repository reference {http://midpoint.evolveum.com/xml/ns/public/common/common-3}connectorRef cannot be resolved: filter matches no object<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">*op* com.evolveum.midpoint.model.api.ModelService.importObjectsFromStream, st: FATAL_ERROR, msg: Repository reference {http://midpoint.evolveum.com/xml/ns/public/common/common-3}connectorRef cannot be resolved: filter
matches no object<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> [p]options=com.evolveum.midpoint.xml.ns._public.common.api_types_3.ImportOptionsType@27957ac[overwrite=false,keepOid=<null>,stopAfterErrors=<null>,summarizeSucceses=true,summarizeErrors=true,referentialIntegrity=<null>,validateStaticSchema=false,validateDynamicSchema=false,encryptProtectedValues=true,fetchResourceSchema=false,keepMetadata=<null>]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> *op* com.evolveum.midpoint.common.operation.import.object, st: FATAL_ERROR, msg: Repository reference {http://midpoint.evolveum.com/xml/ns/public/common/common-3}connectorRef cannot be resolved: filter matches no
object<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> [c]startLineNumber=18<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> [c]progress=1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> [c]object=resource:10000000-0000-0000-0000-000000000004(Dummy Resource)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> [c]endLineNumber=316<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> *op* com.evolveum.midpoint.common.validator.Validator.objectBasicsCheck, st: SUCCESS, msg: null<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> *op* com.evolveum.midpoint.common.validator.Validator.resourceNamespaceCheck, st: SUCCESS, msg: null<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> *op* com.evolveum.midpoint.model.impl.importer.ObjectImporter.resolveReference, st: FATAL_ERROR, msg: Repository reference {http://midpoint.evolveum.com/xml/ns/public/common/common-3}connectorRef cannot be resolved:
filter matches no object<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> [c]item={...common/common-3}connectorRef<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> *op* com.evolveum.midpoint.repo.api.RepositoryService.searchObjects, st: SUCCESS, msg: null<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> [p]query=Q{AND(EQUAL(connectorType,PPV(String:com.evolveum.icf.dummy.connector.DummyConnector),EQUAL(connectorVersion,PPV(String:2.0)),null paging<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> [p]type=com.evolveum.midpoint.xml.ns._public.common.common_3.ConnectorType<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">java.lang.AssertionError: Import of src\test\resources\common\resource-dummy.xml has failed: FATAL_ERROR: Repository reference {http://midpoint.evolveum.com/xml/ns/public/common/common-3}connectorRef cannot be resolved:
filter matches no object<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at com.evolveum.midpoint.test.util.TestUtil.assertSuccess(TestUtil.java:215)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at com.evolveum.midpoint.test.util.TestUtil.assertSuccess(TestUtil.java:238)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at com.evolveum.midpoint.test.util.TestUtil.assertSuccess(TestUtil.java:242)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at com.evolveum.midpoint.model.test.AbstractModelIntegrationTest.importAndGetObjectFromFile(AbstractModelIntegrationTest.java:333)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at com.evolveum.midpoint.model.test.AbstractModelIntegrationTest.importAndGetObjectFromFile(AbstractModelIntegrationTest.java:327)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at com.evolveum.midpoint.model.impl.AbstractInternalModelIntegrationTest.initSystem(AbstractInternalModelIntegrationTest.java:207)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at com.evolveum.midpoint.wf.impl.AbstractWfTest.initSystem(AbstractWfTest.java:158)<o:p></o:p></span></p>
<div style="mso-element:para-border-div;border:none;border-bottom:double windowtext 2.25pt;padding:0cm 0cm 1.0pt 0cm">
<p class="MsoNormal" style="border:none;padding:0cm"><span lang="EN-US"> at com.evolveum.midpoint.test.AbstractIntegrationTest.initSystemConditional(AbstractIntegrationTest.java:180)<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">How can I setup the run configuration to make this test working?<o:p></o:p></span></p>
</div>
</body>
</html>