|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hackystat.sensorbase.test.SensorBaseRestApiHelper
org.hackystat.sensorbase.resource.projects.TestProjectSpectatorRestApi
public class TestProjectSpectatorRestApi
Tests the SensorBase REST API for Project spectators. A project spectator can be added to the project by the owner. The project spectator can view the sensordata associated with the project.
Field Summary |
---|
Fields inherited from class org.hackystat.sensorbase.test.SensorBaseRestApiHelper |
---|
adminEmail, adminPassword, projectManager, sdtManager, sensorDataManager, server, userManager |
Constructor Summary | |
---|---|
TestProjectSpectatorRestApi()
|
Method Summary | |
---|---|
static void |
setupMembership()
Starts the server going for these tests, and makes sure our test user is registered. |
void |
testSpectatorship()
Tests the normal project spectator use case. |
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 |
---|
public TestProjectSpectatorRestApi()
Method Detail |
---|
public static void setupMembership() throws java.lang.Exception
java.lang.Exception
- If problems occur setting up the server.public void testSpectatorship() throws java.lang.Exception
java.lang.Exception
- If problems occur.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |