org.hackystat.sensorbase.resource.projects
Class TestProjectUriPatterns

java.lang.Object
  extended by org.hackystat.sensorbase.test.SensorBaseRestApiHelper
      extended by org.hackystat.sensorbase.resource.projects.TestProjectUriPatterns

public class TestProjectUriPatterns
extends SensorBaseRestApiHelper

Tests that UriPattern processing works correctly.

Author:
Philip Johnson

Field Summary
 
Fields inherited from class org.hackystat.sensorbase.test.SensorBaseRestApiHelper
adminEmail, adminPassword, projectManager, sdtManager, sensorDataManager, server, userManager
 
Constructor Summary
TestProjectUriPatterns()
           
 
Method Summary
static void setupMembership()
          Setup this user, and make sure there is no data or project for them.
 void testDefaultUriPatterns()
          Test various URI patterns.
 
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

TestProjectUriPatterns

public TestProjectUriPatterns()
Method Detail

setupMembership

public static void setupMembership()
                            throws java.lang.Exception
Setup this user, and make sure there is no data or project for them.

Throws:
java.lang.Exception - If problems occur setting up the server.

testDefaultUriPatterns

public void testDefaultUriPatterns()
                            throws SensorBaseClientException
Test various URI patterns.

Throws:
SensorBaseClientException - if problems occur.