Commit Graph
138 Commits
Author SHA1 Message Date
Steffen Schaefer f1d50b4d80 Bug 3875: Using CyclicBarrier to make the GPSFixStoreListenerTest
independent of timing of threads
2016-08-17 10:30:37 +02:00
Steffen Schaefer 16997047ca Bug 3875: Added failing test for the broken locking in
MongoSensorFixStoreImpl
2016-08-16 14:42:02 +02:00
Jonas Dann 3a6c2e28aa Moved the added logic to the regatta log and reimplemented the test 2016-07-26 10:37:18 +02:00
Steffen Schaefer 3afa5a03ca Fixed test after changing lifecycle of fix tracking 2016-06-29 15:37:36 +02:00
Steffen Schaefer a460109a69 Moved RaceTracker listener handling from RaceLogFixTrackerManager to
RegattaLogFixTrackerRaceListener
2016-06-29 15:17:19 +02:00
Steffen Schaefer 6503be3993 stopTracking signal now directly comes from the RaceTracker instead of
doing this through the TrackedRace
2016-06-29 14:02:31 +02:00
Steffen Schaefer bd020e8c39 Renames/JavaDocs/... during code review 2016-06-29 09:00:04 +02:00
Steffen Schaefer 4942594c1b Adjusted the CreateAndTrackWithRaceLogTest to use
RaceLogFixTrackerManager instead of RaceLogFixTracker to make the
tracker correctly shutdown on stopTracking
2016-06-23 11:00:29 +02:00
Papick Garcia Taboada 4777293976 Minor refactorings (renaming) and paasing preemptive stop to loaders 2016-06-21 16:14:51 +02:00
Papick Garcia Taboada afb20429bc Added Timeout to tests 2016-06-09 12:58:38 +02:00
Papick Garcia Taboada 15ee54381b Refactored wait for loaders to finish method 2016-06-09 12:57:56 +02:00
Steffen Schaefer 727f290279 CreateAndTrackWithRaceLogTest now needs to explicitly use
RaceLogSensorFixTracker for loading GPS fixes from the store because
this functionality was removed from RaceLogRaceTracker
2016-06-09 11:06:56 +02:00
Steffen Schaefer 01a5e480f0 RaceLogSensorFixTracker doesn't need TrackedRegatta anymore because the
RegattaLog is obtained from TrackedRace
2016-06-09 11:06:18 +02:00
Papick Garcia Taboada d091e2ee44 Moved GPSFixTracker code to RaceLogSensorFixTracker (applied visitor pattern previously introduced) 2016-06-07 16:21:17 +02:00
Steffen Schaefer 55eb4dcc32 Adjusted test to not wait for fixes to load because there is no loader
at all, so the state will always be PREPARED in this test case
2016-06-02 09:39:44 +02:00
Benjamin Barth 6647cb6284 Adjusted test cases in TrackedRaceLoadsFixesTest 2016-05-25 17:27:21 +02:00
Papick Garcia Taboada 097500e2b7 Fixed compiling errors due to new api 2016-05-19 14:29:14 +02:00
Benjamin Barth 60bca7d374 Merge branch 'master' into foiling
Conflicts:
	java/com.sap.sailing.domain.common/src/com/sap/sailing/domain/common/DetailType.java
	java/com.sap.sailing.domain.racelogtrackingadapter/src/com/sap/sailing/domain/racelogtracking/impl/RaceLogRaceTracker.java
	java/com.sap.sailing.domain/src/com/sap/sailing/domain/leaderboard/impl/AbstractSimpleLeaderboardImpl.java
	java/com.sap.sailing.domain/src/com/sap/sailing/domain/tracking/TrackedRace.java
	java/com.sap.sailing.domain/src/com/sap/sailing/domain/tracking/impl/DynamicTrackedRaceImpl.java
	java/com.sap.sailing.domain/src/com/sap/sailing/domain/tracking/impl/TrackedRaceImpl.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/TrackFileImportWidget.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_de.properties
2016-05-19 14:02:20 +02:00
Axel Uhl 56f1ff8767 more tests and fixes for bug 3636
Change-Id: I4b2b8e55e787cfbafd598b95d3ae7566fceecd89
2016-05-18 15:50:25 +02:00
Axel Uhl 370a5c8b59 failing test case for bug3636
Change-Id: I2d929b9e6998cced903116884e04ba09469a9588
2016-05-18 15:10:25 +02:00
Axel Uhl ff524f9808 bug 3660: materializing the startOfRace result in startTime in all cases; respond from cache; notify changes based on cache
Change-Id: I4362bc2a6b7513b3da10731a0a2299ad69f6a4fe
2016-05-13 21:15:30 +02:00
Steffen Schaefer e1f8dc06d5 Merge remote-tracking branch 'origin/master' into foiling
Conflicts:
	java/com.sap.sailing.domain/src/com/sap/sailing/domain/leaderboard/impl/AbstractSimpleLeaderboardImpl.java
	java/com.sap.sailing.server.test/src/com/sap/sailing/server/test/MasterDataImportTest.java
