00001 00009 #ifndef AV_AVTTEST_H 00010 #define AV_AVTTEST_H 00011 00012 #include <cybergarage/upnp/ccontrolpoint.h> 00013 00014 #define NUM_AVT_TEST_CASES 11 00015 00016 #define TEST_CASE_AVT_SET_AVTRANSPORT_URI "AVT Set AVTransport URI Test" 00017 #define TEST_CASE_AVT_GET_MEDIA_INFO "AVT Get Media Info Test" 00018 #define TEST_CASE_AVT_GET_TRANSPORT_INFO "AVT Get Transport Info Test" 00019 #define TEST_CASE_AVT_GET_POSITION_INFO "AVT Get Position Info Test" 00020 #define TEST_CASE_AVT_GET_DEVICE_CAPABILITIES "AVT Get Device Capabilities Test" 00021 #define TEST_CASE_AVT_GET_TRANSPORT_SETTINGS "AVT Get Transport Settings Test" 00022 #define TEST_CASE_AVT_STOP "AVT Stop Test" 00023 #define TEST_CASE_AVT_PLAY "AVT Play Test" 00024 #define TEST_CASE_AVT_SEEK "AVT Seek Test" 00025 #define TEST_CASE_AVT_NEXT "AVT Next Test" 00026 #define TEST_CASE_AVT_PREVIOUS "AVT Previous Test" 00027 00028 int cp_test_avt_print_statistics(); 00029 00030 int cp_test_avt(CgUpnpControlPoint* cp); 00031 00032 int cp_test_avt_set_avtransport_uri(CgUpnpControlPoint* cp, char* udn); 00033 BOOL cp_test_avt_get_res_from_didllite(char* doc, char** uri); 00034 00035 int cp_test_avt_get_media_info(CgUpnpControlPoint* cp, char* udn); 00036 int cp_test_avt_get_transport_info(CgUpnpControlPoint* cp, char* udn); 00037 int cp_test_avt_get_position_info(CgUpnpControlPoint* cp, char* udn); 00038 int cp_test_avt_get_device_capabilities(CgUpnpControlPoint* cp, char* udn); 00039 int cp_test_avt_get_transport_settings(CgUpnpControlPoint* cp, char* udn); 00040 00041 int cp_test_avt_stop(CgUpnpControlPoint* cp, char* udn); 00042 int cp_test_avt_play(CgUpnpControlPoint* cp, char* udn); 00043 00044 int cp_test_avt_seek(CgUpnpControlPoint* cp, char* udn); 00045 int cp_test_avt_next(CgUpnpControlPoint* cp, char* udn); 00046 int cp_test_avt_previous(CgUpnpControlPoint* cp, char* udn); 00047 00048 #endif