Commit Graph

51 Commits

Author SHA1 Message Date
Erik Knizat
bb927442f0 Merge branch 'develop' into feature/REPO-2626_HB2.0 2017-09-19 17:07:27 +01:00
Andreea Nechifor
cc2f384cbc Merge remote-tracking branch 'origin/develop' into fix/MNT-17970_recipientListForGroups 2017-09-15 16:49:55 +03:00
Erik Knizat
eda2ac2b6f REPO-2852 Heartbeat: Add junit tests for the new service and collectors
* Code review changes - added throws Exception to method signatures
2017-09-15 13:45:30 +01:00
Andrei Rebegea
2a8d08567f Fix/repo 2880 move to perm fix (#18)
* REPO-2880: MNT-18014 Site Managers cannot view content of folders with inheritance off after a Move Operation

* REPO-2880: fix compilation error, add missing import
2017-09-15 14:44:50 +03:00
Erik Knizat
d268b29c97 Merge branch 'feature/REPO-2626_HB2.0' of https://github.com/Alfresco/alfresco-repository into feature/REPO-2626_HB2.0 2017-09-14 15:34:30 +01:00
Erik Knizat
cf4f02b19c REPO-2852 Heartbeat: Add junit tests for the new service and collectors
*Add test to AllRepositoryTestsCatalogue
2017-09-14 15:31:45 +01:00
Ancuta Morarasu
7814bf18f6 Merge branch 'develop' into feature/REPO-2626_HB2.0 2017-09-14 10:41:43 +03:00
Matt Ward
5826673b67 Merge pull request #15 from Alfresco/fix/REPO-2705_createDocVersNone
Fix/repo 2705 create doc vers none
2017-09-13 17:34:25 +01:00
Erik Knizat
a51b5f10a1 REPO-2852 Heartbeat: Add junit tests for the new service and collectors
* Add unit tests for RepositoryDataCollector
2017-09-13 17:19:16 +01:00
Erik Knizat
02a5b1b2fc Refactor code
* Split heartbeat-context into 2
* Move new heartbeat-repo-collector-context out of application-context-core
2017-09-13 17:08:30 +01:00
Erik Knizat
5ebca10fa1 Format code 2017-09-12 19:07:53 +01:00
Erik Knizat
c763a85b96 REPO-2852 Heartbeat: Add junit tests for the new service and collectors
* Add unit tests for HeartBeat, HBDataCollectorService
2017-09-12 19:04:29 +01:00
Andrei Forascu
ec93521c15 REPO-2868 / MNT-17970: List of recipients is not available in model in MailActionExecuter.when sending to groups
- added the "to" parameter to the Email Template Model. The list of persons to which the email is sent will be displayed in the email body if the template is configured to do so
     - added a Junit for the case where the email is sent to a group
2017-09-12 16:23:36 +03:00
Ancuta Morarasu
28366861fc REPO-2705 / MNT-17961: Cannot create new Alfresco NON-versioned document with CMIS API Calls - test 2017-09-12 00:26:57 +03:00
alandavis
d1216de8d4 Fix/mnt 18404 image magick fails on windows (#14)
REMO-18404 Environment not being set for ImageMagick

The environment required by ImageMagick was not being set. Even though the environment shown by  log4j.logger.org.alfresco.util.exec.RuntimeExec=trace indicated that the required variables already existed in the current environment, that does not mean they are passed on to the sub process. In this case they were not being passed on and they were not being set as additional variables required by the sub process.

The bug was introduced when Alfresco PDF renderer was added (REPO-2054) to ACS 5.2.1 and ACS 5.2.g. The context file for ImageMagic (imagemagick-transform-context.xml) was used as the basis for Alfresco PDF renderer's context file. Unfortunately the names of the spring beans that provided the Windows and Unix environment variable values were not changed. As a result, ImageMagick was being provided with Alfresco PDF renderer's environment variables.

The Alfresco global property img.gslib and environment variable $GS_LIB set using it, are now redundant following the REPO-2054 work so have been removed in this commit.

When testing this issue we should test ImageMagick and Alfresco PDF renderer on both Windows and Unix (Linux). I have not dug into why ImageMagick and Alfresco PDF renderer are working on Linux. I'm guessing that the current environment is being passed on unlike Windows.
2017-09-11 09:09:33 +01:00
Andrei Forascu
7e8ab7a777 REPO-2868 / MNT-17970: MNT-17970: List of recipients is not available in model in MailActionExecuter.when sending to groups
- added Junit for the case where a mail is sent to a GROUP using a template: check that all users from GROUP are displayed in TO field
2017-09-08 10:53:11 +03:00
Andrei Rebegea
41eba5bac8 REPO-2872: fix HtmlParserContentTransformerTest.testEncodingHandling() test failing when run locally on systems other than Linux 2017-09-05 14:48:21 +03:00
Alexandru-Eusebiu Epure
4cbacecada REPO-2819 : DELETE /shared-links/{id} with admin returns 403 (#9)
* REPO-2819 : DELETE /shared-links/{id} with admin returns 403
   Add an extra check to QuickShareServiceImpl.canDeleteSharedLink, because the admin user can return the SiteName of a nodeRef (even if it's private).
      Add a JUnit test into QuickShareServiceIntegrationTest
         Add a comment to the test - no actual shared Link is needed for this test.

* REPO-2520 : SiteMembership Java API calls should tell which site resulted in errors
   Add the test class into the test suite (was not previously added).
2017-08-30 10:26:07 +03:00
Andrei Rebegea
728bc47377 Feature/repo 2793 efficient ts (#7)
* REPO-2793: refactoring the tests in the test suites so we can get more efficient and balanced Test Suites

* REPO-2793: cleanup and renames

* REPO-2793: fix the Virtual Folder tests that was failing on bamboo

* REPO-2793: fix some rendition tests on the build by running them earlier

* REPO-2793: fix the test testAR1303. It needed some cleanup
2017-08-22 13:05:27 +03:00
Andrei Rebegea
4ec280ce62 REPO-1995: remove duplicate tests 2017-08-09 11:18:37 +03:00
Andrei Rebegea
bdd9bb29bb REPO-19954: adding the missing test FTPServerTest 2017-08-09 10:27:00 +03:00
Andrei Rebegea
b041d4128d REPO-1995: disable the test testConcurrentArchive until REPO-2783 is done 2017-08-08 12:08:50 +03:00
Andrei Rebegea
37681212e3 Merge branch 'feature/REPO-1995_improve_test_split' of https://github.com/Alfresco/alfresco-repository into feature/REPO-1995_improve_test_split 2017-08-07 19:54:42 +03:00
Andrei Rebegea
0f17b27a95 REPO-2774: add the correct ApplicationContextHelper.getApplicationContext method call for getting the context in the setUp method 2017-08-07 19:54:19 +03:00
Alan Davis
de6c0d218c Merge branch 'feature/REPO-1995_improve_test_split' of github.com:Alfresco/alfresco-repository into feature/REPO-1995_improve_test_split 2017-08-07 17:22:16 +01:00
Alan Davis
68b3d482b0 REPO-1995 TransformerDebugTest
There was a leading date on the log message and the code to zero out the trans ref did not know that.
2017-08-07 17:21:58 +01:00
Andrei Rebegea
5e635d95bc Merge branch 'feature/REPO-1995_improve_test_split' of https://github.com/Alfresco/alfresco-repository into feature/REPO-1995_improve_test_split 2017-08-07 18:06:34 +03:00
Andrei Rebegea
7127fffd0a REPO-2774: rebalance the tests in the AppContextExtra 2 and 3 2017-08-07 18:05:51 +03:00
Alan Davis
049526f4d1 REPO-1995 TransformerDebugTest appears to be failing because there are CRLF
even though the build agents are Linux.
2017-08-07 15:51:41 +01:00
Alan Davis
45d19296e7 REPO-1995 Another go at fixing TransformerDebugTest on Bamboo. 2017-08-07 14:51:03 +01:00
Andrei Rebegea
42b4939192 REPO-2774: refactor and clean up the comments and names of the methods 2017-08-07 15:53:24 +03:00
Andrei Rebegea
4a74ae93b6 REPO-2774: further split on test suite AppContextExtra02 because of the max_connection limit on bamboo 2017-08-07 15:18:07 +03:00
Andrei Rebegea
2d05837fe3 REPO-2774: refactor the test suite names to make the bamboo jobs easier to read 2017-08-07 15:02:40 +03:00
Andrei Rebegea
c283c81acc REPO-2774: add the final tests to test suites 2017-08-07 14:14:24 +03:00
Andrei Rebegea
c0cd284ddb REPO-2774: add few more context sets into test suites 2017-08-04 17:36:39 +03:00
Andrei Rebegea
b833d600b3 REPO-2774: forgot to add the mandatory Alfresco comment 2017-08-04 16:18:04 +03:00
Andrei Rebegea
11ef399333 REPO-2774: merged other tests related to application-context into one test suite 2017-08-04 16:05:41 +03:00
Andrei Rebegea
7dd4dc668f Merge pull request #4 from Alfresco/develop
sync feature branch with develop
2017-08-04 09:00:38 +03:00
Alan Davis
374d580b2b REPO-2724 Fix transform build error after code base split 2017-08-03 14:24:14 +01:00
Andrei Rebegea
4f4f757036 REPO-2742: cleaned up the code a little bit more 2017-08-03 13:36:57 +03:00
Andrei Rebegea
50f7a66908 REPO-2742: cleaned up the test that don't use any context files 2017-08-03 13:33:32 +03:00
Andrei Rebegea
043aef29ec REPO-1995: add the final tests from the application-context context set 2017-08-02 18:01:57 +03:00
Andrei Rebegea
53dbd3f814 REPO-1995: shuffling some tests around to make them pass 2017-08-02 16:00:37 +03:00
Andrei Rebegea
be4a3e5f40 REPO-1995: moved some tests arround 2017-08-02 11:46:45 +03:00
Andrei Rebegea
9c54cf4667 REPO-1995: add part 6 to part 11 application-context 2017-08-01 20:02:46 +03:00
Andrei Rebegea
e7fb39b142 REPO-1995: added part 4 and 5 2017-08-01 18:35:15 +03:00
Andrei Rebegea
866c7ba7fd REPO-1995: part 3 of the application-context.xml set 2017-08-01 15:49:22 +03:00
Andrei Rebegea
dcbbac4072 REPO-1995: add more splitting of the first 2 jobs 2017-08-01 13:01:42 +03:00
Andrei Rebegea
452ccd7cb3 REPO-1995: refine the tests in the first test suite 2017-08-01 11:36:29 +03:00
Andrei Rebegea
af43f136aa REPO-1995: Merge/split the tests in test suites based on application context type - part 1 2017-08-01 09:10:00 +03:00