org.dasein.cloud.test
Class IpAddressTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.dasein.cloud.test.BaseTestCase
              extended by org.dasein.cloud.test.IpAddressTestCase
All Implemented Interfaces:
junit.framework.Test

public class IpAddressTestCase
extends BaseTestCase


Constructor Summary
IpAddressTestCase(String name)
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testAddressContent()
           
 void testAssignPrivateIp()
           
 void testAssignPublicIp()
           
 void testForward()
           
 void testGetAddress()
           
 void testGetBogusAddress()
           
 void testListAllPrivateAddresses()
           
 void testListAllPublicAddresses()
           
 void testListAvailablePrivateAddresses()
           
 void testListAvailablePublicAddresses()
           
 void testListForwardRules()
           
 void testMetaData()
           
 void testReleasePrivateIpFromPool()
           
 void testReleasePrivateIpFromServer()
           
 void testReleasePublicIpFromPool()
           
 void testReleasePublicIpFromServer()
           
 void testRequestPrivateIp()
           
 void testRequestPublicIp()
           
 void testStopBogusForward()
           
 void testStopForward()
           
 void testSubscribed()
           
 
Methods inherited from class org.dasein.cloud.test.BaseTestCase
getProperties, getProvider, getTestContext, getTestContext, getTestDataCenterId, getTestFirewallId, getTestMachineImageId, getTestProduct, launch
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IpAddressTestCase

public IpAddressTestCase(String name)
Method Detail

setUp

public void setUp()
           throws org.dasein.cloud.CloudException,
                  org.dasein.cloud.InternalException,
                  InstantiationException,
                  IllegalAccessException,
                  IOException
Overrides:
setUp in class junit.framework.TestCase
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
InstantiationException
IllegalAccessException
IOException

tearDown

public void tearDown()
              throws org.dasein.cloud.CloudException,
                     org.dasein.cloud.InternalException
Overrides:
tearDown in class junit.framework.TestCase
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

testAddressContent

public void testAddressContent()
                        throws org.dasein.cloud.CloudException,
                               org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

testAssignPrivateIp

public void testAssignPrivateIp()
                         throws org.dasein.cloud.CloudException,
                                org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

testAssignPublicIp

public void testAssignPublicIp()
                        throws org.dasein.cloud.CloudException,
                               org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

testForward

public void testForward()
                 throws org.dasein.cloud.CloudException,
                        org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

testGetAddress

public void testGetAddress()
                    throws org.dasein.cloud.CloudException,
                           org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

testGetBogusAddress

public void testGetBogusAddress()
                         throws org.dasein.cloud.CloudException,
                                org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

testListAllPublicAddresses

public void testListAllPublicAddresses()
                                throws org.dasein.cloud.CloudException,
                                       org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

testListAllPrivateAddresses

public void testListAllPrivateAddresses()
                                 throws org.dasein.cloud.CloudException,
                                        org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

testListAvailablePublicAddresses

public void testListAvailablePublicAddresses()
                                      throws org.dasein.cloud.CloudException,
                                             org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

testListAvailablePrivateAddresses

public void testListAvailablePrivateAddresses()
                                       throws org.dasein.cloud.CloudException,
                                              org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

testListForwardRules

public void testListForwardRules()
                          throws org.dasein.cloud.CloudException,
                                 org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

testMetaData

public void testMetaData()
                  throws org.dasein.cloud.CloudException,
                         org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

testReleasePrivateIpFromPool

public void testReleasePrivateIpFromPool()
                                  throws org.dasein.cloud.CloudException,
                                         org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

testReleasePrivateIpFromServer

public void testReleasePrivateIpFromServer()
                                    throws org.dasein.cloud.CloudException,
                                           org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

testReleasePublicIpFromPool

public void testReleasePublicIpFromPool()
                                 throws org.dasein.cloud.CloudException,
                                        org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

testReleasePublicIpFromServer

public void testReleasePublicIpFromServer()
                                   throws org.dasein.cloud.CloudException,
                                          org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

testRequestPrivateIp

public void testRequestPrivateIp()
                          throws org.dasein.cloud.CloudException,
                                 org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

testRequestPublicIp

public void testRequestPublicIp()
                         throws org.dasein.cloud.CloudException,
                                org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

testStopBogusForward

public void testStopBogusForward()
                          throws org.dasein.cloud.CloudException,
                                 org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

testStopForward

public void testStopForward()
                     throws org.dasein.cloud.CloudException,
                            org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

testSubscribed

public void testSubscribed()
                    throws org.dasein.cloud.CloudException,
                           org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException


Copyright © 2010 enStratus Networks LLC. All Rights Reserved.