mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-08 21:30:57 +00:00
Revert "added racelog editing to AdminConsole"
This reverts commit 7d00664ae6.
Conflicts:
java/com.sap.sailing.domain.shared.android/src/com/sap/sailing/domain/racelog/RaceLog.java
java/com.sap.sailing.domain.shared.android/src/com/sap/sailing/domain/racelog/impl/NoAddingRaceLogWrapper.java
java/com.sap.sailing.domain.shared.android/src/com/sap/sailing/domain/racelog/impl/RaceLogImpl.java
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/server/SailingServiceImpl.java
This commit is contained in:
1 parent
ab94e53fc7
commit
7132a31d34
24 files changed
+4359
-4705
No files matched your search
-12
@@ -79,8 +79,6 @@ public class RaceLogEventComparatorTest {
|
||||
when(eventTwo.getPassId()).thenReturn(0);
|
||||
when(eventTwo.getAuthor()).thenReturn(author);
|
||||
when(eventTwo.getCreatedAt()).thenReturn(new MillisecondsTimePoint(2));
|
||||
when(eventOne.getId()).thenReturn("a");
|
||||
when(eventTwo.getId()).thenReturn("b");
|
||||
|
||||
int result = comparator.compare(eventOne, eventTwo);
|
||||
assertTrue(result < 0);
|
||||
@@ -94,8 +92,6 @@ public class RaceLogEventComparatorTest {
|
||||
when(eventTwo.getPassId()).thenReturn(0);
|
||||
when(eventTwo.getAuthor()).thenReturn(author);
|
||||
when(eventTwo.getCreatedAt()).thenReturn(new MillisecondsTimePoint(1));
|
||||
when(eventOne.getId()).thenReturn("a");
|
||||
when(eventTwo.getId()).thenReturn("b");
|
||||
|
||||
int result = comparator.compare(eventOne, eventTwo);
|
||||
assertTrue(result > 0);
|
||||
@@ -112,8 +108,6 @@ public class RaceLogEventComparatorTest {
|
||||
when(eventOne.getAuthor()).thenReturn(minorAuthor);
|
||||
when(eventTwo.getPassId()).thenReturn(0);
|
||||
when(eventTwo.getAuthor()).thenReturn(majorAuthor);
|
||||
when(eventOne.getId()).thenReturn("a");
|
||||
when(eventTwo.getId()).thenReturn("b");
|
||||
|
||||
int result = comparator.compare(eventOne, eventTwo);
|
||||
assertTrue(result < 0);
|
||||
@@ -130,8 +124,6 @@ public class RaceLogEventComparatorTest {
|
||||
when(eventOne.getAuthor()).thenReturn(majorAuthor);
|
||||
when(eventTwo.getPassId()).thenReturn(0);
|
||||
when(eventTwo.getAuthor()).thenReturn(minorAuthor);
|
||||
when(eventOne.getId()).thenReturn("a");
|
||||
when(eventTwo.getId()).thenReturn("b");
|
||||
|
||||
int result = comparator.compare(eventOne, eventTwo);
|
||||
assertTrue(result > 0);
|
||||
@@ -143,8 +135,6 @@ public class RaceLogEventComparatorTest {
|
||||
when(eventOne.getCreatedAt()).thenReturn(new MillisecondsTimePoint(2));
|
||||
when(eventTwo.getPassId()).thenReturn(1);
|
||||
when(eventTwo.getCreatedAt()).thenReturn(new MillisecondsTimePoint(1));
|
||||
when(eventOne.getId()).thenReturn("a");
|
||||
when(eventTwo.getId()).thenReturn("b");
|
||||
|
||||
int result = comparator.compare(eventOne, eventTwo);
|
||||
assertTrue(result < 0);
|
||||
@@ -156,8 +146,6 @@ public class RaceLogEventComparatorTest {
|
||||
when(eventOne.getCreatedAt()).thenReturn(new MillisecondsTimePoint(1));
|
||||
when(eventTwo.getPassId()).thenReturn(0);
|
||||
when(eventTwo.getCreatedAt()).thenReturn(new MillisecondsTimePoint(2));
|
||||
when(eventOne.getId()).thenReturn("a");
|
||||
when(eventTwo.getId()).thenReturn("b");
|
||||
|
||||
int result = comparator.compare(eventOne, eventTwo);
|
||||
assertTrue(result > 0);
|
||||
|
||||
Reference in new issue
Block a user