Merge branch 'master' into polar-api

Conflicts:
	java/com.sap.sailing.gwt.ui/SailingGWT.launch
	java/com.sap.sailing.server/SailingServer (No Proxy).launch
	java/com.sap.sailing.server/SailingServer (No Proxy, Remote Debug SAP VM).launch
	java/com.sap.sailing.server/SailingServer (No Proxy, winddbTest).launch
	java/com.sap.sailing.server/SailingServer (Proxy).launch
	java/com.sap.sailing.server/SailingServer (Proxy, Remote Debug SAP VM).launch
	java/com.sap.sailing.server/SailingServer (Proxy, winddbTest).launch
	java/com.sap.sailing.targetplatform/definitions/race-analysis-p2-ide-local.target
This commit is contained in:
Frederik Petersen committed 2014-11-05 12:06:54 +01:00
commit db968e5937
558 files changed
+15713 -2957

No files matched your search

@@ -230,14 +230,21 @@ public class StoreAndLoadRaceLogEventsTest extends AbstractMongoDBTest {
@Test
public void testStoreAndLoadRevokeEvent() {
UUID revokedEventId = UUID.randomUUID();
String revokedEventType = "type";
String revokedEventShortInfo = "short info";
String reason = "reason";
RevokeEvent expectedEvent = eventFactory.createRevokeEvent(
expectedEventTime, author, expectedEventTime, expectedId, expectedPassId, revokedEventId);
expectedEventTime, author, expectedEventTime, expectedId, expectedPassId, revokedEventId,
revokedEventType, revokedEventShortInfo, reason);
DBObject dbObject = mongoFactory.storeRaceLogEntry(logIdentifier, expectedEvent);
RevokeEvent actualEvent = loadEvent(dbObject);
assertBaseFields(expectedEvent, actualEvent);
assertEquals(revokedEventId, actualEvent.getRevokedEventId());
assertEquals(revokedEventType, actualEvent.getRevokedEventType());
assertEquals(revokedEventShortInfo, actualEvent.getRevokedEventShortInfo());
assertEquals(reason, actualEvent.getReason());
}
@Test
@@ -45,11 +45,11 @@ import com.sap.sse.common.Util;
public class StoreGPSFixTrackTest extends AbstractMongoDBTest {
public StoreGPSFixTrackTest() throws UnknownHostException, MongoException {
super();
}
super();
}
@After
public void dropCollection() {
public void dropCollection() {
DB db = getMongoService().getDB();
db.getCollection(CollectionNames.GPS_FIXES.name()).drop();
}