blob: f7fae812077ed0854d0505897e3aec007485bf41 [file] [log] [blame]
Tristan Matthews0a329cc2013-07-17 13:20:14 -04001/* $Id$ */
2/*
3 * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
4 * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
5 *
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
26#define HAS_VID_DEV_TEST PJMEDIA_HAS_VIDEO
27#define HAS_VID_PORT_TEST PJMEDIA_HAS_VIDEO
28#define HAS_VID_CODEC_TEST PJMEDIA_HAS_VIDEO
29#define HAS_SDP_NEG_TEST 1
30#define HAS_JBUF_TEST 1
31#define HAS_MIPS_TEST 1
32#define HAS_CODEC_VECTOR_TEST 1
33
34int session_test(void);
35int rtp_test(void);
36int sdp_test(void);
37int jbuf_main(void);
38int sdp_neg_test(void);
39int mips_test(void);
40int codec_test_vectors(void);
41int vid_codec_test(void);
42int vid_dev_test(void);
43int vid_port_test(void);
44
45extern pj_pool_factory *mem;
46void app_perror(pj_status_t status, const char *title);
47
48int test_main(void);
49
50#endif /* __PJMEDIA_TEST_H__ */