- **Type**: defect --> enhancement


---

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

**Status:** accepted
**Milestone:** 4.7-Tentative
**Created:** Thu Aug 08, 2013 11:55 AM UTC by Mathi Naickan
**Last Updated:** Mon Mar 16, 2015 05:33 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.
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to