Package org.openstack4j.api.compute
Class FlavorTests
- java.lang.Object
-
- org.openstack4j.api.AbstractTest
-
- org.openstack4j.api.compute.FlavorTests
-
public class FlavorTests extends AbstractTest
Tests the Compute -> Flavors API against the mock webserver and spec based json responses- Author:
- Jeremy Unruh, Qin An
-
-
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 FlavorTests()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateFlavor()voidgetFlavor()voidlistComplexFlavors()voidlistDetailedAllFlavors()voidlistDetailedParamFlavors()voidlistSimpleAllFlavors()protected AbstractTest.Serviceservice()-
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
-
createFlavor
public void createFlavor() throws IOException- Throws:
IOException
-
service
protected AbstractTest.Service service()
- Specified by:
servicein classAbstractTest- Returns:
- the service the API is using
-
-