Commit Graph
45 Commits
Author SHA1 Message Date
Axel Uhl 6dcd7d4187 bug6127_2024-12: adjusted JUnit dependencies in MANIFEST.MF files to downgraded versions 2025-07-07 11:33:18 +02:00
Axel Uhl 5b2536e9c0 bug6127: more JUnit5 migrations; still to do: selenium and domain.test 2025-06-05 17:21:26 +02:00
Axel Uhl 3138f7745f bug6127: refactored more test fragments to JUnit5 2025-06-05 17:21:26 +02:00
Axel Uhl faf71f55a7 bug6127: first step migrating tests from JUnit4 to JUnit5 2025-06-05 17:21:25 +02:00
Udo Wessels b6a5a3522b bug5774: The changes on AbstractGenericSerializableSettings are reverted and therefore another AbstractGenericSerializableSettingsWithContext was created instead. This prevent us to be forced to initialize every settings object with a security context even if it is not needed. Now we only use the ...WithContext in cases where we really need it to work with secured settings in the addChildSettings method.
There are still some places to work on e.g. where the secured DTO's are not in place when we init a settings with context. They are marked with TODO bug5774.
Also the secured ENUM setting needs some attention...

In LiveRaceWithRacemapAndLeaderBoardPresenterImpl there is already a change were we get a StrippedLeaderboardDTO to init context object correctly and which can be used for authorization check later.
2024-04-12 14:13:40 +02:00
Udo Wessels 129fa73f65 bug5774: Rework after review with Axel
- introduced a context object for child settings in settings classes, because of abstract super call hierarchy it was not possible to use data from outside.
- reverted changes with paywall resolver and secured DTO proxies, because potentially not needed
2024-03-09 03:53:35 +01:00
Wessels, Udo (PPN) 2b66121265 bug5910: remove not supported line in .project files so that current Eclipse version (2023-09) can import the projects. 2023-10-09 18:00:50 +02:00
Axel Uhl 6220698017 bug5792: formatting clean-up to align with master 2022-12-14 06:15:10 -08:00
Axel Uhl 5d8a57cb67 bug5792: further aligned manifests, .classpath and settings/preferences 2022-12-14 05:23:00 -08:00
Axel Uhl 24132454b0 bug5792: adjust to Java-11 deprecations (Number constructors, reflection, Hamcrest, minor AWT changes) 2022-12-12 07:35:58 -08:00
Axel Uhl a6363406be bug5792: introduce org.hamcrest-2.2.0, remove gwt-dev deps 2022-12-12 06:18:51 -08:00
Finn Huelsbusch d888c1fad9 added configuration for eclipse 2022-06 and updated the onboarding 2022-07-07 16:51:33 +02:00
Axel Uhl 2c622e5b45 patched <!DOCTYPE projectDescription> into all project files to avoid info/warning in problems view about no grammar constraint 2021-06-19 12:45:03 +02:00
Axel Uhl 83c11f5fd4 resolved ambiguity of com.sap.sse.util package between com.sap.sse and com.sap.sse.shared.android;
renamed the com.sap.sse.util and com.sap.sse.util.impl packages in com.sap.sse.shared.android
to com.sap.sse.shared.util and com.sap.sse.shared.util.impl, respectively; this is supposed to fix
all issues with ambiguous package imports
2021-03-23 21:01:32 +01:00
Axel Uhl 4db4b95b62 bug4811: set org.eclipse.jdt.core.compiler.codegen.methodParameters to generate in all preference files; Tycho respects them! 2021-02-16 14:58:38 +01:00
Axel Uhl 896ccebe93 let ArrayListNavigableSet inherit from AbstractSet for equals/hashCode definition
Change-Id: Ic20b2da263093bf4ed21061c76c6c51d9acb9b37
2018-11-16 14:57:58 +01:00
Axel Uhl bd90f921dd added Automatic-Module-Name headers to satisfy Oxygen.3 Java9 warnings rule 2018-03-24 01:45:37 +01:00
Steffen Schaefer cd313c5988 Bug 4383: Moved the new test because it isn't compatible with Java
serialization and the problem won't occur there
2017-12-06 13:44:27 +01:00
Steffen Schaefer 66055a4a40 Bug 4383: Added failing test 2017-12-06 09:56:51 +01:00
Steffen Schaefer 9123771f34 normalized line endings 2017-05-16 09:42:02 +02:00
Steffen Schaefer bcdcd85d62 Using flat keys instead of '_' for perspective own settings 2017-02-14 17:57:56 +01:00
Kai Boernert 3daa58a1e3 Added new way of persisting that modifies the json directly, keeping parts of non existant components
Merge branch 'bug3961' of ssh://trac@sapsailing.com/home/trac/git into bug3961

Conflicts:
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/shared/racemap/RaceMap.java
2017-01-26 14:52:39 +01:00
Kai Boernert c6fd3d878e split settings and livecycle properly 2017-01-18 16:31:12 +01:00
Steffen Schaefer 10bab90b72 Merge branch 'master' into bug3529 2017-01-11 13:54:34 +01:00
Steffen Schaefer dd5d1fc745 Using junit and hamcrest from orbit / adjustments for different junit
bundle ID
2016-11-24 13:29:02 +01:00
Vladislav Chumak 3a32477a8d bug3529 changed componentId type to String, partially implemented
settings management skeletons
2016-10-21 17:54:29 +02:00
Vladislav Chumak 40f01f0e50 bug3529 Refactored the test for serializable SettingsMap 2016-09-27 17:20:39 +02:00
Vladislav Chumak ee4800ce7a bug3529 Added tests for SettingsMap serialization/deserialization 2016-09-20 19:45:54 +02:00
Steffen Schaefer b826248e4c Added an initial test case to verify that SettingsMap serialization
works as intended
2016-09-20 17:43:05 +02:00
Steffen Schaefer 6a81ebd0d9 SettingsToJsonSerializer can now directly (de)serialize from/to Strings
Changed the test accordingly
2016-07-01 12:00:27 +02:00
Steffen Schaefer 38affe46a7 Introduced a specific superclass for generic serializable settings and
moved all related classes to a specific subpackage
2016-06-30 14:23:18 +02:00
Steffen Schaefer 1be9963430 Handling of Java serialization in SerializableSettings for
AbstractSettings contents
2016-04-19 13:01:23 +02:00
Steffen Schaefer c0c955848e Added currently not working test for Java serialization of settings 2016-04-19 09:33:35 +02:00
Steffen Schaefer 30a565bf3c Adjusted test settings to reflect the current state of development 2016-04-19 09:32:10 +02:00
Steffen Schaefer 5e79321ed5 Test settings objects are now all serializable 2016-04-19 09:00:14 +02:00
Steffen Schaefer 8253ae657f Fixed broken test 2016-04-19 08:32:04 +02:00
Steffen Schaefer 963a7ed563 Child settings are transient for efficient serialization 2016-04-19 08:31:40 +02:00
Steffen Schaefer d9dad10d1f Moved some settings to the new scheme for defining child settings 2016-04-13 16:21:42 +02:00
Steffen Schaefer 459651cb4a Moved the inner storing of settings to value objects and changed the
Settings hierarchy to be restored after deserialization to support both,
Java and GWT serialization
2016-04-13 16:02:17 +02:00
Steffen Schaefer 44572505e8 bug 2775: Added test to prevent "." in Setting names 2016-03-15 16:46:51 +01:00
Steffen Schaefer a3e0545cdd bug 2775: Consistent/better naming of test classes 2016-03-15 16:40:20 +01:00
Steffen Schaefer 0800ded071 bug 2775: Extended test case to include BooleanSetting 2016-03-15 15:56:25 +01:00
Steffen Schaefer ce1c96d48d bug 2775: Added test case for nested SettingsList 2016-03-15 15:51:44 +01:00
Steffen Schaefer 65e6802fb2 bug 2775: Extended Settings serialization test to also test
SettingsToStringMapSerializer with the same set of test cases by
introducing a abstract test class
2016-03-15 15:30:35 +01:00
Steffen Schaefer c651316031 Moved SettingsToJsonSerializer to com.sap.sse.shared.android and added
com.sap.sse.shared.android.test
2016-03-15 15:02:07 +01:00