Package org.openstack4j.api.compute
Class ServerTests
- java.lang.Object
-
- org.openstack4j.api.AbstractTest
-
- org.openstack4j.api.compute.ServerTests
-
public class ServerTests extends AbstractTest
Test cases for Server based Services- Author:
- Jeremy Unruh
-
-
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 ServerTests()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateServer()voidcreateServerSnapshotWithMetadata()voidcreateServerSnapshotWithNoMetadata()voidevacuateServer()voidgetServerConsoleOutput()voidgetServerConsoleOutputNonExistingServer()voidlistServer()voidrebuildServer()voidserverError()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
-
service
protected AbstractTest.Service service()
- Specified by:
servicein classAbstractTest- Returns:
- the service the API is using
-
createServerSnapshotWithNoMetadata
public void createServerSnapshotWithNoMetadata() throws Exception- Throws:
Exception
-
createServerSnapshotWithMetadata
public void createServerSnapshotWithMetadata() throws Exception- Throws:
Exception
-
getServerConsoleOutputNonExistingServer
public void getServerConsoleOutputNonExistingServer() throws Exception- Throws:
Exception
-
-