00001 00009 #ifndef AV_CDSTEST_H 00010 #define AV_CDSTEST_H 00011 00012 #include <cybergarage/upnp/ccontrolpoint.h> 00013 00014 #define NUM_CDS_TEST_CASES 5 00015 00016 #define TEST_CASE_CDS_GET_SEARCH_CAPS "CDS Get Search Caps Test" 00017 #define TEST_CASE_CDS_GET_SORT_CAPS "CDS Get Sort Caps Test" 00018 #define TEST_CASE_CDS_GET_SYSTEM_UPDATE_ID "CDS Get System Update ID Test" 00019 #define TEST_CASE_CDS_BROWSE_DIRECT_CHILDREN "CDS Browse Direct Children Test" 00020 #define TEST_CASE_CDS_SEARCH "CDS Search" 00021 00022 int cp_test_cds_print_statistics(); 00023 00024 BOOL cp_test_cds(CgUpnpControlPoint* cp); 00025 00026 int cp_test_cds_get_search_caps(CgUpnpControlPoint* cp, char* udn); 00027 int cp_test_cds_get_sort_caps(CgUpnpControlPoint* cp, char* udn); 00028 int cp_test_cds_get_system_update_id(CgUpnpControlPoint* cp, char* udn); 00029 int cp_test_cds_browse_direct_children(CgUpnpControlPoint* cp, char* udn); 00030 int cp_test_cds_search(CgUpnpControlPoint* cp, char* udn); 00031 00032 #endif