- **Milestone**: 5.0.FC --> future
---
** [tickets:#537] make base code unit test friendly and remove any dead code**
**Status:** accepted
**Milestone:** future
**Created:** Thu Aug 08, 2013 11:55 AM UTC by Mathi Naickan
**Last Updated:** Sun Nov 01, 2015 09:36 PM UTC
**Owner:** Ramesh
A great deal of legacy leap code cleanup was done through ticket
http://devel.opensaf.org/ticket/652.
It can be seen that LEAP is *no more* a portation layer that it used to be, but
is now providing functionality more of an *utility layer*.
Currently leap is acting as a bunch of wrapper/utility code providing the
following functionalities:
- encode/decode routines
- buffer management
- patricia db
- wrappers for tasks
- mailbox
- timers
- other utilties
With this as the background, the following further cleanup and streamlining is
desired to enable leap code to be unit-test ready:
- Remove any leftover dead code. I can see that for eg:- hj_stack.c, and some
functions in os_defs.c can be removed.
- Move code related to one particular functionality into one file.
- Identify functions that could be equivalent to APIs around which unit tests
could be performed.
- Streamline .h files(same as above for .c files)
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets