org.hackystat.sensorbase.resource.db
Class TestCompressRestApi

java.lang.Object
  extended by org.hackystat.sensorbase.test.SensorBaseRestApiHelper
      extended by org.hackystat.sensorbase.resource.db.TestCompressRestApi

public class TestCompressRestApi
extends SensorBaseRestApiHelper

Tests the Compress REST API.

Author:
Philip Johnson

Field Summary
 
Fields inherited from class org.hackystat.sensorbase.test.SensorBaseRestApiHelper
adminEmail, adminPassword, projectManager, sdtManager, sensorDataManager, server, userManager
 
Constructor Summary
TestCompressRestApi()
           
 
Method Summary
 void testCompress()
          Test that PUT {host}/db/compress compresses the database tables.
 
Methods inherited from class org.hackystat.sensorbase.test.SensorBaseRestApiHelper
getHostName, setupServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestCompressRestApi

public TestCompressRestApi()
Method Detail

testCompress

public void testCompress()
                  throws java.lang.Exception
Test that PUT {host}/db/compress compresses the database tables.

Throws:
java.lang.Exception - If problems occur.