blob: 96dc9d54c1438fc28aab5de217591d61cd628d64 [file] [log] [blame]
Benny Prijono4ea0bf12006-02-02 19:16:07 +00001/* $Id$ */
2/*
Benny Prijono844653c2008-12-23 17:27:53 +00003 * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com)
Benny Prijono32177c02008-06-20 22:44:47 +00004 * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
Benny Prijono4ea0bf12006-02-02 19:16:07 +00005 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 */
20#ifndef __PJMEDIA_TEST_H__
21#define __PJMEDIA_TEST_H__
22
23#include <pjmedia.h>
24#include <pjlib.h>
25
Benny Prijono41a14512009-08-15 10:05:36 +000026#define HAS_SDP_NEG_TEST 1
27#define HAS_JBUF_TEST 1
28#define HAS_MIPS_TEST 1
29#define HAS_CODEC_VECTOR_TEST 1
Benny Prijono4ea0bf12006-02-02 19:16:07 +000030
31int session_test(void);
32int rtp_test(void);
33int sdp_test(void);
34int jbuf_main(void);
35int sdp_neg_test(void);
Benny Prijono0ff56dc2008-07-04 16:45:17 +000036int mips_test(void);
Benny Prijono1dc0da72009-04-18 00:12:13 +000037int codec_test_vectors(void);
Benny Prijono4ea0bf12006-02-02 19:16:07 +000038
39extern pj_pool_factory *mem;
40void app_perror(pj_status_t status, const char *title);
41
42int test_main(void);
43
44#endif /* __PJMEDIA_TEST_H__ */