chore: Add copyright header to C files who had none
This commit is contained in:
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* profapi.h
|
||||||
|
*
|
||||||
|
* Copyright (C) 2016 - 2017 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2021 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
/** @file
|
/** @file
|
||||||
C plugin API.
|
C plugin API.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* profhooks.h
|
||||||
|
*
|
||||||
|
* Copyright (C) 2016 - 2017 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2021 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
/** @file
|
/** @file
|
||||||
C Hooks.
|
C Hooks.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* functionaltests.c
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 - 2018 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2026 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* proftest.c
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 - 2016 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2019 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* proftest.h
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2020 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
#ifndef __H_PROFTEST
|
#ifndef __H_PROFTEST
|
||||||
#define __H_PROFTEST
|
#define __H_PROFTEST
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* test_carbons.c
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 - 2017 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2026 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include "prof_cmocka.h"
|
#include "prof_cmocka.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* test_carbons.h
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 - 2016 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2026 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
void send_enable_carbons(void** state);
|
void send_enable_carbons(void** state);
|
||||||
void connect_with_carbons_enabled(void** state);
|
void connect_with_carbons_enabled(void** state);
|
||||||
void send_disable_carbons(void** state);
|
void send_disable_carbons(void** state);
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* test_chat_session.c
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2026 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include "prof_cmocka.h"
|
#include "prof_cmocka.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* test_chat_session.h
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2026 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
void sends_message_to_barejid_when_contact_offline(void** state);
|
void sends_message_to_barejid_when_contact_offline(void** state);
|
||||||
void sends_message_to_barejid_when_contact_online(void** state);
|
void sends_message_to_barejid_when_contact_online(void** state);
|
||||||
void sends_message_to_fulljid_when_received_from_fulljid(void** state);
|
void sends_message_to_fulljid_when_received_from_fulljid(void** state);
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* test_connect.c
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2019 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include "prof_cmocka.h"
|
#include "prof_cmocka.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* test_connect.h
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2026 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
void connect_jid_requests_roster(void** state);
|
void connect_jid_requests_roster(void** state);
|
||||||
void connect_jid_sends_presence_after_receiving_roster(void** state);
|
void connect_jid_sends_presence_after_receiving_roster(void** state);
|
||||||
void connect_jid_requests_bookmarks(void** state);
|
void connect_jid_requests_bookmarks(void** state);
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* test_disconnect.c
|
||||||
|
*
|
||||||
|
* Copyright (C) 2016 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2026 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include "prof_cmocka.h"
|
#include "prof_cmocka.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|||||||
@@ -1 +1,9 @@
|
|||||||
|
/*
|
||||||
|
* test_disconnect.h
|
||||||
|
*
|
||||||
|
* Copyright (C) 2016 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2026 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
void disconnect_ends_session(void** state);
|
void disconnect_ends_session(void** state);
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* test_message.c
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2026 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include "prof_cmocka.h"
|
#include "prof_cmocka.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* test_message.h
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2026 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
void message_send(void** state);
|
void message_send(void** state);
|
||||||
void message_receive_console(void** state);
|
void message_receive_console(void** state);
|
||||||
void message_receive_chatwin(void** state);
|
void message_receive_chatwin(void** state);
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* test_muc.c
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 - 2018 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2019 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include "prof_cmocka.h"
|
#include "prof_cmocka.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* test_muc.h
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 - 2018 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2026 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
void sends_room_join(void** state);
|
void sends_room_join(void** state);
|
||||||
void sends_room_join_with_nick(void** state);
|
void sends_room_join_with_nick(void** state);
|
||||||
void sends_room_join_with_password(void** state);
|
void sends_room_join_with_password(void** state);
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* test_ping.c
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 - 2017 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2019 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include "prof_cmocka.h"
|
#include "prof_cmocka.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* test_ping.h
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 - 2017 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2026 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
void ping_server(void** state);
|
void ping_server(void** state);
|
||||||
void ping_server_not_supported(void** state);
|
void ping_server_not_supported(void** state);
|
||||||
void ping_responds_to_server_request(void** state);
|
void ping_responds_to_server_request(void** state);
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* test_presence.c
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 - 2017 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2019 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include "prof_cmocka.h"
|
#include "prof_cmocka.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* test_presence.h
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 - 2017 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2026 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
void presence_away(void** state);
|
void presence_away(void** state);
|
||||||
void presence_away_with_message(void** state);
|
void presence_away_with_message(void** state);
|
||||||
void presence_online(void** state);
|
void presence_online(void** state);
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* test_receipts.c
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 - 2016 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2019 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include "prof_cmocka.h"
|
#include "prof_cmocka.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* test_receipts.h
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 - 2016 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2026 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
void does_not_send_receipt_request_to_barejid(void** state);
|
void does_not_send_receipt_request_to_barejid(void** state);
|
||||||
void send_receipt_request(void** state);
|
void send_receipt_request(void** state);
|
||||||
void send_receipt_on_request(void** state);
|
void send_receipt_on_request(void** state);
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* test_rooms.c
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 - 2018 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2026 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include "prof_cmocka.h"
|
#include "prof_cmocka.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|||||||
@@ -1 +1,9 @@
|
|||||||
|
/*
|
||||||
|
* test_rooms.h
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2026 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
void rooms_query(void** state);
|
void rooms_query(void** state);
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* test_roster.c
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2026 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include "prof_cmocka.h"
|
#include "prof_cmocka.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* test_roster.h
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2026 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
void sends_new_item(void** state);
|
void sends_new_item(void** state);
|
||||||
void sends_new_item_nick(void** state);
|
void sends_new_item_nick(void** state);
|
||||||
void sends_remove_item(void** state);
|
void sends_remove_item(void** state);
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* test_software.c
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2026 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include "prof_cmocka.h"
|
#include "prof_cmocka.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* test_software.h
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2026 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
void send_software_version_request(void** state);
|
void send_software_version_request(void** state);
|
||||||
void display_software_version_result(void** state);
|
void display_software_version_result(void** state);
|
||||||
void shows_message_when_software_version_error(void** state);
|
void shows_message_when_software_version_error(void** state);
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* stub_accounts.c
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 - 2016 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2020 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later WITH OpenSSL-exception
|
||||||
|
*/
|
||||||
#include "prof_cmocka.h"
|
#include "prof_cmocka.h"
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* helpers.c
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 - 2016 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2015 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "prof_cmocka.h"
|
#include "prof_cmocka.h"
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* helpers.h
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2020 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
#include "glib.h"
|
#include "glib.h"
|
||||||
|
|
||||||
int load_preferences(void** state);
|
int load_preferences(void** state);
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* stub_otr.c
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 - 2016 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2020 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
#include <libotr/proto.h>
|
#include <libotr/proto.h>
|
||||||
#include <libotr/message.h>
|
#include <libotr/message.h>
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* stub_gpg.c
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 - 2017 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2020 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
#include "pgp/gpg.h"
|
#include "pgp/gpg.h"
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* test_common.c
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 - 2017 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2015 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
#include "xmpp/resource.h"
|
#include "xmpp/resource.h"
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "prof_cmocka.h"
|
#include "prof_cmocka.h"
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* test_common.h
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 - 2016 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2018 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
#ifndef TESTS_TEST_COMMON_H
|
#ifndef TESTS_TEST_COMMON_H
|
||||||
#define TESTS_TEST_COMMON_H
|
#define TESTS_TEST_COMMON_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* stub_http_upload.c
|
||||||
|
*
|
||||||
|
* Copyright (C) 2017 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2020 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
#ifndef TOOLS_HTTP_UPLOAD_H
|
#ifndef TOOLS_HTTP_UPLOAD_H
|
||||||
#define TOOLS_HTTP_UPLOAD_H
|
#define TOOLS_HTTP_UPLOAD_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* stub_ui.c
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 - 2018 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2019 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* stub_ui.h
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 - 2016 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2015 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
void expect_cons_show(char* expected);
|
void expect_cons_show(char* expected);
|
||||||
void expect_any_cons_show(void);
|
void expect_any_cons_show(void);
|
||||||
void expect_cons_show_error(char* expected);
|
void expect_cons_show_error(char* expected);
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* unittests.c
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 - 2018 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2018 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* stub_xmpp.c
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 - 2018 James Booth <boothj5@gmail.com>
|
||||||
|
* Copyright (C) 2019 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
#include "prof_cmocka.h"
|
#include "prof_cmocka.h"
|
||||||
|
|
||||||
#include "xmpp/xmpp.h"
|
#include "xmpp/xmpp.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user