diff options
Diffstat (limited to 'src/test/regression-storage.c')
-rw-r--r-- | src/test/regression-storage.c | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/src/test/regression-storage.c b/src/test/regression-storage.c index eb11f6d5..ad63da0a 100644 --- a/src/test/regression-storage.c +++ b/src/test/regression-storage.c @@ -2,20 +2,11 @@ FILE: regression-storage.c CREATOR: eric 03 April 1999 - (C) COPYRIGHT 1999 Eric Busboom <eric@civicknowledge.com> + SPDX-FileCopyrightText: 1999 Eric Busboom <eric@civicknowledge.com> DESCRIPTION: - This library is free software; you can redistribute it and/or modify - it under the terms of either: - - The LGPL as published by the Free Software Foundation, version - 2.1, available at: https://www.gnu.org/licenses/lgpl-2.1.html - - Or: - - The Mozilla Public License Version 2.0. You may obtain a copy of - the License at https://www.mozilla.org/MPL/ + SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0 The original author is Eric Busboom The original code is usecases.c @@ -167,7 +158,7 @@ void test_fileset_extended(void) start.month = month; end.month = month; - clone = icalcomponent_new_clone(c); + clone = icalcomponent_clone(c); ok("Making clone of output file", (clone != 0)); assert(clone != 0); @@ -350,7 +341,7 @@ void test_bdbset() start.month = month; end.month = month; - clone = icalcomponent_new_clone(c); + clone = icalcomponent_clone(c); assert(clone != 0); event = icalcomponent_get_first_component(clone, ICAL_VEVENT_COMPONENT); assert(event != 0); @@ -672,7 +663,7 @@ void test_dirset_extended(void) /* Change the dtstart and dtend times in the component pointed to by Itr */ - (void)icalcomponent_new_clone(itr); + (void)icalcomponent_clone(itr); inner = icalcomponent_get_first_component(itr, ICAL_VEVENT_COMPONENT); ok("Duplicating component...", (icalerrno == ICAL_NO_ERROR) && (inner != 0)); @@ -712,7 +703,7 @@ void test_dirset_extended(void) if (VERBOSE) printf("\n----------\n%s\n---------\n", icalcomponent_as_ical_string(inner)); - error = icaldirset_add_component(s, icalcomponent_new_clone(itr)); + error = icaldirset_add_component(s, icalcomponent_clone(itr)); ok("Adding component to dirset", (icalerrno == ICAL_NO_ERROR)); assert(error == ICAL_NO_ERROR); |