<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Testing junit springway tests. Failure. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/testing-junit-springway-tests-failure/m-p/204053#M157183</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Checked unit test project and used resource argument for deployment annotation, just like their. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;@Deployment(resources = {"diagrams/autodeploy.HelloProcess.bpmn"})&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now it works. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now i don't understand how it works without that argument, and why i found nothing about this in tutorial.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, thanks for your help. It was useful.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jun 2015 07:59:34 GMT</pubDate>
    <dc:creator>nikz2</dc:creator>
    <dc:date>2015-06-15T07:59:34Z</dc:date>
    <item>
      <title>Testing junit springway tests. Failure.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/testing-junit-springway-tests-failure/m-p/204048#M157178</link>
      <description>At this point it works, and everything is fine, but…If i do just like in the tutorial example with @Deployment annotation it produce this output:&amp;lt;c&amp;gt;INFO: Refreshing org.springframework.context.support.GenericApplicationContext@4ae69619: startup date [Thu Jun 11 10:07:04 AST 2015]; root of cont</description>
      <pubDate>Thu, 11 Jun 2015 07:06:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/testing-junit-springway-tests-failure/m-p/204048#M157178</guid>
      <dc:creator>nikz2</dc:creator>
      <dc:date>2015-06-11T07:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Testing junit springway tests. Failure.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/testing-junit-springway-tests-failure/m-p/204049#M157179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So what could be the cause? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;pom, context.xml in attach&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 07:10:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/testing-junit-springway-tests-failure/m-p/204049#M157179</guid>
      <dc:creator>nikz2</dc:creator>
      <dc:date>2015-06-11T07:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Testing junit springway tests. Failure.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/testing-junit-springway-tests-failure/m-p/204050#M157180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would guess that process is deployed twice. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;delete &lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="deploymentResources"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; value="classpath*:diagrams/autodeploy.*.bpmn" /&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;from activiti context and uncomment deploy annotation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 19:12:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/testing-junit-springway-tests-failure/m-p/204050#M157180</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2015-06-11T19:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: Testing junit springway tests. Failure.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/testing-junit-springway-tests-failure/m-p/204051#M157181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi. Thanks for your reply. At least it gave me a clue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Still the same. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maven still tells me:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;c&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;июн 15, 2015 9:12:35 AM org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;INFO: Processing resource D:\Java\workspace\HelloWorld\target\classes\diagrams\autodeploy.HelloProcess.HelloProcessId.png&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;июн 15, 2015 9:12:35 AM org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;INFO: Processing resource D:\Java\workspace\HelloWorld\target\classes\diagrams\autodeploy.HelloProcess.bpmn&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/c&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Even after i deleted that string, and made clean and then install. Even after i renamed autodeploy.HelloProcess.bpmn to autodeplo.HelloProcess.bpmn the output was the same. I used total commander to search "autodeploy." references in my project but found it only in context.xml and it's that string.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 06:27:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/testing-junit-springway-tests-failure/m-p/204051#M157181</guid>
      <dc:creator>nikz2</dc:creator>
      <dc:date>2015-06-15T06:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Testing junit springway tests. Failure.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/testing-junit-springway-tests-failure/m-p/204052#M157182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Create jUnit test.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.activiti.org/content/sticky-how-write-unit-test" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/content/sticky-how-write-unit-test&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 07:01:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/testing-junit-springway-tests-failure/m-p/204052#M157182</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2015-06-15T07:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Testing junit springway tests. Failure.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/testing-junit-springway-tests-failure/m-p/204053#M157183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Checked unit test project and used resource argument for deployment annotation, just like their. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;@Deployment(resources = {"diagrams/autodeploy.HelloProcess.bpmn"})&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now it works. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now i don't understand how it works without that argument, and why i found nothing about this in tutorial.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, thanks for your help. It was useful.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 07:59:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/testing-junit-springway-tests-failure/m-p/204053#M157183</guid>
      <dc:creator>nikz2</dc:creator>
      <dc:date>2015-06-15T07:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Testing junit springway tests. Failure.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/testing-junit-springway-tests-failure/m-p/204054#M157184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That sounds very odd, it should be the same behaviour with or without resources&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have a reproducible unit test I can try out?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 09:13:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/testing-junit-springway-tests-failure/m-p/204054#M157184</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-06-16T09:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Testing junit springway tests. Failure.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/testing-junit-springway-tests-failure/m-p/204055#M157185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's generating "Failure" again, when i run tests through maven. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When i execute test by eclipse everything is fine. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am new to java, so i am learning all this stuff. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, here is my "project".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 12:03:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/testing-junit-springway-tests-failure/m-p/204055#M157185</guid>
      <dc:creator>nikz2</dc:creator>
      <dc:date>2015-06-16T12:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Testing junit springway tests. Failure.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/testing-junit-springway-tests-failure/m-p/204056#M157186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;your test uses oracleDB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;[ERROR] Failed to execute goal on project hello-world-test: Could not resolve dependencies for project org.fbconsult:hello-world-test:jar:1.0: Could not find artifact com.oracle:smileysurprised:jdbc6:jar:11.2.0 at specified path D:\Java\ojdbc6.jar&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you create H2 jUnit test please?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 06:55:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/testing-junit-springway-tests-failure/m-p/204056#M157186</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2015-06-17T06:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Testing junit springway tests. Failure.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/testing-junit-springway-tests-failure/m-p/204057#M157187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sure.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 12:31:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/testing-junit-springway-tests-failure/m-p/204057#M157187</guid>
      <dc:creator>nikz2</dc:creator>
      <dc:date>2015-06-17T12:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Testing junit springway tests. Failure.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/testing-junit-springway-tests-failure/m-p/204058#M157188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not sure if you can inject the Activiti rule. I can't get the project to run here, but all in all that test should run just fine, nothing special about it. So i'm guess it's more an env/setup thing than anything else.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 21:15:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/testing-junit-springway-tests-failure/m-p/204058#M157188</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-06-30T21:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Testing junit springway tests. Failure.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/testing-junit-springway-tests-failure/m-p/204059#M157189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;if I run your test as you provided here I receive an error related to sql syntax. (didn't checked yet what's wrong with the sql and version 3.3.0 of mybatis but i'll have a look.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if I use another version of mybatis (the one which is used in Activiti 5.17.0) it is working well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dependency&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;groupId&amp;gt;org.mybatis&amp;lt;/groupId&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;artifactId&amp;gt;mybatis&amp;lt;/artifactId&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;version&amp;gt;3.2.4&amp;lt;/version&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/dependency&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The tests are working even I run them from IDE or from command line (I prefer command line because the output it's more verbose and I could see the errors better.)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 20:10:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/testing-junit-springway-tests-failure/m-p/204059#M157189</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2015-07-06T20:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Testing junit springway tests. Failure.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/testing-junit-springway-tests-failure/m-p/204060#M157190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot. That's was the solution. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 05:02:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/testing-junit-springway-tests-failure/m-p/204060#M157190</guid>
      <dc:creator>nikz2</dc:creator>
      <dc:date>2015-07-10T05:02:14Z</dc:date>
    </item>
  </channel>
</rss>

