|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hackystat.sensorbase.test.SensorBaseRestApiHelper
public class SensorBaseRestApiHelper
Provides helpful utility methods to SensorBase test classes, which will normally want to extend this class.
Field Summary | |
---|---|
protected static java.lang.String |
adminEmail
The admin email. |
protected static java.lang.String |
adminPassword
The admin password. |
protected static ProjectManager |
projectManager
Make a Manager available to this test class. |
protected static SdtManager |
sdtManager
Make a Manager available to this test class. |
protected static SensorDataManager |
sensorDataManager
Make a Manager available to this test class. |
protected static Server |
server
The SensorBase server used in these tests. |
protected static UserManager |
userManager
Make a Manager available to this test class. |
Constructor Summary | |
---|---|
SensorBaseRestApiHelper()
|
Method Summary | |
---|---|
protected static java.lang.String |
getHostName()
Returns the hostname associated with this test server. |
static void |
setupServer()
Starts the server going for these tests. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static Server server
protected static SensorDataManager sensorDataManager
protected static UserManager userManager
protected static SdtManager sdtManager
protected static ProjectManager projectManager
protected static java.lang.String adminEmail
protected static java.lang.String adminPassword
Constructor Detail |
---|
public SensorBaseRestApiHelper()
Method Detail |
---|
public static void setupServer() throws java.lang.Exception
java.lang.Exception
- If problems occur setting up the server.protected static java.lang.String getHostName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |