asterisk/tests
Richard Mudgett 50c8557f03 Add ability to clone ao2 containers.
Occasionally there is a need to put all objects in one container also into
another container.

Some reasons you might need to do this:

1) You need to reconfigure a container.  You would do this by creating a
new container with the new configuration and ao2_container_dup the old
container into it.  Then replace the old container with the new.  Then
destroy the old container.

2) You need the contents of a container to remain stable while operating
on all of the objects.  You would do this by creating a cloned container
of the original with ao2_container_clone.  The cloned container is a
snapshot of the objects at the time of the cloning.  When done, just
destroy the cloned container.

Review: https://reviewboard.asterisk.org/r/1746/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@357145 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-02-28 00:42:38 +00:00
..
Makefile Change the name of the category 'TEST' to match the name of the subdir 2010-03-23 19:19:52 +00:00
test_acl.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_ami_security_events.sh Add an API for reporting security events, and a security event logging module. 2009-07-11 19:15:03 +00:00
test_amihooks.c Merged revisions 338556 via svnmerge from 2011-09-29 21:16:07 +00:00
test_aoc.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_app.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_ast_format_str_reduce.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_astobj2.c Add ability to clone ao2 containers. 2012-02-28 00:42:38 +00:00
test_db.c Merged revisions 338552 via svnmerge from 2011-09-29 20:55:15 +00:00
test_devicestate.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_dlinklists.c Merged revisions 338556 via svnmerge from 2011-09-29 21:16:07 +00:00
test_event.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_expr.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_format_api.c Audit of ao2_iterator_init() usage for v10. 2012-01-27 19:33:49 +00:00
test_func_file.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_gosub.c Merged revisions 337974 via svnmerge from 2011-09-26 19:40:12 +00:00
test_heap.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_linkedlists.c Doubly linked lists unit test and update to implementation. 2011-12-06 19:09:56 +00:00
test_locale.c Merged revisions 338556 via svnmerge from 2011-09-29 21:16:07 +00:00
test_logger.c Merged revisions 338556 via svnmerge from 2011-09-29 21:16:07 +00:00
test_netsock2.c Add a unit test for ast_sockaddr_split_hostport 2011-11-09 19:31:27 +00:00
test_pbx.c Merged revisions 337062 via svnmerge from 2011-09-20 21:05:42 +00:00
test_poll.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_sched.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_security_events.c Merged revisions 338556 via svnmerge from 2011-09-29 21:16:07 +00:00
test_skel.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_stringfields.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_strings.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_substitution.c Fix some tests that didn't get opaquification changes 2012-02-23 01:53:17 +00:00
test_time.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_utils.c Fix some tests that didn't get opaquification changes 2012-02-23 01:53:17 +00:00