2016-04-27 08:12:55 +02:00
fmittag ca9550e93d implemented new attribute fleetsCanRunInParallel on Series domain object including storage, test, replication and admin UI 2016-04-21 17:26:53 +02:00
Steffen Schaefer 526bfb32b5 Merge remote-tracking branch 'origin/master' into foiling
Conflicts:
	java/com.sap.sailing.domain.racelogtrackingadapter.test/src/com/sap/sailing/domain/racelogtracking/test/AbstractGPSFixStoreTest.java
	java/com.sap.sailing.domain/src/com/sap/sailing/domain/tracking/impl/TrackedRaceImpl.java
	java/com.sap.sailing.server.test/src/com/sap/sailing/server/test/MasterDataImportTest.java
2016-04-21 09:23:17 +02:00
fmittag ef7d84bd81 added a searchTag attribute to 'Competitor' to make it possible to 'tag' competitors for an easier search later on 2016-04-14 13:44:37 -04:00
Benjamin Barth 5590f79189 Moved GPSFixStore implementation and removed "Mongo" from class name,
because it is no longer MongoDB specific
2016-04-11 13:36:51 +02:00
Steffen Schaefer 8649feadd9 Merge branch 'master' into foiling
Conflicts:
	java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/test/mock/MockedTrackedRace.java
	java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/test/mock/MockedTrackedRaceWithStartTimeAndRanks.java
	java/com.sap.sailing.domain/src/com/sap/sailing/domain/tracking/TrackedRace.java
	java/com.sap.sailing.domain/src/com/sap/sailing/domain/tracking/impl/DynamicTrackedRaceImpl.java
	java/com.sap.sailing.domain/src/com/sap/sailing/domain/tracking/impl/TrackedRaceImpl.java
	java/com.sap.sailing.gwt.ui.test/src/com/sap/sailing/gwt/ui/test/MockedTrackedRace.java
	java/com.sap.sailing.server/src/com/sap/sailing/server/masterdata/DummyTrackedRace.java
2016-04-07 09:05:56 +02:00
Steffen Schaefer 292d3c92d4 Introduction of SensorFixStore and delegation of GPSFixStore 2016-03-31 09:58:59 +02:00
Jan Broß 68c3cd02d6 Add Testcase and implementation of startTime Inference 2016-03-30 16:01:20 +02:00
Jan Broß 63eb29a015 Fixes StackOverflow in updateStartAndEndOfTracking 2016-03-30 14:55:47 +02:00
Jan Broß 51dc481ecb Add failing test for start time inference based on starttime in racelog 2016-03-30 14:27:37 +02:00
Axel Uhl e92d513c3b set start of tracking time to t(0) for test case; otherwise now it would receive "now" as start time, excluding test fixes 2016-03-27 03:44:51 +02:00
Axel Uhl 5af777f726 fixed tests by using different creation time stamps for mark definition events
Change-Id: I5e89fe6e581a70e850c08cafeae62a2c85d489dd
2016-01-22 16:40:46 +01:00
Axel Uhl 7a41f85d17 fixed mark fix loading tests which require now that there is a RegattaLogDefineMarkEvent in the RegattaLog
Change-Id: Iac9d5e9699b7df4aed376b508c92ec49a097de89
2016-01-22 16:35:19 +01:00
Jan Broß cdbdad6539 Remove unused variables and imports 2015-12-11 16:14:41 +01:00
Jan Broß 2ac564b4e3 Remove failing test, interleaving of multiple RaceLogs when analyzing in TrackedRace no longer necessary, as RegattaLog holds all necessary information and RaceLogs are no more longer analyzed 2015-12-11 16:09:25 +01:00
Jan Broß 288107a386 Fix one test case and break another ;-) 2015-12-11 14:51:33 +01:00
Jan Broß cf4c7ec95c Removes RaceLogDevicMarkMapping (bug2851) 2015-12-10 18:07:06 +01:00
Jan Broß 7414026cde Removes RaceLogDeviceCompetitorMapping (bug2851) 2015-12-10 18:00:27 +01:00
Jan Broß a9e5c693f6 Surpress warnings for deprecation in test cases 2015-11-20 16:06:10 +01:00
Jan Broß f36c072247 Merge branch master in bug2851 2015-11-04 13:36:29 +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
Jan Broß 05dea52634 Fix broken testcase by adding RaceLog MarkerEvent 2015-10-31 19:20:24 +01:00
Axel Uhl 9403f90402 made test for bug 3236 pass; introduced ways to wait for loading of GPS fixes for extended tracking interval 2015-08-18 11:23:08 +02:00
Axel Uhl d0ef305fa5 refactored loading of GPS fixes such that it is now also used when extending the tracking time interval 2015-08-18 10:46:47 +02:00
Axel Uhl 4ab8d5873e introduced methods on GPSFixStore that handle cropping by start/end of tracking 2015-08-14 22:25:51 +02:00
Axel Uhl 0449203d4a added a failing test case that requires fixes to be filtered when loaded and loaded when tracking times are adjusted 2015-08-14 22:05:47 +02:00
Axel Uhl 5af4fd1db4 removed net.sf.marineapi and all NMEA functionality 2015-08-05 15:59:11 +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 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