- **Milestone**: future --> 4.4.FC
---
** [tickets:#537] make base code unit test friendly and remove any dead code**
**Status:** unassigned
**Created:** Thu Aug 08, 2013 11:55 AM UTC by Mathi Naickan
**Last Updated:** Mon Aug 26, 2013 01:37 PM UTC
**Owner:** nobody
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.
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets