Changeset 24 for exampleparties/humangui


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
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • exampleparties/humangui/pom.xml

    r23 r24  
    66        <groupId>geniusweb.exampleparties</groupId>
    77        <artifactId>humangui</artifactId>
    8         <version>1.5.2</version> <!-- must equal ${geniusweb.version} -->
     8        <version>1.5.3</version> <!-- must equal ${geniusweb.version} -->
    99        <packaging>jar</packaging>
    1010
     
    1717                <passwd>${env.ARTIFACTORY_PASS}</passwd>
    1818                <jackson-2-version>2.9.6</jackson-2-version>
    19                 <geniusweb.version>1.5.2</geniusweb.version>
     19                <geniusweb.version>1.5.3</geniusweb.version>
    2020        </properties>
    2121
     
    182182                                <groupId>org.apache.maven.plugins</groupId>
    183183                                <artifactId>maven-javadoc-plugin</artifactId>
    184                                 <version>2.10.1</version>
     184                                <version>3.2.0</version>
    185185                                <executions>
    186186                                        <execution>
     
    189189                                                        <goal>jar</goal>
    190190                                                </goals>
    191                                                 <configuration>
    192                                                         <additionalparam>${javadoc.opts}</additionalparam>
    193                                                         <additionalparam>-Xdoclint:none</additionalparam>
    194                                                 </configuration>
    195191                                        </execution>
    196192                                </executions>
  • 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.