Changeset 24 for exampleparties/humangui
- Timestamp:
- 10/06/20 13:12:20 (4 years ago)
- Location:
- exampleparties/humangui
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
exampleparties/humangui/pom.xml
r23 r24 6 6 <groupId>geniusweb.exampleparties</groupId> 7 7 <artifactId>humangui</artifactId> 8 <version>1.5. 2</version> <!-- must equal ${geniusweb.version} -->8 <version>1.5.3</version> <!-- must equal ${geniusweb.version} --> 9 9 <packaging>jar</packaging> 10 10 … … 17 17 <passwd>${env.ARTIFACTORY_PASS}</passwd> 18 18 <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> 20 20 </properties> 21 21 … … 182 182 <groupId>org.apache.maven.plugins</groupId> 183 183 <artifactId>maven-javadoc-plugin</artifactId> 184 <version> 2.10.1</version>184 <version>3.2.0</version> 185 185 <executions> 186 186 <execution> … … 189 189 <goal>jar</goal> 190 190 </goals> 191 <configuration>192 <additionalparam>${javadoc.opts}</additionalparam>193 <additionalparam>-Xdoclint:none</additionalparam>194 </configuration>195 191 </execution> 196 192 </executions> -
exampleparties/humangui/src/main/java/geniusweb/exampleparties/humangui/BiddingInfo.java
r21 r24 32 32 * <li>{@link Bid} if user changed his prepared bid (but did not yet offer it) 33 33 * <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. 35 35 * </ul> 36 36 */ … … 57 57 * @param reporter the {@link Reporter} where we can log issues. 58 58 * @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 60 61 */ 61 62 public BiddingInfo(Settings settings, … … 97 98 * 98 99 * @param action the action to execute. 99 * @throws IOException if action can not be sent.100 * @throws IllegalStateException if isMyTurn is false.101 100 */ 102 101 public void doAction(Action action) { -
exampleparties/humangui/src/test/java/geniusweb/exampleparties/humangui/HumanGuiTest.java
r21 r24 6 6 import static org.junit.Assert.assertTrue; 7 7 import static org.mockito.Mockito.mock; 8 import static org.mockito.Mockito.when; 8 9 9 10 import java.io.IOException; … … 28 29 import geniusweb.bidspace.AllBidsList; 29 30 import geniusweb.inform.ActionDone; 31 import geniusweb.inform.Agreements; 30 32 import geniusweb.inform.Finished; 31 33 import geniusweb.inform.Settings; … … 76 78 @After 77 79 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)); 79 83 } 80 84
Note:
See TracChangeset
for help on using the changeset viewer.