1
/* $Id: test.h 3667 2011-07-19 11:11:07Z nanang $ */
3
* Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
4
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
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.
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.
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
20
#ifndef __PJMEDIA_TEST_H__
21
#define __PJMEDIA_TEST_H__
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
34
int session_test(void);
38
int sdp_neg_test(void);
40
int codec_test_vectors(void);
41
int vid_codec_test(void);
42
int vid_dev_test(void);
43
int vid_port_test(void);
45
extern pj_pool_factory *mem;
46
void app_perror(pj_status_t status, const char *title);
50
#endif /* __PJMEDIA_TEST_H__ */