QNet/tests/unit/network.h

26 lines
886 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 QNET_NETWORK_TEST
#define QNET_NETWORK_TEST
#include "test.h"
QNET_TEST_DEFINE(network_create_ip4_address);
QNET_TEST_DEFINE(network_create_invalid_ip4_address);
QNET_TEST_DEFINE(network_create_ip6_address);
QNET_TEST_DEFINE(network_create_invalid_ip6_address);
QNET_TEST_EXPORT(network,
QNET_TEST_EXPORT_TEST(network_create_ip4_address),
QNET_TEST_EXPORT_TEST(network_create_invalid_ip4_address),
QNET_TEST_EXPORT_TEST(network_create_ip6_address),
QNET_TEST_EXPORT_TEST(network_create_invalid_ip6_address)
);
#endif