Changeset 18 for src/test/java
- Timestamp:
- 09/22/20 08:52:39 (4 years ago)
- Location:
- src/test/java/geniusweb/partiesserver
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
src/test/java/geniusweb/partiesserver/AvailablePartiesUpdaterTest.java
r17 r18 31 31 32 32 public class AvailablePartiesUpdaterTest { 33 private static final String RANDOMPARTY = "target/jars/randomparty-1. 4.4.jar";33 private static final String RANDOMPARTY = "target/jars/randomparty-1.5.0.jar"; 34 34 private static final int TESTRATE = 200; // check file changes every 200ms 35 35 @SuppressWarnings("unchecked") -
src/test/java/geniusweb/partiesserver/JavaClient.java
r1 r18 12 12 import com.fasterxml.jackson.databind.ObjectMapper; 13 13 14 import geniusweb. party.inform.Inform;14 import geniusweb.inform.Inform; 15 15 16 16 /** -
src/test/java/geniusweb/partiesserver/JavaClientTest.java
r17 r18 25 25 26 26 import geniusweb.actions.PartyId; 27 import geniusweb. party.inform.Settings;28 import geniusweb. party.inform.YourTurn;27 import geniusweb.inform.Settings; 28 import geniusweb.inform.YourTurn; 29 29 import geniusweb.progress.Progress; 30 30 import geniusweb.progress.ProgressRounds; … … 39 39 */ 40 40 public class JavaClientTest { 41 private static final String RANDOMPARTY = "http://localhost:8080/partiesserver/run/randomparty-1. 4.4";41 private static final String RANDOMPARTY = "http://localhost:8080/partiesserver/run/randomparty-1.5.0"; 42 42 // private static final String JSON = "{\"jobs\":[\"jobs1\"]}"; 43 43 // private static final String JOBS1PROFILE = "{\"LinearAdditiveUtilitySpace\":{\"issueUtilities\":{\"lease car\":{\"discreteutils\":{\"valueUtilities\":{\"no\":0,\"yes\":1}}},\"permanent contract\":{\"discreteutils\":{\"valueUtilities\":{\"no\":0,\"yes\":1}}},\"career development opportunities\":{\"discreteutils\":{\"valueUtilities\":{\"high\":1,\"low\":0,\"medium\":0.5}}},\"fte\":{\"discreteutils\":{\"valueUtilities\":{\"1.0\":0.75,\"0.6\":0.25,\"0.8\":0.5}}},\"salary\":{\"discreteutils\":{\"valueUtilities\":{\"4000\":1.0,\"2500\":0.25,\"3500\":0.75,\"2000\":0,\"3000\":0.3}}},\"work from home\":{\"discreteutils\":{\"valueUtilities\":{\"1\":0.5,\"2\":0.666666666666,\"0\":0.333333333}}}},\"issueWeights\":{\"lease car\":0.06,\"permanent contract\":0.16,\"career development opportunities\":0.04,\"fte\":0.32,\"salary\":0.24,\"work from home\":0.18},\"domain\":{\"name\":\"jobs\",\"issuesValues\":{\"lease car\":{\"values\":[\"yes\",\"no\"]},\"permanent contract\":{\"values\":[\"yes\",\"no\"]},\"career development opportunities\":{\"values\":[\"low\",\"medium\",\"high\"]},\"fte\":{\"values\":[\"0.6\",\"0.8\",\"1.0\"]},\"salary\":{\"values\":[\"2000\",\"2500\",\"3000\",\"3500\",\"4000\"]},\"work from home\":{\"values\":[\"0\",\"1\",\"2\"]}}},\"name\":\"jobs1\"}}"; -
src/test/java/geniusweb/partiesserver/repository/AvailablePartyTest.java
r1 r18 6 6 import org.junit.Before; 7 7 8 import geniusweb.inform.Inform; 8 9 import geniusweb.party.Capabilities; 9 10 import geniusweb.party.DefaultParty; 10 import geniusweb.party.inform.Inform;11 11 import tudelft.utilities.junit.GeneralTests; 12 12 -
src/test/java/geniusweb/partiesserver/repository/RunningPartyTest.java
r8 r18 17 17 18 18 import geniusweb.actions.PartyId; 19 import geniusweb.inform.Inform; 19 20 import geniusweb.partiesserver.websocket.PartySocket; 20 21 import geniusweb.party.Capabilities; 21 22 import geniusweb.party.DefaultParty; 22 23 import geniusweb.party.Party; 23 import geniusweb.party.inform.Inform;24 24 import tudelft.utilities.junit.GeneralTests; 25 25 -
src/test/java/geniusweb/partiesserver/websocket/PartySocketTest.java
r8 r18 24 24 import geniusweb.actions.PartyId; 25 25 import geniusweb.connection.ConnectionEnd; 26 import geniusweb.inform.Inform; 27 import geniusweb.inform.YourTurn; 26 28 import geniusweb.partiesserver.repository.RunningPartiesRepo; 27 29 import geniusweb.partiesserver.repository.RunningParty; 28 30 import geniusweb.party.Party; 29 import geniusweb.party.inform.Inform;30 import geniusweb.party.inform.YourTurn;31 31 import tudelft.utilities.logging.Reporter; 32 32
Note:
See TracChangeset
for help on using the changeset viewer.