|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.code.jetm.maven.data.TimeUnitTest
public class TimeUnitTest
Unit tests for TimeUnit
.
Field Summary | |
---|---|
org.junit.rules.ExpectedException |
expected
A Rule used to test for thrown exceptions. |
Constructor Summary | |
---|---|
TimeUnitTest()
|
Method Summary | |
---|---|
void |
testFromMojoAbbreviation()
Test the retrieval of a time unit by the TimingReportMojo abbreviations for time units. |
void |
testFromMojoAbbreviationUnknownAbbreviation()
Looking up an unknown abbreviation should fail. |
void |
testGetDisplayName()
Test the retrieval of the display name. |
void |
testMillisecondsToMilliseconds()
Test the conversion between two microsecond values. |
void |
testMillisecondsToSeconds()
Test the conversion of microseconds to seconds. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public org.junit.rules.ExpectedException expected
Rule
used to test for thrown exceptions.
Constructor Detail |
---|
public TimeUnitTest()
Method Detail |
---|
public void testFromMojoAbbreviation()
TimingReportMojo
abbreviations for time units.
public void testFromMojoAbbreviationUnknownAbbreviation()
public void testGetDisplayName()
public void testMillisecondsToSeconds()
public void testMillisecondsToMilliseconds()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |