Alexandre Lision | 8af73cb | 2013-12-10 14:11:20 -0500 | [diff] [blame] | 1 | /* $Id: test.h 3667 2011-07-19 11:11:07Z nanang $ */ |
Tristan Matthews | 0a329cc | 2013-07-17 13:20:14 -0400 | [diff] [blame] | 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 | |
| 34 | int session_test(void); |
| 35 | int rtp_test(void); |
| 36 | int sdp_test(void); |
| 37 | int jbuf_main(void); |
| 38 | int sdp_neg_test(void); |
| 39 | int mips_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); |
| 44 | |
| 45 | extern pj_pool_factory *mem; |
| 46 | void app_perror(pj_status_t status, const char *title); |
| 47 | |
| 48 | int test_main(void); |
| 49 | |
| 50 | #endif /* __PJMEDIA_TEST_H__ */ |