Project

General

Profile

Task #4665

Story #4654: Independent review of d1_common_java

Tests contain redundant code.

Added by Dave Vieglais over 10 years ago. Updated over 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
2014-03-31
Due date:
% Done:

0%

Story Points:
Sprint:

Description

Tests contain redundant code. E.g.
try {
DateTimeMarshaller.deserializeDateToUTC("Tue Aug 6 14:56:20");
} catch (NullPointerException ex) {
nullPointerThrown = true;
}
assertTrue(nullPointerThrown);
Where annotation should simply be:
@Test(expected=java.lang.NullPointerException.class)
- suggest review and refactor of all test code

History

#1 Updated by Dave Vieglais about 10 years ago

  • Target version set to Release Backlog

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)