org.dasein.cloud.test
Class FirewallTestCase

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.FirewallTestCase
All Implemented Interfaces:
junit.framework.Test

public class FirewallTestCase
extends BaseTestCase


Constructor Summary
FirewallTestCase(String name)
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testAddFirewallRule()
           
 void testCreateFirewall()
           
 void testDeleteFirewall()
           
 void testFirewallContent()
           
 void testGetBogusFirewall()
           
 void testGetFirewall()
           
 void testListFirewallRules()
           
 void testListFirewalls()
           
 void testMetaData()
           
 void testRemoveFirewallRule()
           
 void testSubscription()
           
 
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

FirewallTestCase

public FirewallTestCase(String name)
Method Detail

setUp

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

tearDown

public void tearDown()
Overrides:
tearDown in class junit.framework.TestCase

testAddFirewallRule

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

testCreateFirewall

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

testDeleteFirewall

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

testFirewallContent

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

testGetBogusFirewall

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

testGetFirewall

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

testListFirewalls

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

testListFirewallRules

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

testMetaData

public void testMetaData()

testRemoveFirewallRule

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

testSubscription

public void testSubscription()


Copyright © 2010 enStratus Networks LLC. All Rights Reserved.