|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hackystat.dailyprojectdata.resource.commit.TestCommitData
public class TestCommitData
Tests if the CoverageData wraps a SensorData instance as intended.
Constructor Summary | |
---|---|
TestCommitData()
|
Method Summary | |
---|---|
static org.hackystat.sensorbase.resource.sensordata.jaxb.SensorData |
createData(java.lang.String timestamp,
java.lang.String runtime,
java.lang.String owner,
java.lang.String resource,
java.lang.String linesAdded,
java.lang.String linesDeleted)
A helper method used to create the SensorData instances used to by this test class. |
void |
setUp()
Setup this test class. |
void |
testEquals()
Tests the overridden .equals method returns the correct values. |
void |
testGetLinesAdded()
Tests if the commit data returns the correct amount of lines added. |
void |
testGetLinesDeleted()
Tests if the commit data returns the correct amount of lines deleted. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestCommitData()
Method Detail |
---|
public void setUp()
public void testGetLinesAdded()
public void testGetLinesDeleted()
public void testEquals()
public static org.hackystat.sensorbase.resource.sensordata.jaxb.SensorData createData(java.lang.String timestamp, java.lang.String runtime, java.lang.String owner, java.lang.String resource, java.lang.String linesAdded, java.lang.String linesDeleted)
timestamp
- the timestamp of the created sensor data instance.runtime
- the runtime of the SensorData instance.owner
- the specified owner.resource
- the specified resource.linesAdded
- the total lines added in returned data instance.linesDeleted
- the total lines deleted in returned data instance.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |