Commit Graph
1578 Commits
Author SHA1 Message Date
Axel Uhl 59b76b9848 let TrackedRaceImpl resolve against DomainFactory which now has a RaceLogResolver which is provided by RacingEventService;
in production mode, the RacingEventService constructors make sure that the DomainFactory uses the RacingEventService as
its RaceLogResolver. The resolver is used by TrackedRaceImpl to set its raceLogResolver after de-serialization
2015-07-19 15:26:18 +02:00
Nick d17a82945b AbstractMarkPassingTest waits for race to load before testing 2015-07-19 08:14:19 +02:00
Axel Uhl ffdf958348 fixed wind direction for test 2015-07-11 18:06:38 +02:00
Axel Uhl 028f3c1a42 implemented a failing test case for bug 2976 2015-07-03 12:03:43 +02:00
Axel Uhl 5edd00e600 using ConcurrentHashMap for TrackedRegattaImpl.raceListeners (this was previously not thread safe); replaced wait() by RaceListener 2015-06-28 11:14:23 +02:00
Axel Uhl f59c519e9a generate fewer test strings in MarshallingObjectOutputStreamsTest to avoid memory problems during test execution 2015-06-26 12:05:52 +02:00
Axel Uhl 4215109f46 Added test that I expected to fail but that doesn't for bug 3015;
The test writes multiple ObjectOutputStreams into one OutputStream and
reads the object graphs using a sequence of ObjectInputStreams.
2015-06-25 21:28:25 +02:00
Axel Uhl e102c4d404 fixing test issues with unserializable Mockito mocks for bug 2995 2015-06-22 22:34:10 +02:00
Axel Uhl 9cd1ab8919 fix for bug 2995: require handicap functions to be serializable 2015-06-22 14:59:10 +02:00
Axel Uhl e2831de2e1 added a failing test case for bug 2995 and prepared a solution by introducing SerializableFunction 2015-06-22 14:50:02 +02:00
Axel Uhl 42dedcecfd bug 2467 #19: passing through RacingEventService as RaceLogResolver; added as transient field to TrackedRace, restored after initial load in RacingEventServiceImpl 2015-06-20 23:57:50 +02:00
Axel Uhl 7472abbd1b fixed bug 2981 and added test case; null wind caching was faulty 2015-06-19 16:26:02 +02:00
Peter Siegmund 8ff5aea866 Merge branch 'ubilabs--rcapp--new-testing' 2015-06-19 13:18:34 +02:00
Peter Siegmund 78817ac60a added JVM/Junit testing to RCApp (and renamed the UI test folder) 2015-06-19 12:08:48 +02:00
Axel Uhl c76eb1f74e Merge branch 'master' into ribdashboard 2015-06-19 02:06:30 +02:00
Axel Uhl fe2a45ddf7 use default implementation for TrackedRace.takesWindFix, avoiding new overrides in test mocks 2015-06-19 00:55:04 +02:00
Axel Uhl ba66852b7f added several test cases for the different constellations of TrackedRace.takesWindFix 2015-06-19 00:47:43 +02:00
Axel Uhl dcd826dd91 fixed test case construction: use two differently-named leaderboard columns 2015-06-19 00:19:24 +02:00
Axel Uhl 03c89e4b7c fixed typo on string constant 2015-06-19 00:06:02 +02:00
Axel Uhl c58cd9ae21 added failing test case for takesWindFix 2015-06-18 23:51:05 +02:00
Axel Uhl 909978f345 code formatting 2015-06-18 23:39:38 +02:00
Axel Uhl 535654593c Merge branch 'master' into jbross-dependent-race-start
Conflicts:
	java/com.sap.sailing.domain.persistence/src/com/sap/sailing/domain/persistence/impl/DomainObjectFactoryImpl.java
	java/com.sap.sailing.domain.persistence/src/com/sap/sailing/domain/persistence/impl/MongoObjectFactoryImpl.java
	java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/test/CalculateImageSizeFromUrlTest.java
	java/com.sap.sailing.server.gateway.serialization.test/src/com/sap/sailing/server/gateway/serialization/test/racelog/RaceLogEventSerializerTest.java
	java/com.sap.sailing.server/src/com/sap/sailing/server/impl/RacingEventServiceImpl.java
	mobile/com.sap.sailing.racecommittee.app/res/values-de/strings.xml
	mobile/com.sap.sailing.racecommittee.app/res/values/strings.xml
	mobile/com.sap.sailing.racecommittee.app/src/com/sap/sailing/racecommittee/app/data/DataStore.java
	mobile/com.sap.sailing.racecommittee.app/src/com/sap/sailing/racecommittee/app/data/InMemoryDataStore.java
	mobile/com.sap.sailing.racecommittee.app/src/com/sap/sailing/racecommittee/app/data/OfflineDataManager.java
	mobile/com.sap.sailing.racecommittee.app/src/com/sap/sailing/racecommittee/app/ui/fragments/RaceFragment.java
	mobile/com.sap.sailing.racecommittee.app/src/com/sap/sailing/racecommittee/app/ui/fragments/dialogs/ProtestTimeDialogFragment.java
	mobile/com.sap.sailing.racecommittee.app/src/com/sap/sailing/racecommittee/app/ui/fragments/dialogs/RaceFinishingTimeDialog.java
2015-06-18 13:45:50 +02:00
Alexander Ries be21942b15 hand over strings an no null values as trackedBasedTest createTestTrackedRace in RaceExecutionOrderTests 2015-06-17 09:06:17 +02:00
Alexander Ries 79aeb1c8a6 sovled master merge conflicts in dashboards EventLogo 2015-06-16 22:43:12 +02:00
Alexander Ries 0100abaa73 added javadoc to RaceExecutionOrderProvdiderAttachDetachTest and made the code more clean 2015-06-16 21:53:18 +02:00
Alexander Ries 50e1dfd5ba added hasRaceExecutionOrdersAttached() to TrackedRaceImpl 2015-06-16 17:51:38 +02:00
Alexander Ries d01cc74c75 removed getRaceExecutionOrderProvider() from TrackedRace interface 2015-06-16 17:42:08 +02:00
Alexander Ries a110ff1102 added getRaceExecutionOrderProvider() to TrackedRace 2015-06-16 15:51:18 +02:00
Alexander Ries 522952a9d0 endOfTracking does not get set anymore at TrackedRace creation in TrackedBasedTest 2015-06-16 15:24:52 +02:00
Alexander Ries 65c896a85b added javadoc to Util.isTimePointInRangeOfTimePointsAandB() 2015-06-16 15:20:20 +02:00
Alexander Ries 12b858626a added start and end time of race to trackedRace created in TrackedBasedTest#createTestTrackedRace() 2015-06-15 11:25:32 +02:00
Alexander Ries cbaf85766d added boolean takesWind(Wind wind) Method to TrackedRace and did some renaming 2015-06-14 18:43:17 +02:00
fmittag 0e85f3c32d removed methods to add or remove imageURL, sponsorImageURL and videoURLs as they are now derived always from the corresponding images and videos 2015-06-12 17:44:33 +02:00
Alexander Ries 223d3120a6 Refacoring with Axel 2015-06-08 15:52:54 +02:00
Alexander Ries 47451473c4 Merge remote-tracking branch 'origin/master' into ribdashboard 2015-06-08 10:39:54 +02:00
Axel Uhl e42666802b use placekitten.com instead of placeholder.it which recently has proven to be a bit unreliable 2015-06-06 20:45:33 +02:00
Axel Uhl 17a13599f3 fixed unescaping of SimpleRaceLogIdentifier 2015-06-03 18:44:00 +02:00
Axel Uhl 8377c9aea0 added failing test case demonstrating why the parsing for SimpleRaceIdentifier IDs added in InMemoryDataStore doesn't work 2015-06-03 18:21:01 +02:00
Axel Uhl 355bf4ba25 use placekitten.com instead of placeholder.it which recently has proven to be a bit unreliable 2015-06-03 01:01:04 +02:00
Alexander Ries c2a11cfd3b Solved master merge conlicts in TrackedRace and Regatta plus some of their mocks 2015-06-02 09:29:08 +02:00
Axel Uhl bc897e982d Merge branch 'master' into jbross-dependent-race-start 2015-05-31 16:34:33 +02:00
Axel Uhl d58da9df13 fixed test case which now requires a valid VMG for which two fixes per competitor are required 2015-05-31 16:15:16 +02:00
Axel Uhl a581b24d60 Merge branch 'master' into bug1018 2015-05-30 11:06:24 +02:00
Axel Uhl f4a59060a6 Merge branch 'master' into bug2897 2015-05-30 07:31:23 +02:00
Axel Uhl 4365699ea6 Merge branch 'master' into bug1018
Conflicts:
	java/com.sap.sailing.gwt.ui/SailingGWT sdm.launch
	java/com.sap.sailing.gwt.ui/SailingGWT.launch
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages.properties
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages_cn.properties
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages_de.properties
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages_ru.properties
2015-05-30 06:41:22 +02:00
Axel Uhl 9c5bf2c3b1 switched from "windward distance to leader" to "windward distance to competitor farthest ahead" 2015-05-28 17:10:04 +02:00
Axel Uhl f522527d65 accelerated chart calculations by pre-calculating RankingInfo beforehand, then sharing 2015-05-28 16:12:09 +02:00
Axel Uhl 82757a685c pass RankingInfo through to getLegGapToLegLeaderInOwnTime as a preparation for a performance fix 2015-05-28 10:54:39 +02:00
Steffen Schaefer e07c585934 Merge remote-tracking branch 'origin/master' into design2015
Conflicts:
	java/com.sap.sailing.gwt.ui/SailingGWT sdm.launch
	java/com.sap.sailing.gwt.ui/SailingGWT.launch
2015-05-28 09:55:11 +02:00
Axel Uhl 00b4a76f1c working on a solution for bug 2897: introduced NamedReentrantReadWriteLock for TrackedRegattaImpl.trackedRaces and notify listeners outside of locked area 2015-05-27 18:24:49 +02:00