91c570c24597c692ce992b3476f41978f4aa1ff7
java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/common/test/LeaderboardDTODiffingTest.java
| ... | ... | @@ -50,7 +50,7 @@ import com.sap.sse.util.ClonerImpl; |
| 50 | 50 | * <p> |
| 51 | 51 | * |
| 52 | 52 | * The data of a meaningful and non-trivial {@link LeaderboardDTO} is obtained by using an instrumented version of |
| 53 | - * <code>SailingServiceImpl.getLeaderboardByName(...)</code> which serializes the leaderboard at the end of the method |
|
| 53 | + * <code>SailingServiceImpl.getLeaderBoardByNameInternal(...)</code> which serializes the leaderboard at the end of the method |
|
| 54 | 54 | * to a file used by this test. The leaderboard that this test wants to use is that of the 505 Worlds 2013, obtained for |
| 55 | 55 | * an expanded Race R9 at time 2013-05-03T19:17:09Z after the last competitor tracked has finished the last leg. The |
| 56 | 56 | * total distance traveled in meters has to be expanded for this test to work. |
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/server/SailingServiceImpl.java
| ... | ... | @@ -896,7 +896,7 @@ public class SailingServiceImpl extends ResultCachingProxiedRemoteServiceServlet |
| 896 | 896 | // total distance traveled in meters has to be expanded for the test to work. |
| 897 | 897 | final boolean storeLeaderboardForTesting = false; |
| 898 | 898 | if (storeLeaderboardForTesting) { |
| 899 | - ObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream(new File("C:/data/SAP/sailing/workspace/java/com.sap.sailing.domain.test/resources/IncrementalLeaderboardDTO.ser"))); |
|
| 899 | + ObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream(new File("../com.sap.sailing.domain.test/resources/IncrementalLeaderboardDTO.ser"))); |
|
| 900 | 900 | oos.writeObject(leaderboardDTO); |
| 901 | 901 | oos.close(); |
| 902 | 902 | } |