org.hackystat.dailyprojectdata.resource.commit
Class TestCommitDataContainer

java.lang.Object
  extended by org.hackystat.dailyprojectdata.resource.commit.TestCommitDataContainer

public class TestCommitDataContainer
extends java.lang.Object

Tests if the CommitDataContainer stores and returns the correct data based on the wrapped data instances.

Author:
aito

Constructor Summary
TestCommitDataContainer()
           
 
Method Summary
 void setUp()
          Setup the CoverageData that is tested.
 void testGetCommits()
          Tests if the correct amount of commits by a user is returned.
 void testGetData()
          Tests if the all data entries are returned.
 void testGetLinesAdded()
          Tests if the correct amount of lines added are returned.
 void testGetLinesDeleted()
          Tests if the correct amount of lines deleted are returned.
 void testGetOwners()
          Tests if the correct owners of the wrapped SensorData are returned.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestCommitDataContainer

public TestCommitDataContainer()
Method Detail

setUp

public void setUp()
Setup the CoverageData that is tested.


testGetLinesAdded

public void testGetLinesAdded()
Tests if the correct amount of lines added are returned.


testGetLinesDeleted

public void testGetLinesDeleted()
Tests if the correct amount of lines deleted are returned.


testGetCommits

public void testGetCommits()
Tests if the correct amount of commits by a user is returned.


testGetOwners

public void testGetOwners()
Tests if the correct owners of the wrapped SensorData are returned.


testGetData

public void testGetData()
Tests if the all data entries are returned.