|
||||||||||
| 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.peer.community.nof.AccountingManagerImplTest
public class AccountingManagerImplTest
| Field Summary | |
|---|---|
protected GumID |
gumID
|
protected double |
newBalance
|
protected ObjectID |
peerID1
|
protected ObjectID |
peerID2
|
protected ObjectID |
unknownPeer
|
| Constructor Summary | |
|---|---|
AccountingManagerImplTest()
Constructor for AccountingManagerTest. |
|
| Method Summary | |
|---|---|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testConsumerAccount()
Tests the consumerAccount() method. |
void |
testFinishProviderGMAccountingOfANotStartedAccounting()
|
void |
testGetPeerBalance()
|
void |
testGetPeerIdForRequest()
|
void |
testGetUnknownPeerBalance()
|
void |
testProviderAccount()
Tests the providerAccount() method. |
void |
testStartAccouting()
|
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 |
| Methods inherited from interface junit.framework.Test |
|---|
countTestCases, run |
| Field Detail |
|---|
protected double newBalance
protected ObjectID peerID1
protected ObjectID unknownPeer
protected GumID gumID
protected ObjectID peerID2
| Constructor Detail |
|---|
public AccountingManagerImplTest()
| Method Detail |
|---|
protected void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exception
protected void tearDown()
throws java.lang.Exception
tearDown in class junit.framework.TestCasejava.lang.Exceptionpublic void testGetUnknownPeerBalance()
public void testStartAccouting()
public void testGetPeerBalance()
public void testFinishProviderGMAccountingOfANotStartedAccounting()
public void testGetPeerIdForRequest()
public void testProviderAccount()
providerAccount() method.
public void testConsumerAccount()
consumerAccount() method.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||