Changeset 22 for party/src/test/java/geniusweb
- Timestamp:
- 09/22/20 16:26:36 (4 years ago)
- Location:
- party/src/test/java/geniusweb/party/inform
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
party/src/test/java/geniusweb/party/inform/ActionDoneTest.java
r21 r22 76 76 } 77 77 78 @SuppressWarnings("unused") 78 79 @Test 79 80 public void nullTest() throws URISyntaxException { -
party/src/test/java/geniusweb/party/inform/OptInTest.java
r21 r22 30 30 private PartyId partyB = new PartyId("partyB"); 31 31 32 private final Vote voteA1 = new Vote(partyA, bid1, 2 );33 private final Vote voteB1 = new Vote(partyB, bid1, 2 );34 private final Vote voteB2 = new Vote(partyB, bid2, 2 );32 private final Vote voteA1 = new Vote(partyA, bid1, 2, 9); 33 private final Vote voteB1 = new Vote(partyB, bid1, 2, 9); 34 private final Vote voteB2 = new Vote(partyB, bid2, 2, 9); 35 35 36 36 private Votes votesA = new Votes(partyA, Arrays.asList(voteA1)); … … 41 41 private final OptIn optIn2 = new OptIn(Arrays.asList(votesA)); 42 42 43 private String asJson = "{\"OptIn\":{\"votes\":[{\"Votes\":{\"actor\":\"partyA\",\"votes\":[{\"vote\":{\"actor\":\"partyA\",\"bid\":{\"issuevalues\":{\"iss\":\"val1\"}},\"minPower\":2 }}]}},{\"Votes\":{\"actor\":\"partyB\",\"votes\":[{\"vote\":{\"actor\":\"partyB\",\"bid\":{\"issuevalues\":{\"iss\":\"val1\"}},\"minPower\":2}},{\"vote\":{\"actor\":\"partyB\",\"bid\":{\"issuevalues\":{\"iss\":\"val2\"}},\"minPower\":2}}]}}]}}";43 private String asJson = "{\"OptIn\":{\"votes\":[{\"Votes\":{\"actor\":\"partyA\",\"votes\":[{\"vote\":{\"actor\":\"partyA\",\"bid\":{\"issuevalues\":{\"iss\":\"val1\"}},\"minPower\":2,\"maxPower\":9}}]}},{\"Votes\":{\"actor\":\"partyB\",\"votes\":[{\"vote\":{\"actor\":\"partyB\",\"bid\":{\"issuevalues\":{\"iss\":\"val1\"}},\"minPower\":2,\"maxPower\":9}},{\"vote\":{\"actor\":\"partyB\",\"bid\":{\"issuevalues\":{\"iss\":\"val2\"}},\"minPower\":2,\"maxPower\":9}}]}}]}}"; 44 44 45 45 @Override
Note:
See TracChangeset
for help on using the changeset viewer.