org.hackystat.telemetry.service.resource.chart
Class TestFileMetricChartRestApi

java.lang.Object
  extended by org.hackystat.telemetry.service.test.TelemetryTestHelper
      extended by org.hackystat.telemetry.service.resource.chart.TestFileMetricChartRestApi

public class TestFileMetricChartRestApi
extends TelemetryTestHelper

Tests the FileMetric Chart processing.

Author:
Philip Johnson

Field Summary
(package private)  int counter
          A counter so that each resource (file name) is unique in the sample data.
 
Constructor Summary
TestFileMetricChartRestApi()
           
 
Method Summary
 void generateData()
          Creates FileMetrics on server for use in Telemetry processing.
 void testFileMetricChart()
          Tests the FileMetric chart.
 
Methods inherited from class org.hackystat.telemetry.service.test.TelemetryTestHelper
getDailyProjectDataHostName, getSensorBaseHostName, getTelemetryHostName, setupServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

counter

int counter
A counter so that each resource (file name) is unique in the sample data.

Constructor Detail

TestFileMetricChartRestApi

public TestFileMetricChartRestApi()
Method Detail

generateData

public void generateData()
                  throws java.lang.Exception
Creates FileMetrics on server for use in Telemetry processing.

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

testFileMetricChart

public void testFileMetricChart()
                         throws java.lang.Exception
Tests the FileMetric chart.

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