Commit Graph
127 Commits
Author SHA1 Message Date
Fredrik Teschke bdd3113e14 Merge branch 'ftes-remove-racelogeventfactory' 2015-11-04 08:23:09 +01:00
Fredrik Teschke b00fd99cf9 fixed NPEs due to missing nextStatus in RaceStateEvents 2015-11-03 16:20:18 +01:00
Fredrik Teschke 817bb285c7 more housekeeping on RaceLog*Events 2015-11-02 23:09:42 +01:00
Fredrik Teschke f8fbbb35dc remove RaceLogEvent[Restore]Factory and RaceLogEvent* housekeeping
- the factories were not used for any factory purposes, and only resulted in maintenance effort
- unified order of constructor parameters for LogEvent-classes
- standard values for an event-id and createdAt-timestamp are now set once in base classes, instead
  of all over the place
2015-11-02 22:06:42 +01:00
Axel Uhl b225e7a6a7 added test ensuring that ESS boat class names are still recognized as potentially having a non-upwind start 2015-11-02 15:31:42 +01:00
Axel Uhl 2788334c07 added two passing tests around bug 3347 as regression tests 2015-11-02 14:55:00 +01:00
Axel Uhl bea4cf4e61 added another failing test case for bug 3347 2015-11-02 14:53:13 +01:00
Axel Uhl 7d3a9d8f9f added failing test case for bug 3347 2015-11-02 14:51:21 +01:00
Axel Uhl 0fd500e602 changed WindFixesFinder so it returns RaceLogWindFixEvents; introduced RaceLogWindFixDeclinationHelper doing the declination conversion 2015-08-20 13:50:39 +02:00
Axel Uhl 78ff26a17e introduced MillisecondsTimePoint.approximateNow() and used where now() is too expensive; re-typed now() to TimePoint 2015-07-27 22:48:09 +02:00
Axel Uhl cb784b9251 fixed dependent start time listening and null handling and bootstrap in two passes 2015-07-17 22:08:29 +02:00
Peter Siegmund befa648776 added startTimeDiff to StartTimeFinderResult (incl. changed junit tests) 2015-07-15 15:33:36 +02:00
Axel Uhl 9d652b0aa7 added failing test case for bug 3086 that is greened by the fix of the previous commit 2015-07-10 10:22:37 +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
Axel Uhl 1d1f190d73 fixed dependent start time test cases after the introduction of StartTimeFinderResult 2015-06-04 17:06:59 +02:00
Jan Broß 38fd4a556b Implements cycle detection and StartTimeFinderResult 2015-06-03 14:33:26 +02:00
Jan Broß 02f29d1eea Change return type of StartTimeFinder 2015-06-03 12:13:57 +02:00
Axel Uhl bbfdc51512 formatting / whitespaces only 2015-05-31 20:18:28 +02:00
Axel Uhl 3ddda9cea0 added failing test case demonstrating that adding a race state on top of a race log that already has a dependent start time doesn't work currently 2015-05-31 20:17:31 +02:00
Jan Broß e66cc02009 Add Simple DependentRaceStateTest 2015-05-29 16:27:40 +02:00
Jan Broß 3777f3d317 Removes unused imports 2015-05-29 16:23:42 +02:00
Jan Broß ed0515cdc7 Fixes some NPEs and adds test for DependentStartTimeFinder 2015-05-29 16:21:22 +02:00
Jan Broß acef2a0613 Rename DependentStartTimeFinder to StartTimeFinder 2015-05-29 13:11:47 +02:00
Jan Broß d22979e621 Remove old StartTimeFinder 2015-05-26 16:55:44 +02:00
Jan Broß 45563b88db Introduce RaceLogResolver and RaceLogDependentStartTimeFinder 2015-05-22 16:00:00 +02:00
Jan Broß 74b03b597e Introduce StartTimeFinderStatusEnum for StartTimeFinder 2015-05-19 11:41:45 +02:00
Axel Uhl ba1fceecaa added fields to capture time-on-time / time-on-distance on competitor and pass values through all constructors and operations and JSON serialization 2015-05-14 20:10:20 +02:00
fmittag 59248fcf49 added flagImageUrl as new attribute on competitor to enable custom flags (e.g. club flags) instead of the nation flags 2015-04-16 17:38:08 +02:00
Axel Uhl 094234b654 moved all Position-related classes including Compact... representations to common bundle; provided CustomFieldSerializer for all Position subclasses that require it 2015-04-03 16:12:21 +02:00
Axel Uhl 58bd451481 moved other Position implementations to common packages to share them with GWT and make then GWT-serializable 2015-04-02 16:42:10 +02:00
Fredrik Teschke 4cb7b535c8 Merge branch 'ftes-mail-move-to-sse' into jbross-email-invitation
Conflicts:
	java/com.sap.sailing.server/SailingServer (No Proxy).launch
	java/com.sap.sailing.server/SailingServer (Proxy).launch
	java/com.sap.sailing.targetplatform.base/features/target-base/feature.xml
	java/com.sap.sailing.targetplatform/definitions/race-analysis-p2-remote.target
