- **Milestone**: 4.7.FC --> 5.0


---

** [tickets:#537] make base code unit test friendly and remove any dead code**

**Status:** accepted
**Milestone:** 5.0
**Created:** Thu Aug 08, 2013 11:55 AM UTC by Mathi Naickan
**Last Updated:** Wed Sep 16, 2015 12:10 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.
------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to