Axel Uhl
8aab3a725c
saw the first tails again; yet, several NPEs and ArrayIndexOutOfBounds
2011-11-18 22:50:15 +01:00
Axel Uhl
f6c1cfcf80
compiling and warning-free, yet entirely untested refactoring of RaceMapPanel for improved performance
2011-11-18 21:55:48 +01:00
Axel Uhl
7474f9a4c0
Merge branch 'gwt' into map-opt
2011-11-18 21:17:19 +01:00
Axel Uhl
ceabd0e32f
working towards incremental tail update
2011-11-18 21:11:22 +01:00
Axel Uhl
f955cb5c39
working towards completing the RaceMapPanel refactoring
2011-11-18 17:22:46 +01:00
Axel Uhl
c14322618b
interims commit, working on a major refactoring of RaceMapPanel regarding management of tails
2011-11-18 14:54:29 +01:00
Axel Uhl
a19c19c33b
Merge branch 'gwt' into map-opt
...
Conflicts:
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/RaceMapPanel.java
2011-11-18 12:40:20 +01:00
Axel Uhl
69bc1c2c7c
re-added RaceMapPanel
2011-11-17 16:33:19 +01:00
Axel Uhl
d55f8c53e2
fixed start time issues; first complete SwissTiming race in leaderboard
2011-11-17 16:28:20 +01:00
Axel Uhl
05c4736145
added test assertion regarding RaceTracker's race attribute; decreased magnifier icon size
2011-11-17 15:30:47 +01:00
Axel Uhl
29f93e5193
replaced icons for expand/collapse column details
2011-11-17 15:13:54 +01:00
Axel Uhl
e119e77cdc
moved event/trackedEvent creation before trackRace
2011-11-17 15:07:25 +01:00
Axel Uhl
d1da8a29d6
obviously there are no tracks for Competitor 20 and 35. Exclude those from the assertion
2011-11-17 15:04:14 +01:00
Axel Uhl
fd2b7b43d6
added more assertions, not all of which are currently fulfilled
2011-11-17 15:00:24 +01:00
Axel Uhl
dcd2e829e8
merged test cases for long SwissTiming race log
2011-11-17 14:46:18 +01:00
Axel Uhl
af911e9997
Merge remote-tracking branch 'server/gwt' into gwt
...
Conflicts:
java/com.sap.sailing.domain.swisstimingadapter.test/src/com/sap/sailing/domain/swisstimingadapter/test/EndToEndListeningStoreAndFowardTest.java
2011-11-17 14:44:33 +01:00
Axel Uhl
3b40bc6773
added canSendRequests parameter to SailMasterConnectorImpl and refactored clients accordingly; fixed startTime
2011-11-17 14:42:16 +01:00
Axel Uhl
102c607b65
refactored scripted end-to-end tests
2011-11-16 18:33:51 +01:00
Axel Uhl
d230b9b55c
Merge branch 'gwt' of ssh://localhost:12347/home/trac/git into gwt
2011-11-16 18:09:30 +01:00
Axel Uhl
7949c644aa
refactored SailingServiceImpl such that it doesn't directly use the SwissTimingConnector;
...
instead it turns to the RacingEventService which then knows the SwissTimingConnector
2011-11-16 17:52:26 +01:00
Axel Uhl
4e314c61c7
made Unicode test proxy-/tunnel-capable
2011-11-16 09:37:01 +01:00
Axel Uhl
2b8268622f
prepared extraction of boat class from SwissTiming raceID
2011-11-16 09:07:24 +01:00
Axel Uhl
86924ba1c5
removed more unused code
2011-11-15 23:14:00 +01:00
Axel Uhl
70462dfba9
removed unused code
2011-11-15 23:12:27 +01:00
Axel Uhl
01970ebe78
adjusted the TMD processing so that we can also handle partial updates
2011-11-15 17:12:09 +01:00
Axel Uhl
d93116ab1f
SailMaster example file
2011-11-15 14:36:35 +01:00
Axel Uhl
f7e8cb385c
added comment telling why we're not implementing CAM handling; it's covered already by TMD handling
2011-11-15 13:47:23 +01:00
Axel Uhl
22e340cd93
provided an untested implementation of receiveTimingData for SwissTiming connector
2011-11-15 13:32:16 +01:00
Axel Uhl
b38242f251
more robust exception handling within SailMasterConnectorImpl, catching exceptions caused by handlers
2011-11-15 13:10:06 +01:00
Axel Uhl
f8f1dfbb66
consolidated imports
2011-11-15 12:44:50 +01:00
Axel Uhl
05ff09fa7d
fixed tests by cleaning/dropping DB tables first
2011-11-15 11:38:06 +01:00
Axel Uhl
6fa43efb50
added (untested) support for converting RPD messages into domain objects
2011-11-15 09:48:38 +01:00
Axel Uhl
0c4926c7ae
some untested code for creating the basic domain objects from SwissTiming objects
2011-11-14 22:56:14 +01:00
Axel Uhl
a62f133847
fixed compile errors caused by illegal modifiers for moved constants
2011-11-14 22:39:57 +01:00
Axel Uhl
93ccfe55d6
refactored: moved functionality for TrackedRace creation including constants for default averaging times
2011-11-14 22:37:06 +01:00
Axel Uhl
e4ad871221
removed no longer necessary comment
2011-11-14 22:01:12 +01:00
Axel Uhl
00b2749202
refactored to get rid of the "token" approach for updating / retrieving RaceDefinitions from tracker
2011-11-14 21:55:31 +01:00
Axel Uhl
66aa964c80
use Race instead of raceID as construction argument for SwissTimingRaceTrackerImpl; formatting changes
...
Conflicts:
java/com.sap.sailing.domain.swisstimingadapter.persistence/src/com/sap/sailing/domain/swisstimingadapter/persistence/impl/SwissTimingAdapterPersistenceImpl.java
java/com.sap.sailing.domain.swisstimingadapter.test/src/com/sap/sailing/domain/swisstimingadapter/test/ScriptedStoreAndForwardTest.java
2011-11-14 20:58:45 +01:00
Axel Uhl
16d6035991
Merge branch 'gwt' into gwt-new
2011-11-14 20:54:47 +01:00
Axel Uhl
f38dc8ec64
use Race instead of raceID as construction argument for SwissTimingRaceTrackerImpl; formatting changes
2011-11-14 20:49:30 +01:00
Axel Uhl
254ea668fd
Merge branch 'gwt' of ssh://localhost:12347/home/trac/git into gwt
2011-11-14 18:24:26 +01:00
Axel Uhl
692b2fd458
added first domain object creation methods in SwissTiming domain factory
2011-11-14 18:23:44 +01:00
Axel Uhl
a36cc30870
added another StoreAndForward test variant
2011-11-14 17:18:18 +01:00
Axel Uhl
127c95a252
started to introduce TrackedEventRegistry in SwissTiming stuff
2011-11-14 17:17:20 +01:00
Axel Uhl
ef4547357f
Moved top-level cache for TrackedEvent from TracTrac-specific DomainFactory to RacingEventService;
...
introduced a TrackedEventRegistry interface in com.sap.sailing.domain that is now extended by
RacingEventService as well as a dummy implementation for use by tests
2011-11-14 17:00:17 +01:00
Axel Uhl
90467c05db
trying to fix NPE in SailMasterConnectorImpl
2011-11-14 16:53:25 +01:00
Axel Uhl
dfcadb6040
Merge branch 'gwt' into gwt-new
2011-11-14 16:44:41 +01:00
Axel Uhl
f31bab0ba2
added missing org.junit4 dependency
2011-11-14 16:44:07 +01:00
Axel Uhl
34b3d6bb7a
reformatting
2011-11-14 16:43:13 +01:00
Axel Uhl
ba82aee809
reformatting
2011-11-14 15:58:06 +01:00
Axel Uhl
f970ea0e39
Merge remote-tracking branch 'server/gwt' into gwt
2011-11-14 15:10:16 +01:00
Axel Uhl
8839f9d5d6
distinguish a listening and a connecting StoreAndForward test
2011-11-14 15:01:38 +01:00
Axel Uhl
da39f7f1d6
improved Javadoc
2011-11-14 10:35:07 +01:00
Axel Uhl
98e43267f0
allow StoreAndForward to operate in one of two modes (active/passive connection management)
2011-11-14 10:31:49 +01:00
Axel Uhl
04f1ae19df
fixed SwissTiming tests
2011-11-14 09:14:27 +01:00
Axel Uhl
6430364b1e
compilable version where SwissTiming connector tests currently don't work
2011-11-14 08:59:49 +01:00
Axel Uhl
694cdaab5b
implement race-specific listener concept
2011-11-14 08:35:00 +01:00
Axel Uhl
5ed401251c
minor mostly comment changes
2011-11-12 23:35:32 +01:00
Axel Uhl
c209501ae2
continued a bit in SwissTimingRaceTrackerImpl
2011-11-11 18:43:40 +01:00
Axel Uhl
27e091bcd0
started SwissTiming RaceTracerImpl
2011-11-11 18:17:42 +01:00
Axel Uhl
4d6b68fcd9
fixed swiss timing tests
2011-11-11 18:14:09 +01:00
Axel Uhl
d533f64168
pulled up getRaces() to RaceSpecificMessageLoader
2011-11-11 11:45:52 +01:00
Axel Uhl
8919e65636
added code formatter
2011-11-11 11:43:37 +01:00
Axel Uhl
429cd1022d
fixed uncompilable typo
2011-11-10 21:47:55 +01:00
Axel Uhl
f6b7df0cc8
turned message-based logging to "fine" except for discarded messages
2011-11-10 21:32:05 +01:00
Axel Uhl
b9e1bdee4b
removed no longer required System.out test output
2011-11-10 21:22:00 +01:00
Axel Uhl
5cd72477e4
append more message without buffering
2011-11-10 21:20:12 +01:00
Axel Uhl
4830daa0c5
adjusted new test case after merging change in RaceSpecificMessageLoader interface
2011-11-10 21:09:27 +01:00
Axel Uhl
159458e157
Merge remote-tracking branch 'server/gwt' into gwt
...
Conflicts:
java/com.sap.sailing.domain.swisstimingadapter.test/src/com/sap/sailing/domain/swisstimingadapter/test/StoreAndForwardTest.java
2011-11-10 21:08:44 +01:00
Axel Uhl
95f79a5024
overlapping stored/received message test case now green
2011-11-10 21:06:17 +01:00
Axel Uhl
cf7d8e0364
moved test case for overlapping message send/load cycles into separate class;
...
this class doesn't use StoreAndForward to keep things separate for now
2011-11-10 20:51:22 +01:00
Axel Uhl
72123b0085
test currently fails; planning to restructure into separate test class
2011-11-10 20:29:27 +01:00
Axel Uhl
b4f3dc3957
fixed parsing routine for RAC message where ID and description were accidentally swapped
2011-11-10 17:34:23 +01:00
Axel Uhl
528e76315d
testBuffering test green for now
2011-11-10 16:15:27 +01:00
Axel Uhl
8537a5ff9d
Merge remote-tracking branch 'server/gwt-2' into gwt
...
Conflicts:
java/com.sap.sailing.domain.swisstimingadapter.persistence/src/com/sap/sailing/domain/swisstimingadapter/persistence/DomainObjectFactory.java
java/com.sap.sailing.domain.swisstimingadapter.persistence/src/com/sap/sailing/domain/swisstimingadapter/persistence/impl/DomainObjectFactoryImpl.java
java/com.sap.sailing.domain.swisstimingadapter/src/com/sap/sailing/domain/swisstimingadapter/SwissTimingFactory.java
java/com.sap.sailing.domain.swisstimingadapter/src/com/sap/sailing/domain/swisstimingadapter/impl/SwissTimingFactoryImpl.java
2011-11-10 14:16:38 +01:00
Axel Uhl
a5ee6d0a2f
first seemingly working test case showing the general mixing of messages loaded / received
2011-11-10 13:04:36 +01:00
Axel Uhl
0231120601
implemented (untested) buffering behavior for SailMasterConnectorImpl
2011-11-10 11:49:17 +01:00
Axel Uhl
89367614ae
let SwissTiming DomainObjectFactory implement the RaceSpecificMessageLoader interface
2011-11-10 10:58:48 +01:00
Axel Uhl
30694a0c4b
Merge branch 'gwt' into gwt-new
2011-11-10 10:50:46 +01:00
Axel Uhl
f71eff5f72
Merge remote-tracking branch 'server/gwt-new' into gwt-new
2011-11-10 10:50:01 +01:00
Axel Uhl
63a3eecfd9
added loadMessages operation on RaceSpecificMessageLoader
2011-11-10 10:48:43 +01:00
Axel Uhl
460628cc79
fixed test after it's required to explicitly track the races we're interested in
2011-11-09 18:22:18 +01:00
Axel Uhl
183fe7f269
trying to fix synchronization of StoreAndForward server sockets
2011-11-09 18:14:06 +01:00
Axel Uhl
8e602e6430
wait longer
2011-11-09 18:14:04 +01:00
Axel Uhl
f24b14d592
delay test case to wait for server socket to accept connects
2011-11-09 18:14:03 +01:00
Axel Uhl
c6a0121cdb
use 127.0.0.1 instead of localhost in tests
2011-11-09 18:14:01 +01:00
Axel Uhl
ebdc496dd1
added logging for StoreAndForward to understand why tests fail on server
2011-11-09 18:14:00 +01:00
Axel Uhl
c64856e5d3
made SwissTiming message types aware of whether they are race specific
2011-11-09 18:13:58 +01:00
Axel Uhl
b517b61ea3
fixed bug in SailMasterConnectorImpl introduced by changing the handling of _STOPSERVER
2011-11-09 18:13:56 +01:00
Axel Uhl
6589894f16
renamed TracTrac-specific stuff accordingly
2011-11-09 18:13:55 +01:00
Axel Uhl
c5a00609f0
trying to fix synchronization of StoreAndForward server sockets
2011-11-09 18:02:56 +01:00
Axel Uhl
56bebcc1c1
wait longer
2011-11-09 16:49:09 +01:00
Axel Uhl
8b777adb62
delay test case to wait for server socket to accept connects
2011-11-09 16:44:47 +01:00
Axel Uhl
53bbad51b0
use 127.0.0.1 instead of localhost in tests
2011-11-09 16:39:18 +01:00
Axel Uhl
fd714776eb
added logging for StoreAndForward to understand why tests fail on server
2011-11-09 16:28:38 +01:00
Axel Uhl
e75642eafe
made SwissTiming message types aware of whether they are race specific
2011-11-09 16:20:35 +01:00
Axel Uhl
8527092ea1
fixed bug in SailMasterConnectorImpl introduced by changing the handling of _STOPSERVER
2011-11-09 15:41:50 +01:00
Axel Uhl
4934534d80
renamed TracTrac-specific stuff accordingly
2011-11-09 15:34:08 +01:00
Axel Uhl
1669cfc6e3
Merge remote-tracking branch 'server/gwt' into gwt
...
Conflicts:
java/com.sap.sailing.domain.swisstimingadapter.test/META-INF/MANIFEST.MF
2011-11-09 13:54:17 +01:00
Axel Uhl
f2a93777ac
first StoreAndForward test that tests whether a raw message was successfully written to the DB
2011-11-09 13:44:42 +01:00