Ignore:
Timestamp:
10/06/20 13:12:20 (4 years ago)
Author:
bart
Message:

Fixes an issue with processing maxPower of a vote. Javadoc maven plugin now uses latest version.

Location:
exampleparties/humangui/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • exampleparties/humangui/src/main/java/geniusweb/exampleparties/humangui/BiddingInfo.java

    r21 r24  
    3232 * <li>{@link Bid} if user changed his prepared bid (but did not yet offer it)
    3333 * <li>{@link Profile} if the profile was changed
    34  * <li>{@Link Boolean} if the isMyTurn value changed.
     34 * <li>{@link Boolean} if the isMyTurn value changed.
    3535 * </ul>
    3636 */
     
    5757         * @param reporter   the {@link Reporter} where we can log issues.
    5858         * @param profileint the {@link ProfileInterface}
    59          * @throws Exception if we can not reach the protocol server
     59         * @throws IOException         if we can not reach the protocol server
     60         * @throws DeploymentException if we can not reach the protocol server
    6061         */
    6162        public BiddingInfo(Settings settings,
     
    9798         *
    9899         * @param action the action to execute.
    99          * @throws IOException           if action can not be sent.
    100          * @throws IllegalStateException if isMyTurn is false.
    101100         */
    102101        public void doAction(Action action) {
  • exampleparties/humangui/src/test/java/geniusweb/exampleparties/humangui/HumanGuiTest.java

    r21 r24  
    66import static org.junit.Assert.assertTrue;
    77import static org.mockito.Mockito.mock;
     8import static org.mockito.Mockito.when;
    89
    910import java.io.IOException;
     
    2829import geniusweb.bidspace.AllBidsList;
    2930import geniusweb.inform.ActionDone;
     31import geniusweb.inform.Agreements;
    3032import geniusweb.inform.Finished;
    3133import geniusweb.inform.Settings;
     
    7678        @After
    7779        public void after() {
    78                 party.notifyChange(new Finished(null));
     80                Agreements agreements = mock(Agreements.class);
     81                when(agreements.toString()).thenReturn("agree");
     82                party.notifyChange(new Finished(agreements));
    7983        }
    8084
Note: See TracChangeset for help on using the changeset viewer.