Class FirewallPolicyTests
- java.lang.Object
-
- org.openstack4j.api.AbstractTest
-
- org.openstack4j.api.network.firewalls.FirewallPolicyTests
-
public class FirewallPolicyTests extends AbstractTest
Test suite for FirewallPolicy As a Service : FirewallPolicy PolicyFirewallPolicy(FwaaS)- Author:
- Vishvesh Deshmukh
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstack4j.api.AbstractTest
AbstractTest.Service
-
-
Field Summary
-
Fields inherited from class org.openstack4j.api.AbstractTest
JSON_ACCESS, JSON_TOKEN, osv2, osv3, server, TOKEN_ID
-
-
Constructor Summary
Constructors Constructor Description FirewallPolicyTests()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AbstractTest.Serviceservice()voidtestCreateFirewallPolicy()voidtestDeleteFirewallPolicy()voidtestGetFirewallPolicy()voidtestInsertRuleInFirewallPolicy()voidtestListFirewallPolicies()voidtestRemoveRuleFromFirewallPolicy()voidtestUpdateFirewallPolicy()-
Methods inherited from class org.openstack4j.api.AbstractTest
afterTest, associateClientV2, associateClientV3, authURL, getResource, osv2, osv3, respondWith, respondWith, respondWith, respondWith, respondWith, respondWithCodeAndResource, respondWithHeaderAndResource, startServer, takeRequest
-
-
-
-
Method Detail
-
testListFirewallPolicies
public void testListFirewallPolicies() throws IOException- Throws:
IOException
-
testGetFirewallPolicy
public void testGetFirewallPolicy() throws IOException- Throws:
IOException
-
testCreateFirewallPolicy
public void testCreateFirewallPolicy() throws IOException- Throws:
IOException
-
testUpdateFirewallPolicy
public void testUpdateFirewallPolicy() throws IOException- Throws:
IOException
-
testInsertRuleInFirewallPolicy
public void testInsertRuleInFirewallPolicy() throws IOException- Throws:
IOException
-
testRemoveRuleFromFirewallPolicy
public void testRemoveRuleFromFirewallPolicy() throws IOException- Throws:
IOException
-
testDeleteFirewallPolicy
public void testDeleteFirewallPolicy()
-
service
protected AbstractTest.Service service()
- Specified by:
servicein classAbstractTest- Returns:
- the service the API is using
-
-