Commit Graph
1674 Commits
Author SHA1 Message Date
Axel Uhl b5e39cabb4 removed old mark passing test stuff that Martin Hanysz once started with; it got obsoleted by Nick's work
Change-Id: I8f679a1c39ab1986a6b6e41dc6a65a7bdb5bb912
2016-02-15 23:09:05 +01:00
Axel Uhl a87cbdc8f0 fixing TracTrac test cases; no more port 1520/1521, and using new method to construct paramURL if nothing else is known (no more clientparams.php)
Change-Id: I453c6247d0b142215bd4039885e9898a0da8bfbb
2016-02-15 23:04:28 +01:00
Axel Uhl e3f8f87c7d fixed ParseTracTracJSONServiceOutputTest.testWeymouthURIsOnline by being more tolerant with HIDDEN races
Change-Id: Ie82b496cc56a87767f4f047e0e0af9631b64a731
2016-02-15 21:49:56 +01:00
Axel Uhl 1bc29a9ec0 bug 3452: introducing an applyFilter parameter on DynamicTrackedRace.recordWind, forcing RaceLog-provided wind fixes into the race
Change-Id: Ie96ac8537650adb46285ebcc18a91dc70a6f7582
2016-02-02 21:14:43 +01:00
Axel Uhl dccac572f8 don't add regatta log-provided competitors if no race exists; only collect competitors from race columns
Change-Id: Icd2843aba1d374cb3ac55b3575ec22e734ab9ec0
2016-01-30 21:11:44 +01:00
Axel Uhl d50e1a73fd added logic and test case for bug 3448: invalidate competitor cache and compute competitors from reagtta log if no race columns exist yet
Change-Id: Ica3d9fe0e032cce30389a55f2d1d4ad0fc7cd9bf
2016-01-30 17:19:41 +01:00
Axel Uhl c6ca28750d removed method from DynamicTrackedRace contract that was only used by Impl class
Change-Id: I29b462c77de1b13932c31a39e43449b82d651d5c
2016-01-22 16:24:47 +01:00
Axel Uhl a522f7450e added more tests for mark passing updates from race logs
Change-Id: I5f1631678bef2ecf7b5a1e8dbc059705e562e9d9
2016-01-22 16:20:46 +01:00
Axel Uhl f57aed7de6 Merge branch 'master' into bug3420
Conflicts:
	java/com.sap.sailing.domain.persistence/src/com/sap/sailing/domain/persistence/impl/FieldNames.java
	java/com.sap.sailing.domain.persistence/src/com/sap/sailing/domain/persistence/impl/MongoObjectFactoryImpl.java

Change-Id: I7347ab0c849aa43f08eebca569c884b6986bf6d0
2016-01-22 15:39:16 +01:00
Axel Uhl 35af1394c6 Got the first tests for mark passing update from race log changes running
Change-Id: I857191e67ae8e408670832d02f1e1caab42d10a9
2016-01-22 15:15:03 +01:00
Axel Uhl 76f1b88bcd added a test case for the fix provided by 06fd44ffcda12a5d4ce1e0334228db364acde005;
this was about invalidation of the competitor cache when a race log changes its mind regarding whether it is
responsible for providing the race's competitors or not

Change-Id: Ibb2b057005d2b1b8f056ac8263faa541c0701e41
2016-01-14 11:29:25 +01:00
Axel Uhl e6fef6c04f Merge branch 'master' into bug2851
Conflicts:
	java/com.sap.sailing.domain/src/com/sap/sailing/domain/leaderboard/impl/FlexibleLeaderboardImpl.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/SailingService.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/SailingServiceAsync.java

