Skip to content

Commit

Permalink
Add @OverRide annotation to test classes in model.property package.
Browse files Browse the repository at this point in the history
  • Loading branch information
edwhiting committed Aug 14, 2020
1 parent 83e317c commit 9719610
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 0 deletions.
Expand Up @@ -64,6 +64,7 @@ public class AttachTest extends TestCase {
/* (non-Javadoc)
* @see junit.framework.TestCase#setUp()
*/
@Override
protected void setUp() throws Exception {
super.setUp();
FileInputStream fin = new FileInputStream("etc/artwork/logo.png");
Expand Down
Expand Up @@ -60,6 +60,7 @@ public class AttendeeTest extends TestCase {
/* (non-Javadoc)
* @see junit.framework.TestCase#setUp()
*/
@Override
protected void setUp() throws Exception {
CompatibilityHints.setHintEnabled(CompatibilityHints.KEY_RELAXED_PARSING, false);
CompatibilityHints.setHintEnabled(CompatibilityHints.KEY_RELAXED_UNFOLDING, true);
Expand All @@ -68,6 +69,7 @@ protected void setUp() throws Exception {
/**
* {@inheritDoc}
*/
@Override
protected void tearDown() throws Exception {
CompatibilityHints.clearHintEnabled(CompatibilityHints.KEY_RELAXED_PARSING);
CompatibilityHints.clearHintEnabled(CompatibilityHints.KEY_RELAXED_UNFOLDING);
Expand Down
Expand Up @@ -73,6 +73,7 @@ public DateListPropertyTest(String testMethod, DateListProperty property) {
/**
*
*/
@Override
public void testCopy() throws IOException, URISyntaxException,
ParseException {
Property copy = property.copy();
Expand Down
Expand Up @@ -75,6 +75,7 @@ public DatePropertyTest(String testMethod, DateProperty property) {
/**
*
*/
@Override
public void testCopy() throws IOException, URISyntaxException,
ParseException {
Property copy = property.copy();
Expand Down
Expand Up @@ -61,6 +61,7 @@ public class DtStartTest extends TestCase {
/* (non-Javadoc)
* @see junit.framework.TestCase#setUp()
*/
@Override
protected void setUp() throws Exception {
super.setUp();
TimeZoneRegistry tzReg = TimeZoneRegistryFactory.getInstance().createRegistry();
Expand Down
Expand Up @@ -58,6 +58,7 @@ public class ExDateTest extends TestCase {
/* (non-Javadoc)
* @see junit.framework.TestCase#setUp()
*/
@Override
protected void setUp() throws Exception {
CompatibilityHints.setHintEnabled(CompatibilityHints.KEY_RELAXED_UNFOLDING, true);
CompatibilityHints.setHintEnabled(CompatibilityHints.KEY_RELAXED_PARSING, false);
Expand All @@ -66,6 +67,7 @@ protected void setUp() throws Exception {
/* (non-Javadoc)
* @see junit.framework.TestCase#tearDown()
*/
@Override
protected void tearDown() throws Exception {
CompatibilityHints.clearHintEnabled(CompatibilityHints.KEY_RELAXED_UNFOLDING);
CompatibilityHints.clearHintEnabled(CompatibilityHints.KEY_RELAXED_PARSING);
Expand Down
Expand Up @@ -55,6 +55,7 @@ public class OrganizerTest extends TestCase {

private static Logger LOG = LoggerFactory.getLogger(OrganizerTest.class);

@Override
protected void setUp() throws Exception {
CompatibilityHints.setHintEnabled(
CompatibilityHints.KEY_RELAXED_PARSING, false);
Expand All @@ -63,6 +64,7 @@ protected void setUp() throws Exception {
/* (non-Javadoc)
* @see junit.framework.TestCase#tearDown()
*/
@Override
protected void tearDown() throws Exception {
CompatibilityHints.clearHintEnabled(CompatibilityHints.KEY_RELAXED_PARSING);
}
Expand Down
Expand Up @@ -73,6 +73,7 @@ public VersionTest(String testMethod, Version property) {
/*
* Test that the constant VERSION_2_0 is immutable.
*/
@Override
public void testImmutable() throws IOException, URISyntaxException, ParseException {
super.testImmutable();

Expand Down

0 comments on commit 9719610

Please sign in to comment.