PageRenderTime 53ms CodeModel.GetById 21ms RepoModel.GetById 1ms app.codeStats 0ms

/R_TAG/doc/it/polimi/rtag/JoinAndMergeGroupsTest.html

http://rtag.googlecode.com/
HTML | 390 lines | 322 code | 46 blank | 22 comment | 0 complexity | dfa173a8213e0f779973833d9c9b64bb MD5 | raw file
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!--NewPage-->
  3. <HTML>
  4. <HEAD>
  5. <!-- Generated by javadoc (build 1.6.0_22) on Sun Sep 25 22:02:38 CEST 2011 -->
  6. <TITLE>
  7. JoinAndMergeGroupsTest
  8. </TITLE>
  9. <META NAME="date" CONTENT="2011-09-25">
  10. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
  11. <SCRIPT type="text/javascript">
  12. function windowTitle()
  13. {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="JoinAndMergeGroupsTest";
  16. }
  17. }
  18. </SCRIPT>
  19. <NOSCRIPT>
  20. </NOSCRIPT>
  21. </HEAD>
  22. <BODY BGCOLOR="white" onload="windowTitle();">
  23. <HR>
  24. <!-- ========= START OF TOP NAVBAR ======= -->
  25. <A NAME="navbar_top"><!-- --></A>
  26. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  27. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  28. <TR>
  29. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  30. <A NAME="navbar_top_firstrow"><!-- --></A>
  31. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  32. <TR ALIGN="center" VALIGN="top">
  33. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  35. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  36. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JoinAndMergeGroupsTest.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  38. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  39. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  40. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  41. </TR>
  42. </TABLE>
  43. </TD>
  44. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  45. </EM>
  46. </TD>
  47. </TR>
  48. <TR>
  49. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  50. &nbsp;<A HREF="../../../it/polimi/rtag/HelloWorld.html" title="class in it.polimi.rtag"><B>PREV CLASS</B></A>&nbsp;
  51. &nbsp;<A HREF="../../../it/polimi/rtag/Node.html" title="class in it.polimi.rtag"><B>NEXT CLASS</B></A></FONT></TD>
  52. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  53. <A HREF="../../../index.html?it/polimi/rtag/JoinAndMergeGroupsTest.html" target="_top"><B>FRAMES</B></A> &nbsp;
  54. &nbsp;<A HREF="JoinAndMergeGroupsTest.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  55. &nbsp;<SCRIPT type="text/javascript">
  56. <!--
  57. if(window==top) {
  58. document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  59. }
  60. //-->
  61. </SCRIPT>
  62. <NOSCRIPT>
  63. <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
  64. </NOSCRIPT>
  65. </FONT></TD>
  66. </TR>
  67. <TR>
  68. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  69. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  70. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  71. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  72. </TR>
  73. </TABLE>
  74. <A NAME="skip-navbar_top"></A>
  75. <!-- ========= END OF TOP NAVBAR ========= -->
  76. <HR>
  77. <!-- ======== START OF CLASS DATA ======== -->
  78. <H2>
  79. <FONT SIZE="-1">
  80. it.polimi.rtag</FONT>
  81. <BR>
  82. Class JoinAndMergeGroupsTest</H2>
  83. <PRE>
  84. java.lang.Object
  85. <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>it.polimi.rtag.JoinAndMergeGroupsTest</B>
  86. </PRE>
  87. <HR>
  88. <DL>
  89. <DT><PRE>public class <B>JoinAndMergeGroupsTest</B><DT>extends java.lang.Object</DL>
  90. </PRE>
  91. <P>
  92. <DL>
  93. <DT><B>Author:</B></DT>
  94. <DD>Panteha Saeedi (saeedi@elet.polimi.it)</DD>
  95. </DL>
  96. <HR>
  97. <P>
  98. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  99. <A NAME="constructor_summary"><!-- --></A>
  100. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  101. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  102. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  103. <B>Constructor Summary</B></FONT></TH>
  104. </TR>
  105. <TR BGCOLOR="white" CLASS="TableRowColor">
  106. <TD><CODE><B><A HREF="../../../it/polimi/rtag/JoinAndMergeGroupsTest.html#JoinAndMergeGroupsTest()">JoinAndMergeGroupsTest</A></B>()</CODE>
  107. <BR>
  108. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  109. </TR>
  110. </TABLE>
  111. &nbsp;
  112. <!-- ========== METHOD SUMMARY =========== -->
  113. <A NAME="method_summary"><!-- --></A>
  114. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  115. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  116. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  117. <B>Method Summary</B></FONT></TH>
  118. </TR>
  119. <TR BGCOLOR="white" CLASS="TableRowColor">
  120. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  121. <CODE>&nbsp;void</CODE></FONT></TD>
  122. <TD><CODE><B><A HREF="../../../it/polimi/rtag/JoinAndMergeGroupsTest.html#setUp()">setUp</A></B>()</CODE>
  123. <BR>
  124. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  125. </TR>
  126. <TR BGCOLOR="white" CLASS="TableRowColor">
  127. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  128. <CODE>&nbsp;void</CODE></FONT></TD>
  129. <TD><CODE><B><A HREF="../../../it/polimi/rtag/JoinAndMergeGroupsTest.html#tearDown()">tearDown</A></B>()</CODE>
  130. <BR>
  131. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  132. </TR>
  133. <TR BGCOLOR="white" CLASS="TableRowColor">
  134. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  135. <CODE>&nbsp;void</CODE></FONT></TD>
  136. <TD><CODE><B><A HREF="../../../it/polimi/rtag/JoinAndMergeGroupsTest.html#testEachNodeIsInAUniverseAfterCreation()">testEachNodeIsInAUniverseAfterCreation</A></B>()</CODE>
  137. <BR>
  138. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  139. </TR>
  140. <TR BGCOLOR="white" CLASS="TableRowColor">
  141. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  142. <CODE>&nbsp;void</CODE></FONT></TD>
  143. <TD><CODE><B><A HREF="../../../it/polimi/rtag/JoinAndMergeGroupsTest.html#testTenFollowersJoinGroup()">testTenFollowersJoinGroup</A></B>()</CODE>
  144. <BR>
  145. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  146. </TR>
  147. <TR BGCOLOR="white" CLASS="TableRowColor">
  148. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  149. <CODE>&nbsp;void</CODE></FONT></TD>
  150. <TD><CODE><B><A HREF="../../../it/polimi/rtag/JoinAndMergeGroupsTest.html#testTwoUniverseWithNoFollowersBecomeOne()">testTwoUniverseWithNoFollowersBecomeOne</A></B>()</CODE>
  151. <BR>
  152. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  153. </TR>
  154. <TR BGCOLOR="white" CLASS="TableRowColor">
  155. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  156. <CODE>&nbsp;void</CODE></FONT></TD>
  157. <TD><CODE><B><A HREF="../../../it/polimi/rtag/JoinAndMergeGroupsTest.html#testUniverseComposition()">testUniverseComposition</A></B>()</CODE>
  158. <BR>
  159. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  160. </TR>
  161. </TABLE>
  162. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  163. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  164. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  165. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  166. </TR>
  167. <TR BGCOLOR="white" CLASS="TableRowColor">
  168. <TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  169. </TR>
  170. </TABLE>
  171. &nbsp;
  172. <P>
  173. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  174. <A NAME="constructor_detail"><!-- --></A>
  175. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  176. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  177. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  178. <B>Constructor Detail</B></FONT></TH>
  179. </TR>
  180. </TABLE>
  181. <A NAME="JoinAndMergeGroupsTest()"><!-- --></A><H3>
  182. JoinAndMergeGroupsTest</H3>
  183. <PRE>
  184. public <B>JoinAndMergeGroupsTest</B>()</PRE>
  185. <DL>
  186. </DL>
  187. <!-- ============ METHOD DETAIL ========== -->
  188. <A NAME="method_detail"><!-- --></A>
  189. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  190. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  191. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  192. <B>Method Detail</B></FONT></TH>
  193. </TR>
  194. </TABLE>
  195. <A NAME="setUp()"><!-- --></A><H3>
  196. setUp</H3>
  197. <PRE>
  198. public void <B>setUp</B>()
  199. throws java.lang.Exception</PRE>
  200. <DL>
  201. <DD><DL>
  202. <DT><B>Throws:</B>
  203. <DD><CODE>java.lang.Exception</CODE></DL>
  204. </DD>
  205. </DL>
  206. <HR>
  207. <A NAME="tearDown()"><!-- --></A><H3>
  208. tearDown</H3>
  209. <PRE>
  210. public void <B>tearDown</B>()
  211. throws java.lang.Exception</PRE>
  212. <DL>
  213. <DD><DL>
  214. <DT><B>Throws:</B>
  215. <DD><CODE>java.lang.Exception</CODE></DL>
  216. </DD>
  217. </DL>
  218. <HR>
  219. <A NAME="testEachNodeIsInAUniverseAfterCreation()"><!-- --></A><H3>
  220. testEachNodeIsInAUniverseAfterCreation</H3>
  221. <PRE>
  222. public void <B>testEachNodeIsInAUniverseAfterCreation</B>()</PRE>
  223. <DL>
  224. <DD><DL>
  225. </DL>
  226. </DD>
  227. </DL>
  228. <HR>
  229. <A NAME="testTwoUniverseWithNoFollowersBecomeOne()"><!-- --></A><H3>
  230. testTwoUniverseWithNoFollowersBecomeOne</H3>
  231. <PRE>
  232. public void <B>testTwoUniverseWithNoFollowersBecomeOne</B>()
  233. throws polimi.reds.broker.overlay.AlreadyNeighborException,
  234. java.net.ConnectException,
  235. java.net.MalformedURLException,
  236. polimi.reds.broker.overlay.NotRunningException,
  237. java.lang.InterruptedException</PRE>
  238. <DL>
  239. <DD><DL>
  240. <DT><B>Throws:</B>
  241. <DD><CODE>polimi.reds.broker.overlay.AlreadyNeighborException</CODE>
  242. <DD><CODE>java.net.ConnectException</CODE>
  243. <DD><CODE>java.net.MalformedURLException</CODE>
  244. <DD><CODE>polimi.reds.broker.overlay.NotRunningException</CODE>
  245. <DD><CODE>java.lang.InterruptedException</CODE></DL>
  246. </DD>
  247. </DL>
  248. <HR>
  249. <A NAME="testUniverseComposition()"><!-- --></A><H3>
  250. testUniverseComposition</H3>
  251. <PRE>
  252. public void <B>testUniverseComposition</B>()
  253. throws polimi.reds.broker.overlay.AlreadyNeighborException,
  254. java.net.ConnectException,
  255. java.net.MalformedURLException,
  256. polimi.reds.broker.overlay.NotRunningException,
  257. java.lang.InterruptedException</PRE>
  258. <DL>
  259. <DD><DL>
  260. <DT><B>Throws:</B>
  261. <DD><CODE>polimi.reds.broker.overlay.AlreadyNeighborException</CODE>
  262. <DD><CODE>java.net.ConnectException</CODE>
  263. <DD><CODE>java.net.MalformedURLException</CODE>
  264. <DD><CODE>polimi.reds.broker.overlay.NotRunningException</CODE>
  265. <DD><CODE>java.lang.InterruptedException</CODE></DL>
  266. </DD>
  267. </DL>
  268. <HR>
  269. <A NAME="testTenFollowersJoinGroup()"><!-- --></A><H3>
  270. testTenFollowersJoinGroup</H3>
  271. <PRE>
  272. public void <B>testTenFollowersJoinGroup</B>()
  273. throws polimi.reds.broker.overlay.AlreadyNeighborException,
  274. java.net.ConnectException,
  275. java.net.MalformedURLException,
  276. polimi.reds.broker.overlay.NotRunningException,
  277. java.lang.InterruptedException</PRE>
  278. <DL>
  279. <DD><DL>
  280. <DT><B>Throws:</B>
  281. <DD><CODE>polimi.reds.broker.overlay.AlreadyNeighborException</CODE>
  282. <DD><CODE>java.net.ConnectException</CODE>
  283. <DD><CODE>java.net.MalformedURLException</CODE>
  284. <DD><CODE>polimi.reds.broker.overlay.NotRunningException</CODE>
  285. <DD><CODE>java.lang.InterruptedException</CODE></DL>
  286. </DD>
  287. </DL>
  288. <!-- ========= END OF CLASS DATA ========= -->
  289. <HR>
  290. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  291. <A NAME="navbar_bottom"><!-- --></A>
  292. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  293. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  294. <TR>
  295. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  296. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  297. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  298. <TR ALIGN="center" VALIGN="top">
  299. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  300. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  301. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  302. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JoinAndMergeGroupsTest.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  303. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  304. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  305. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  306. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  307. </TR>
  308. </TABLE>
  309. </TD>
  310. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  311. </EM>
  312. </TD>
  313. </TR>
  314. <TR>
  315. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  316. &nbsp;<A HREF="../../../it/polimi/rtag/HelloWorld.html" title="class in it.polimi.rtag"><B>PREV CLASS</B></A>&nbsp;
  317. &nbsp;<A HREF="../../../it/polimi/rtag/Node.html" title="class in it.polimi.rtag"><B>NEXT CLASS</B></A></FONT></TD>
  318. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  319. <A HREF="../../../index.html?it/polimi/rtag/JoinAndMergeGroupsTest.html" target="_top"><B>FRAMES</B></A> &nbsp;
  320. &nbsp;<A HREF="JoinAndMergeGroupsTest.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  321. &nbsp;<SCRIPT type="text/javascript">
  322. <!--
  323. if(window==top) {
  324. document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  325. }
  326. //-->
  327. </SCRIPT>
  328. <NOSCRIPT>
  329. <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
  330. </NOSCRIPT>
  331. </FONT></TD>
  332. </TR>
  333. <TR>
  334. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  335. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  336. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  337. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  338. </TR>
  339. </TABLE>
  340. <A NAME="skip-navbar_bottom"></A>
  341. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  342. <HR>
  343. </BODY>
  344. </HTML>