Commit Graph

18 Commits (b4599d49ff9da7dfb70dc6299e923b2233b0bcb1)

Author SHA1 Message Date
jensp fce01dc128 CCM NG:
- Removed class WorkflowTemplate, replaced by property abstractWorkflow in class workflow
- Fixed several test failures



git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5015 8810af33-2d31-482b-a856-94f89814c4df
2017-09-27 19:45:02 +00:00
jensp 7673c3314d CCM NG/ccm-core: Removed org.libreccm.formbuilder.WidgetLabel.java. In its current implementation it caused strange problems when querying the database.
CCM NG/ccm-cms: Granting/Revoking permissions using the PermissionsPane in the FolderBrowser now works


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4622 8810af33-2d31-482b-a856-94f89814c4df
2017-03-03 19:45:54 +00:00
jensp 19aaed5baa CCM NG:
- Database cleanup scripts for tests now running before test methods and not after. This means that the database is still intact after a test is run. Useful for debugging.
- ContentSectionSetup now add content types to content section
- Some things for the Documents tab in the content centre


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4578 8810af33-2d31-482b-a856-94f89814c4df
2017-02-16 13:17:48 +00:00
jensp 3c17226320 CCM NG: Reenabled defaultCleanupPhase=NONE in arquillian.xml. All tests should have @CleanupUsingScript which is executed regardless of the configured cleanup phase. Setting
defaultCleanupPhase=NONE makes it easier to disable the cleanup (just by commenting the annotation on the test class out) for debugging purposes.


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4567 8810af33-2d31-482b-a856-94f89814c4df
2017-02-15 09:33:52 +00:00
jensp 2f4b67dc4e CCM NG/ccm-cms: Fixed typo in after-add-role dataset.
CCM NG/ccm-shortcuts: 
- Necssary changes due to changed permission behaviour (only in the test datasets).
- ccm-shortcuts now uses standard cleanup procedure between integratio tests


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4542 8810af33-2d31-482b-a856-94f89814c4df
2017-01-28 20:23:15 +00:00
jensp 3ebcde0b8c CCM NG: First part of changed permission inhertitence
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4533 8810af33-2d31-482b-a856-94f89814c4df
2017-01-23 19:11:56 +00:00
jensp 875950167a CCM NG/ccm-shortcuts: Tests pass again
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4529 8810af33-2d31-482b-a856-94f89814c4df
2017-01-21 07:40:26 +00:00
jensp dd4e669357 CCM NG/ccm-cms:
- Extended ContentSectionManager with bodies of methods for managing ContentTypes for a section, added bodies for tests to ContentSectionManager
- Some improvments for other tests in ccm-cms
- index page for project site of ccm-cms

CCM NG/ccm-shortcuts:
- Adjusted tests to lastest changes in ccm-core (DB-Schema)


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4367 8810af33-2d31-482b-a856-94f89814c4df
2016-10-09 17:12:05 +00:00
jensp 5bd478e116 CCM NG/ccm-shortcuts:
- Changed createDeployment methods the use the new DependenciesHelper from ccm-testutils


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4324 8810af33-2d31-482b-a856-94f89814c4df
2016-09-26 17:02:23 +00:00
jensp 1c08efca11 CCM NG: Improved createDeployment method for Arquillian tests
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4322 8810af33-2d31-482b-a856-94f89814c4df
2016-09-26 15:25:28 +00:00
jensp fef0c2eb41 CCM NG: Fixed a problem with the tests for ccm-shortcuts: The inclusion of the ServletFilter into the test archives caused a failure because the filter was invoked before Arquillian has run the database creation scripts (Arquillan communicates with the Server using HTTP).
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4317 8810af33-2d31-482b-a856-94f89814c4df
2016-09-24 16:57:04 +00:00
jensp 45501fedb8 CCM NG: Several things
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4203 8810af33-2d31-482b-a856-94f89814c4df
2016-07-20 18:03:55 +00:00
jensp 864094a5dd CCM NG: Annotations for authorization are now added to all repository and and manager beans in ccm-core
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4166 8810af33-2d31-482b-a856-94f89814c4df
2016-06-17 19:46:50 +00:00
jensp 7691377674 CCM NG: ccm-shortcuts:
- ShortcutFilter migrated from trunk
    - Some minor adjustments to the repository


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4150 8810af33-2d31-482b-a856-94f89814c4df
2016-06-10 11:42:44 +00:00
jensp fea14a860e CCM NG: ccm-shortcuts: Secured methods for creating, saving and deleting Shortcuts with the appropriate annoations from ccm-core/org.libreccm.security. Tests for ShortcutManager extended to check if the authorization check works as intented.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4149 8810af33-2d31-482b-a856-94f89814c4df
2016-06-10 09:35:27 +00:00
jensp e7f4e49a15 CCM NG:
- Infrastructure for integration tests in ccm-shortcuts now works (may serve as an example of other modules)
- Integration tests for ShortcutRepository and ShortcutManager
- Fixed some bugs in the database migration scripts


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4148 8810af33-2d31-482b-a856-94f89814c4df
2016-06-09 13:54:23 +00:00
jensp 572db42a15 CCM NG: ccm-shortcuts module
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4146 8810af33-2d31-482b-a856-94f89814c4df
2016-06-08 18:03:18 +00:00
jensp b6310ae940 - Moved test utility classes to separate module which can be imported by other modules (Test classes are not part of
dependency resolution)
- Created ccm-shortcuts module for testing build environment setup


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3481 8810af33-2d31-482b-a856-94f89814c4df
2015-06-14 19:04:12 +00:00