6 Commits

Author SHA1 Message Date
Nick Burch
17ee08366f Merged BRANCHES/DEV/CLOUDSYNCLOCAL2 to HEAD:
35620: More JUnit Rules Enhancements, covering well known nodes and easier context loading


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@35621 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-04-24 15:00:21 +00:00
Neil McErlean
2fbdf1bfa7 Added a convenience method to the ApplicationContextInit @Rule to allow for easier spring overriding in test code.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@34805 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-03-27 10:10:18 +00:00
Neil McErlean
c2ac2cae77 Added enhancement to TemporaryNodes rule to allow for dummy content.
Also added a test class for this test rule.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@34777 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-03-26 17:50:08 +00:00
Neil McErlean
6cc6268420 More JUnit rules fun. Added a new rule to help with the creation and automatic cleanup of temporary test nodes.
Also refactored RatingServiceIntegrationTest to use JUnit Rules properly.
This class might be a template for future use of Rules. We'll see...


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@34328 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-03-02 00:11:33 +00:00
Neil McErlean
19c9d617a3 Some initial documentation on JUnit Rules samples.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@34317 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-03-01 16:09:28 +00:00
Neil McErlean
fae70e3cfb Upgrading JUnit lib to 4.10 to get full Rules support.
Initial Rule implementations being discussed at tomorrow's Brown Bag.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@34289 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-02-29 21:07:57 +00:00