org.hackystat.sensorbase.resource.db
Class TestIndexRestApi

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

public class TestIndexRestApi
extends SensorBaseRestApiHelper

Tests the Index 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
TestIndexRestApi()
           
 
Method Summary
 void testIndex()
          Test that PUT {host}/db/index runs the index method.
 
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

TestIndexRestApi

public TestIndexRestApi()
Method Detail

testIndex

public void testIndex()
               throws java.lang.Exception
Test that PUT {host}/db/index runs the index method.

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