<?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: Using PersonTest.java JUnit test for testing a custom behavior. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/using-persontest-java-junit-test-for-testing-a-custom-behavior/m-p/281295#M234425</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you run the PersonTest?&amp;nbsp; The one you have copied? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I do in eclipse is just change the classpath to have my "shared/classes" folder at the beginning. Then you can fiddle with the db settings in alfresco-global.properties or add custom context files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks to me like you are trying to mock out too much stuff.&amp;nbsp;&amp;nbsp; Yes I agree that its a problem untangling the alfresco services.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Feb 2013 18:19:24 GMT</pubDate>
    <dc:creator>mrogers</dc:creator>
    <dc:date>2013-02-28T18:19:24Z</dc:date>
    <item>
      <title>Using PersonTest.java JUnit test for testing a custom behavior.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-persontest-java-junit-test-for-testing-a-custom-behavior/m-p/281294#M234424</link>
      <description>I have made some progress with this issue.Let's recap.I am trying to unit test a custom behavior which is triggered on Person node creation. I am using the Alfresco Junit test as guide&lt;IMG id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;rg.alfresco.repo.security.person.PersonTestI have placed it under my Alfresco project. Here is the modified code:/</description>
      <pubDate>Thu, 21 Feb 2013 07:20:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-persontest-java-junit-test-for-testing-a-custom-behavior/m-p/281294#M234424</guid>
      <dc:creator>kooroshv</dc:creator>
      <dc:date>2013-02-21T07:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using PersonTest.java JUnit test for testing a custom behavior.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-persontest-java-junit-test-for-testing-a-custom-behavior/m-p/281295#M234425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you run the PersonTest?&amp;nbsp; The one you have copied? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I do in eclipse is just change the classpath to have my "shared/classes" folder at the beginning. Then you can fiddle with the db settings in alfresco-global.properties or add custom context files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks to me like you are trying to mock out too much stuff.&amp;nbsp;&amp;nbsp; Yes I agree that its a problem untangling the alfresco services.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 18:19:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-persontest-java-junit-test-for-testing-a-custom-behavior/m-p/281295#M234425</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2013-02-28T18:19:24Z</dc:date>
    </item>
  </channel>
</rss>

