|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.ourgrid.test.functionaltests.NetworkOfFavoursFunctionalTests
public class NetworkOfFavoursFunctionalTests
This test will group all functional tests that are related to redistribution and community requests. Each test must describe a scenario and also start and stop all functional test units that will be used.
Constructor Summary | |
---|---|
NetworkOfFavoursFunctionalTests()
|
Method Summary | |
---|---|
protected void |
tearDown()
Reset the FunctionTestsControl to clear any properties
configuration that was used before. |
void |
testLocalPreemption()
Test scenario: - Peer A, Peer B, MyGrid at Peer A, Gums at Peer B, MyGrid at Peer B. |
void |
testMyGridPeerInteraction()
Test scenario: - MyGrid local and Peer local. |
void |
testNetworkOfFavorsRedistributions()
Test scenario: - A Community with 3 Peers, 3 MyGrids for each peer. |
void |
testNetworkOfFavorsRedistributions2()
|
void |
testNetworkOfFavorsRedistributions3()
|
void |
testPeerMyGridLocalAndMyGridLocal()
Test scenario: - Peer, two local MyGrids. |
void |
testPeerPeerCorepeerInteraction()
Test scenario: - Peer A, Peer B, MyGrid at Peer A, Gums at Peer B. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface junit.framework.Test |
---|
countTestCases, run |
Constructor Detail |
---|
public NetworkOfFavoursFunctionalTests()
Method Detail |
---|
protected void tearDown() throws java.lang.Exception
FunctionTestsControl
to clear any properties
configuration that was used before.
tearDown
in class junit.framework.TestCase
java.lang.Exception
TestCase.tearDown()
public void testMyGridPeerInteraction() throws java.lang.Exception
java.lang.Exception
- If any exception is thrown the test fails.public void testPeerPeerCorepeerInteraction() throws java.lang.Exception
java.lang.Exception
- If any exception is thrown the test fails.public void testLocalPreemption() throws java.lang.Exception
java.lang.Exception
- If any exception is thrown the test fails.public void testPeerMyGridLocalAndMyGridLocal() throws java.lang.Exception
java.lang.Exception
- If any exception is thrown the test fails.public void testNetworkOfFavorsRedistributions() throws java.lang.Exception
java.lang.Exception
- If any exception is thrown the test fails.public void testNetworkOfFavorsRedistributions2() throws java.lang.Exception
java.lang.Exception
public void testNetworkOfFavorsRedistributions3() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |