cosms-core/tests/unit/networking/server.h

26 lines
942 B
C
Raw Normal View History

/*
* Copyright (C) Tristan Franssen, <tristanfranssen@strawhats.nl>.
*
* This software is licensed under the Apache License, Version 2.0 (the "License");
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License in the file LICENSE or at
* http://www.apache.org/licenses/LICENSE-2.0
*/
#ifndef COSMS_CORE_SERVER_TEST
#define COSMS_CORE_SERVER_TEST
#include "test.h"
COSMS_CORE_TEST_DEFINE(server_create_tcp_server);
COSMS_CORE_TEST_DEFINE(server_create_udp_server);
COSMS_CORE_TEST_DEFINE(server_listen_on_tcp_server);
COSMS_CORE_TEST_DEFINE(server_listen_on_udp_server);
COSMS_CORE_TEST_EXPORT(server,
COSMS_CORE_TEST_EXPORT_TEST(server_create_tcp_server),
COSMS_CORE_TEST_EXPORT_TEST(server_create_udp_server),
COSMS_CORE_TEST_EXPORT_TEST(server_listen_on_tcp_server),
COSMS_CORE_TEST_EXPORT_TEST(server_listen_on_udp_server)
);
#endif /* COSMS_CORE_SERVER_TEST */