diff options
author | Daniel Robertson <danlrobertson89@gmail.com> | 2015-11-03 09:47:36 -0500 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 15:19:29 +0000 |
commit | f15d11a9f8d6c783fd8c937256fa3372f8e4fe01 (patch) | |
tree | ae3cd96514c43899b17b32f1f7ba62bc254ef665 /sal/CppunitTest_sal_rtl_ref.mk | |
parent | c460ddb98317f1be0368eb197e338a4f8b44322d (diff) |
rtl::Reference Add move construction/assignment
Add move constructor and appropriately overloaded assignment operator to
rtl::Reference, and add basic unit tests for the reference counting of
rtl::Reference.
Change-Id: Ia7ff5d786bdf3b17709cec06608c91e22379746c
Reviewed-on: https://gerrit.libreoffice.org/19762
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal/CppunitTest_sal_rtl_ref.mk')
-rw-r--r-- | sal/CppunitTest_sal_rtl_ref.mk | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sal/CppunitTest_sal_rtl_ref.mk b/sal/CppunitTest_sal_rtl_ref.mk new file mode 100644 index 000000000000..f42bf92e95a7 --- /dev/null +++ b/sal/CppunitTest_sal_rtl_ref.mk @@ -0,0 +1,22 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +$(eval $(call gb_CppunitTest_CppunitTest,sal_rtl_ref)) + +$(eval $(call gb_CppunitTest_add_exception_objects,sal_rtl_ref,\ + sal/qa/rtl/ref/rtl_ref \ +)) + +$(eval $(call gb_CppunitTest_use_libraries,sal_rtl_ref,\ + sal \ + $(gb_UWINAPI) \ +)) + +# vim: set noet sw=4 ts=4: |