public class DurationTest extends Object
| Constructor and Description |
|---|
DurationTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeEach() |
void |
shouldBeAllowedToAddSeconds() |
void |
shouldBeEmptyWhenInitialized() |
void |
shouldHaveComponentsWhenInitialized() |
void |
shouldRepresentTimeInProperFormat()
Need to be careful about comparing strings, because
DecimalFormat is used and relies upon the default locale. |
public DurationTest()
public void beforeEach()
public void shouldBeEmptyWhenInitialized()
public void shouldHaveComponentsWhenInitialized()
public void shouldBeAllowedToAddSeconds()
public void shouldRepresentTimeInProperFormat()
DecimalFormat is used and relies upon the default locale. What
we do know is:
Copyright © 2008–2021 JBoss, a division of Red Hat. All rights reserved.