avttest.c File Reference

#include <cybergarage/avtransport/cavtransport.h>
#include <cybergarage/avtransport/cavtcontrolpoint.h>
#include <cybergarage/avtransport/cavtactionarguments.h>
#include <cybergarage/avcontrol/cavcontrolpoint.h>
#include <cybergarage/contentdirectory/ccdscontrolpoint.h>
#include <cybergarage/contentdirectory/ccontentdirectory.h>
#include <cybergarage/contentdirectory/cdidllite.h>
#include <math.h>
#include "cptest.h"
#include "avttest.h"
#include "cdstest.h"

Functions

int cp_test_avt_print_statistics ()
int cp_test_avt (CgUpnpControlPoint *cp)
int cp_test_avt_set_avtransport_uri (CgUpnpControlPoint *cp, char *udn)
BOOL cp_test_avt_get_res_from_didllite (char *doc, char **uri)
int cp_test_avt_get_media_info (CgUpnpControlPoint *cp, char *udn)
int cp_test_avt_get_transport_info (CgUpnpControlPoint *cp, char *udn)
int cp_test_avt_get_position_info (CgUpnpControlPoint *cp, char *udn)
int cp_test_avt_get_device_capabilities (CgUpnpControlPoint *cp, char *udn)
int cp_test_avt_get_transport_settings (CgUpnpControlPoint *cp, char *udn)
int cp_test_avt_stop (CgUpnpControlPoint *cp, char *udn)
int cp_test_avt_play (CgUpnpControlPoint *cp, char *udn)
int cp_test_avt_seek (CgUpnpControlPoint *cp, char *udn)
int cp_test_avt_next (CgUpnpControlPoint *cp, char *udn)
int cp_test_avt_previous (CgUpnpControlPoint *cp, char *udn)

Variables

AVCPSubTestCase avt_tc [NUM_AVT_TEST_CASES]
AVCPSubTestCase cds_tc []

Function Documentation

int cp_test_avt CgUpnpControlPoint *  cp  ) 
 

int cp_test_avt_get_device_capabilities CgUpnpControlPoint *  cp,
char *  udn
 

int cp_test_avt_get_media_info CgUpnpControlPoint *  cp,
char *  udn
 

int cp_test_avt_get_position_info CgUpnpControlPoint *  cp,
char *  udn
 

BOOL cp_test_avt_get_res_from_didllite char *  doc,
char **  uri
 

int cp_test_avt_get_transport_info CgUpnpControlPoint *  cp,
char *  udn
 

int cp_test_avt_get_transport_settings CgUpnpControlPoint *  cp,
char *  udn
 

int cp_test_avt_next CgUpnpControlPoint *  cp,
char *  udn
 

int cp_test_avt_play CgUpnpControlPoint *  cp,
char *  udn
 

int cp_test_avt_previous CgUpnpControlPoint *  cp,
char *  udn
 

int cp_test_avt_print_statistics  ) 
 

int cp_test_avt_seek CgUpnpControlPoint *  cp,
char *  udn
 

int cp_test_avt_set_avtransport_uri CgUpnpControlPoint *  cp,
char *  udn
 

int cp_test_avt_stop CgUpnpControlPoint *  cp,
char *  udn
 


Variable Documentation

AVCPSubTestCase avt_tc[NUM_AVT_TEST_CASES]
 

Initial value:

 
{
        {TEST_CASE_AVT_SET_AVTRANSPORT_URI, CG_UPNP_STATUS_ACTION_FAILED, cp_test_avt_set_avtransport_uri, NULL},
        {TEST_CASE_AVT_GET_DEVICE_CAPABILITIES, CG_UPNP_STATUS_ACTION_FAILED, cp_test_avt_get_device_capabilities, NULL},
        {TEST_CASE_AVT_GET_TRANSPORT_SETTINGS, CG_UPNP_STATUS_ACTION_FAILED, cp_test_avt_get_transport_settings, NULL},
        {TEST_CASE_AVT_STOP, CG_UPNP_STATUS_ACTION_FAILED, cp_test_avt_stop, NULL},
        {TEST_CASE_AVT_PLAY, CG_UPNP_STATUS_ACTION_FAILED, cp_test_avt_play, NULL},
        {TEST_CASE_AVT_SEEK, CG_UPNP_STATUS_ACTION_FAILED, cp_test_avt_seek, NULL},
        {TEST_CASE_AVT_GET_MEDIA_INFO, CG_UPNP_STATUS_ACTION_FAILED, cp_test_avt_get_media_info, NULL}, 
        {TEST_CASE_AVT_GET_TRANSPORT_INFO, CG_UPNP_STATUS_ACTION_FAILED, cp_test_avt_get_transport_info, NULL},
        {TEST_CASE_AVT_GET_POSITION_INFO, CG_UPNP_STATUS_ACTION_FAILED, cp_test_avt_get_position_info, NULL},
        {TEST_CASE_AVT_NEXT, CG_UPNP_STATUS_ACTION_FAILED, cp_test_avt_next, NULL},
        {TEST_CASE_AVT_PREVIOUS, CG_UPNP_STATUS_ACTION_FAILED, cp_test_avt_previous, NULL}
}
Clinkc-av control point test tool

AV Transport Service tests

Copyright (c) 2006 Nokia Corporation

AVCPSubTestCase cds_tc[]
 

Clinkc-av control point test tool

Content Directory Service tests

Copyright (c) 2006 Nokia Corporation


Generated on Mon Aug 14 10:23:34 2006 for CyberLinkC-AV by  doxygen 1.4.6