Changeset 22 for party/src


Ignore:
Timestamp:
09/22/20 16:26:36 (4 years ago)
Author:
bart
Message:

Minor fixes

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  
    7676        }
    7777
     78        @SuppressWarnings("unused")
    7879        @Test
    7980        public void nullTest() throws URISyntaxException {
  • party/src/test/java/geniusweb/party/inform/OptInTest.java

    r21 r22  
    3030        private PartyId partyB = new PartyId("partyB");
    3131
    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);
    3535
    3636        private Votes votesA = new Votes(partyA, Arrays.asList(voteA1));
     
    4141        private final OptIn optIn2 = new OptIn(Arrays.asList(votesA));
    4242
    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}}]}}]}}";
    4444
    4545        @Override
Note: See TracChangeset for help on using the changeset viewer.