Changeset 24 for exampleparties/randomparty
- Timestamp:
- 10/06/20 13:12:20 (4 years ago)
- Location:
- exampleparties/randomparty
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
exampleparties/randomparty/pom.xml
r23 r24 6 6 <groupId>geniusweb.exampleparties</groupId> 7 7 <artifactId>randomparty</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 … … 187 187 <groupId>org.apache.maven.plugins</groupId> 188 188 <artifactId>maven-javadoc-plugin</artifactId> 189 <version> 2.10.1</version>189 <version>3.2.0</version> 190 190 <executions> 191 191 <execution> … … 194 194 <goal>jar</goal> 195 195 </goals> 196 <configuration>197 <additionalparam>${javadoc.opts}</additionalparam>198 <additionalparam>-Xdoclint:none</additionalparam>199 </configuration>200 196 </execution> 201 197 </executions> -
exampleparties/randomparty/src/main/java/geniusweb/exampleparties/randomparty/RandomParty.java
r22 r24 40 40 * with sufficient utility. 41 41 * <h2>parameters</h2> 42 * <table> 42 * <table > 43 * <caption>parameters</caption> 43 44 * <tr> 44 45 * <td>minPower</td> -
exampleparties/randomparty/src/test/java/geniusweb/exampleparties/randomparty/RandomPartyTest.java
r21 r24 8 8 import static org.mockito.Mockito.mock; 9 9 import static org.mockito.Mockito.verify; 10 import static org.mockito.Mockito.when; 10 11 11 12 import java.io.IOException; … … 38 39 import geniusweb.connection.ConnectionEnd; 39 40 import geniusweb.inform.ActionDone; 41 import geniusweb.inform.Agreements; 40 42 import geniusweb.inform.Finished; 41 43 import geniusweb.inform.Inform; … … 163 165 party.connect(connection); 164 166 party.notifyChange(settings); 165 party.notifyChange(new Finished(null)); 167 Agreements agreements = mock(Agreements.class); 168 when(agreements.toString()).thenReturn("agree"); 169 party.notifyChange(new Finished(agreements)); 166 170 167 171 verify(reporter).log(eq(Level.INFO), 168 eq("Final ourcome:Finished[ null]"));172 eq("Final ourcome:Finished[agree]")); 169 173 } 170 174
Note:
See TracChangeset
for help on using the changeset viewer.