2011-01-16 09:55:41 -08:00
|
|
|
/* EINA - EFL data type library
|
|
|
|
* Copyright (C) 2008 Cedric Bail
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library;
|
|
|
|
* if not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef EINA_SUITE_H_
|
|
|
|
#define EINA_SUITE_H_
|
|
|
|
|
|
|
|
#include <check.h>
|
|
|
|
|
|
|
|
void eina_test_ustringshare(TCase *tc);
|
|
|
|
void eina_test_binshare(TCase *tc);
|
2012-01-09 15:24:18 -08:00
|
|
|
void eina_test_inarray(TCase *tc);
|
2011-01-16 09:55:41 -08:00
|
|
|
void eina_test_array(TCase *tc);
|
|
|
|
void eina_test_log(TCase *tc);
|
|
|
|
void eina_test_error(TCase *tc);
|
|
|
|
void eina_test_magic(TCase *tc);
|
|
|
|
void eina_test_inlist(TCase *tc);
|
2011-10-11 21:39:27 -07:00
|
|
|
void eina_test_clist(TCase *tc);
|
2011-01-16 09:55:41 -08:00
|
|
|
void eina_test_lalloc(TCase *tc);
|
|
|
|
void eina_test_main(TCase *tc);
|
|
|
|
void eina_test_counter(TCase *tc);
|
|
|
|
void eina_test_hash(TCase *tc);
|
|
|
|
void eina_test_list(TCase *tc);
|
|
|
|
void eina_test_iterator(TCase *tc);
|
|
|
|
void eina_test_accessor(TCase *tc);
|
|
|
|
void eina_test_module(TCase *tc);
|
|
|
|
void eina_test_convert(TCase *tc);
|
|
|
|
void eina_test_rbtree(TCase *tc);
|
|
|
|
void eina_test_file(TCase *tc);
|
|
|
|
void eina_test_benchmark(TCase *tc);
|
|
|
|
void eina_test_mempool(TCase *tc);
|
|
|
|
void eina_test_rectangle(TCase *tc);
|
|
|
|
void eina_test_matrixsparse(TCase *tc);
|
|
|
|
void eina_test_tiler(TCase *tc);
|
|
|
|
void eina_test_strbuf(TCase *tc);
|
2011-05-17 08:45:39 -07:00
|
|
|
void eina_test_binbuf(TCase *tc);
|
2011-01-16 09:55:41 -08:00
|
|
|
void eina_test_str(TCase *tc);
|
|
|
|
void eina_test_ustr(TCase *tc);
|
|
|
|
void eina_test_quadtree(TCase *tc);
|
|
|
|
void eina_test_fp(TCase *tc);
|
|
|
|
void eina_test_sched(TCase *tc);
|
2011-05-17 19:29:59 -07:00
|
|
|
void eina_test_simple_xml_parser(TCase *tc);
|
add eina_value.
eina value is a generic value storage, it's quite efficient to space
(16 bytes) and speed (inlines for basic types).
It's basically a structure describing how to manage memory
(Eina_Value_Type), with default implementation for char, short, int,
long, int64_t (and unsigned variants), float, double, stringshare and
string.
If a type 'value_size' is smaller than 8 bytes, it's stored
inline. Otherwise a value is allocated and managed.
Most of the methods are inline, with special handling for char, short,
int... Then no extra calls are made, allowing the compiler to optimize
them.
For array of a single type it is recommend to use Eina_Value_Array, as
it will efficiently store and access members (just a char if subtype
is EINA_VALUE_TYPE_CHAR, etc).
It can copy itself, compare itself. Including arrays.
It would be nice to have something that converts between EET and this.
SVN revision: 67035
2012-01-10 18:20:26 -08:00
|
|
|
void eina_test_value(TCase *tc);
|
2012-01-20 17:30:09 -08:00
|
|
|
void eina_test_model(TCase *tc);
|
2013-01-08 01:17:56 -08:00
|
|
|
void eina_test_cow(TCase *tc);
|
2013-01-08 06:10:33 -08:00
|
|
|
void eina_test_barrier(TCase *tc);
|
2013-03-10 18:44:52 -07:00
|
|
|
void eina_test_tmpstr(TCase *tc);
|
2013-10-16 00:47:21 -07:00
|
|
|
void eina_test_locking(TCase *tc);
|
2013-10-25 04:16:10 -07:00
|
|
|
void eina_test_abi(TCase *tc);
|
2014-09-22 05:16:00 -07:00
|
|
|
void eina_test_trash(TCase *tc);
|
2015-03-06 07:19:13 -08:00
|
|
|
void eina_test_xattr(TCase *tc);
|
2015-04-22 06:37:32 -07:00
|
|
|
void eina_test_crc(TCase *tc);
|
2015-05-26 09:31:55 -07:00
|
|
|
void eina_test_quad(TCase *tc);
|
2015-05-28 05:35:55 -07:00
|
|
|
void eina_test_matrix(TCase *tc);
|
2015-06-29 05:24:21 -07:00
|
|
|
void eina_test_quaternion(TCase *tc);
|
2016-01-13 04:46:49 -08:00
|
|
|
void eina_test_vector(TCase *tc);
|
2016-04-01 11:30:37 -07:00
|
|
|
void eina_test_promise(TCase *tc);
|
2015-07-11 23:39:09 -07:00
|
|
|
void eina_test_bezier(TCase *tc);
|
2016-06-10 13:48:38 -07:00
|
|
|
void eina_test_safepointer(TCase *tc);
|
2016-08-12 13:08:38 -07:00
|
|
|
void eina_test_slice(TCase *tc);
|
2016-11-04 03:06:15 -07:00
|
|
|
void eina_test_freeq(TCase *tc);
|
2011-01-16 09:55:41 -08:00
|
|
|
|
|
|
|
#endif /* EINA_SUITE_H_ */
|