Commit Graph

33 Commits (d2c296a84a00e15f3de5d6bc3ce75a17d38b2d7d)

Author SHA1 Message Date
Jens Pelzetter 7293c3b189 Removed UnitTest category usage and class 2020-07-18 18:09:47 +02:00
Jens Pelzetter f66a39862c Removed IntegrationTest category, renamed resources, adapted profile for remote wildfly to use the maven-failsafe-plugin 2020-07-18 17:56:34 +02:00
Jens Pelzetter 3a4be67b32 Removed import for IntegrationTest category 2020-07-18 12:50:28 +02:00
Jens Pelzetter 9f6f894929 Fixed test failure in ccm-shortcuts 2020-07-18 09:52:49 +02:00
Jens Pelzetter 377513fed7 Migrated integration tests in shortcuts to failsafe plugin 2020-07-17 20:26:32 +02:00
Jens Pelzetter ff4c6811ca Bugfixes 2020-06-13 18:57:40 +02:00
jensp 1c22c8efcb CCM NG: Updated Thorntail and Shiro dependencies
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6013 8810af33-2d31-482b-a856-94f89814c4df
2019-05-05 19:54:26 +00:00
jensp 2299db635e CCM NG: ccm-shortcuts passes all tests
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5997 8810af33-2d31-482b-a856-94f89814c4df
2019-05-03 13:18:49 +00:00
jensp 3d8402effe CCM NG: Fixed dependencies
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5944 8810af33-2d31-482b-a856-94f89814c4df
2019-04-14 14:56:51 +00:00
jensp 69b194b35a CCM NG: Various adjustments for import/export
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5710 8810af33-2d31-482b-a856-94f89814c4df
2018-10-03 12:33:14 +00:00
jensp f671bd3e55 CCM NG: Publish button (not yet working) and publish status display for PageModelEditor
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5518 8810af33-2d31-482b-a856-94f89814c4df
2018-06-14 18:26:03 +00:00
jensp b5bd7b312a CCM NG: Database migration for changing the type of org.libreccm.pagemodels.styles.Dimension#value from float to double
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5427 8810af33-2d31-482b-a856-94f89814c4df
2018-05-11 17:16:58 +00:00
jensp 34368d9f29 CCM NG: Updated SQL create scripts for test to reflect to latest schema changes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5369 8810af33-2d31-482b-a856-94f89814c4df
2018-04-07 14:24:50 +00:00
jensp d530066ac9 CCM NG: Database migration for theme_id field in table ccm_core.theme_files
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5343 8810af33-2d31-482b-a856-94f89814c4df
2018-03-10 15:10:34 +00:00
jensp 196d0d8869 CCM NG: Refactored dependencies between tasks from an n:m relation to two 1:n relations using an relation entity (TaskDependency). Also renamed some attributes to make the dependency relations more readable.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5162 8810af33-2d31-482b-a856-94f89814c4df
2017-12-10 20:19:18 +00:00
jensp 81be5540dc 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 09af5101ec 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 2886d56199 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 6350bee8e4 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 15f5a375b0 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 eb737fcb02 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 c899644e26 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