Improvement #251

The values of enum of the DriverStatus may affect the Deadlock in the SimpleDriver implementation(s)

Added by Stefano Lenzi over 3 years ago. Updated over 3 years ago.

Status:Closed Start date:07/11/2014
Priority:High Due date:
Assignee:Stefano Lenzi % Done:

0%

Category:zigbee.dongle.api Spent time: -
Target version:org.aaloa.zb4osgi.zigbee.dongle.api-1.X
Has a patch:No Has license agreement signed:No

Description

The current enums described in the DriverStatus are linked directly with the implementation of the SimpleDriver implementation(s), so that adding, removing or changing the order of them will affect the implementations and break them. We should add JUnit to catch such usess

See also mailing-list archive at http://zb4osgi.aaloa.org/pipermail/dev/2014-July/000839.html


Related issues

related to Bug #244: Deadlock when reset dongle fails Closed 07/08/2014

Associated revisions

Revision 1039
Added by Stefano Lenzi over 3 years ago

Added check for DriverStatus to be always as expected ( refs #251 )

Revision 1040
Added by Stefano Lenzi over 3 years ago

Adding Javadoc a better output message ( refs #251 )

History

#1 Updated by Stefano Lenzi over 3 years ago

  • Status changed from New to Closed

Added JUnit

Also available in: Atom PDF