2015-02-13 08:29:41 +01:00
Axel Uhl 98d5235b47 upgraded all Mongo-using bundles to 2.13.0 driver 2015-02-12 16:00:15 +01:00
Fredrik Teschke 04608c2ae7 add email to constructor of CompetitorImpl and fix bug (competitor email not loading on startup) 2015-02-10 00:49:53 +01:00
Axel Uhl 9fb859a8b3 major refactoring, solving bug 2578 by introducing com.sap.sse.shared.android and moving useful stuff to it that will compile on Android 2015-01-22 10:57:00 +01:00
Axel Uhl 608330e826 Merge branch 'master' into regatta-log
Conflicts:
	java/com.sap.sailing.gwt.ui/SailingGWT Remote Profiling (Run-Mode only).launch
	java/com.sap.sailing.gwt.ui/SailingGWT.launch
2014-12-22 14:22:32 +01:00
Axel Uhl 35b18c1312 implemented ConcurrentHashBag.Iterator.remove() and added test cases 2014-12-19 15:05:34 +01:00
Axel Uhl 1befb86bbd removed obsolete comment 2014-12-19 14:51:08 +01:00
Axel Uhl 2ac000200d reduce test case runtime to 2s which still reliably reproduces the error before the fix 2014-12-19 14:50:37 +01:00
Axel Uhl b0eb0bf0b0 replacing private int size by private AtomicInteger size; this avoids race conditions during decrement/increment operations 2014-12-19 14:37:13 +01:00
Axel Uhl 0a1590b524 found what looks like a reproduction scenario for bug 2502; failing test case 2014-12-19 13:50:58 +01:00
Axel Uhl 5a6a1da390 adjusting the test case such that only one thread works on one key; problem doesn't occur 2014-12-17 17:12:35 +01:00
Axel Uhl 09806cce62 removed a locking statement in GPSFixTrackImpl.getDistanceTraveledRecursively which was redundant; added failing test case for bug 2502 2014-12-17 15:38:51 +01:00
Axel Uhl 281a8af89e added a first test case for ConcurrentHashBag, trying to reproduce bug 2502 2014-12-16 09:13:30 +01:00
Fredrik Teschke a92114ee19 fixed LogEventComparator - it expected RaceLogEvents (missed that when refactoring) 2014-12-05 12:33:24 +01:00
Fredrik Teschke 91316dd4b1 use regattalog in RaceLogRaceTracker and TrackedRace 2014-12-05 10:13:24 +01:00
Fredrik Teschke e03380283a start using MultiLogAnalzer for finding registered competitors 2014-12-05 05:56:06 +01:00
Fredrik Teschke d7db982012 added RegattaLog events and refactored some analyzers 2014-12-01 12:01:40 +01:00
Fredrik Teschke 9bf3d7c9c7 pull shared events and analyzers onto AbstractLog level 2014-11-27 01:26:53 +01:00
Fredrik Teschke 101dba0d82 rename ->LogEventAuthorImpl (instantiating a class named Abstract* feels wrong) 2014-11-26 18:27:18 +01:00
Fredrik Teschke 95daba5ddb moved NotRevokableException to abstractlog package 2014-11-23 18:24:28 +01:00