Change-Id: Ifd8c60c6f7d2d2274a68681607a1b5df7b4040b7
2016-01-13 09:39:02 +01:00
Axel Uhl 9fc5373015 to make QuadTree test measurements comparable, reduce max tree node size from 100 to 30 again 2015-12-24 16:53:40 +01:00
Axel Uhl 80bf2e6220 using a multi-pass approach with small arrays turns out to be much faster than java.util sort mechanisms with Comparators
Change-Id: I38083366b449903fef57fff42ef3c270cddb2942
2015-12-24 12:58:40 +01:00
Axel Uhl 759dc0ada9 fixed subnode traversal check; left code for pre-sorting children commented in Node; to decide soon what works better; still some warnings
Change-Id: Ief71343a4dd1387ceea27fdbafbeae144085942f
2015-12-24 12:21:57 +01:00
Axel Uhl 8bd932c9c2 fixed node distance calculation to point outside node; fixes failing tests; added specific test case for Node.getDistance 2015-12-24 03:11:14 +01:00
Axel Uhl fd25c870d9 all tests working again; performance still 15% worse for getNearest than for old implementation, but we may have to live with that for now
Change-Id: I2af5b35ed17928a5fd2ea60d8ba8191321313d97
2015-12-23 18:29:08 +01:00
Axel Uhl b703335ed6 trying to accelerate the nearest node lookup in QuadTree Node by pre-sorting children, but it actually got slower by that
Change-Id: I1dd09586d52451b1e1e7cb9872188da36667a84f
2015-12-23 17:25:44 +01:00
Axel Uhl e51a1d7ccc added a failing test case for cross dateline operations of QuadTree.getLatLngDistance
Change-Id: I32c997568fafeeaad1e29a1756d3793911025215
2015-12-23 15:41:17 +01:00
Axel Uhl 2350f62344 reduced QuadTree contract as far as possible
Change-Id: I06c64d0a0f4ef13db50d3cb3098605871f8ae457
2015-12-23 13:34:08 +01:00
Axel Uhl 80a14625b3 Merge branch 'master' into bug3405 2015-12-23 13:21:56 +01:00
Axel Uhl b25e059931 added PositionTest test case
Change-Id: I2cf1443b759908436fa21102efd5656ca5892e0d
2015-12-23 13:21:45 +01:00
Axel Uhl 62860fda82 added failing test case for across-dateline quad tree
Change-Id: I9dfe342999504aea8f15c35d300730fce0e410ae
2015-12-23 13:21:34 +01:00
Axel Uhl 6b222accb9 Switched QuadTree to general Bounds implementation; added performnace measurements; improved Javadoc of Measurement micro-framework
Change-Id: I78921b61df5403ac6339ad24ecfc0483ddfb3381
2015-12-23 13:10:08 +01:00
Axel Uhl 2ce77965ee added comments on Measurement micro-framework; started to adjust QuadTreeTest
Change-Id: I7ed24c2bdf340aeff053161f3b1b737886f60e18
2015-12-23 11:16:52 +01:00
Axel Uhl ebe431f5e8 wired the RaceCompetitorSet stuff to RaceMap; need to test if this works as expected
Change-Id: I3306f62454881c366a7a64bd03bebf8d83ff52f9
2015-12-21 18:27:57 +01:00
Axel Uhl e0809a21dc use synchronization to exclude the possibility of the Java Memory Model causing trouble in SmartFutureCacheTest with concurrency
Change-Id: Ibbb726f3c32ddf748bab05300a32b7ed165940f3
2015-12-21 16:24:12 +01:00
Jan Broß c39d8a9357 Remove wait for RaceLog from TrackedRace 2015-12-11 14:59:44 +01:00
Axel Uhl 625d0baf92 re-generated serialized form of a test object of type IncrementalLeaderboardDTO after splitting up RaceDTO into BasicRaceDTO and RaceDTO 2015-12-06 00:53:24 +01:00
Jan Broß cd5274f654 Merge remote-tracking branch 'origin/master' into bug2851 2015-12-05 10:44:00 +01:00
Jan Broß 96c6a19847 Disable/Enable competitor registrations on RaceColumn 2015-11-28 19:59:11 +01:00
Jan Broß 2f75c64c45 Provide competitor registration and deregistration methods on RaeColumn and HasRegattaLike 2015-11-28 19:17:37 +01:00
Jan Broß e753390b0f Fix test case, behavior is different from what was tested 2015-11-28 18:33:33 +01:00
Jan Broß ffe0a94c60 Register competitors on RaceColumn/HasRegattaLike 2015-11-28 15:30:39 +01:00
Jan Broß 26cf9fb84e Add the ability to fetch competitors registered on Regatta to HasRegattaLike 2015-11-28 13:26:25 +01:00
Alexander Ries 567070c77f solved master merge conflicts in DomainFactory 2015-11-25 11:20:46 +01:00
Jan Broß 07d999cc9e Merge master into bug2851 2015-11-18 18:20:10 +01:00
Axel Uhl 7b90ef1c40 fixed WaypointPositionAndDistanceCacheTest.testNewMarkPositionNotAffectingEntry after the definition of "affecting" changed 2015-11-18 09:08:13 +01:00
Axel Uhl cf5c193ec5 made test case for bug 3364 succeed for correct implementation; extended interval of fixes whose position estimation is affected:
so far, the getEstimatedPositionTimePeriodAffectedBy method on GPSFixTrackImpl returned only the singular interval shaped by the
fix just added; this seems non-sensical given that when such a fix is inserted, the adjacent fixes before and after and everything
in between will have their position estimation affected as well.
2015-11-17 21:23:56 +01:00
Axel Uhl 78ff64b7b9 fixed the test case so that it really fails again for the pre-fix state 2015-11-17 18:34:50 +01:00
Axel Uhl 0af2af5979 provided a fix, also for the test case, for bug 3364: use iterator to remove cache elements to avoid CME 2015-11-17 18:27:16 +01:00
Axel Uhl d6e25bb867 added a failing test case for bug 3364: cause multiple cache entries, force CME, then assert that cache result needed to be recomputed (which currently it isn't) 2015-11-17 18:17:26 +01:00
fmittag 2abbc78053 Merge remote-tracking branch 'origin/master' into bug2822_boatcolors 2015-11-09 13:59:30 +01:00
Lukas Furmanek e3cdc1ae08 Bug3199: corrections at variable definitions 2015-11-09 13:19:28 +01:00
Lukas Furmanek 5305179dde Merge branch 'tmp' into bug3199 2015-11-08 16:14:44 +01:00
Lukas Furmanek d1e455a573 Bug3199: renamed objekt into object & JavaDoc 2015-11-08 15:05:54 +01:00
Axel Uhl da80201a3e Merge branch 'master' into bug3199 2015-11-05 16:47:07 +01:00
Lukas Furmanek 731b97d054 Bug3199: Generic changes and unitTest 2015-11-05 14:33:28 +01:00
Jan Broß f36c072247 Merge branch master in bug2851 2015-11-04 13:36:29 +01:00
Fredrik Teschke 817bb285c7 more housekeeping on RaceLog*Events 2015-11-02 23:09:42 +01:00