[main]
bio_test doatstart
bio_test wapp0077
bio_test doattheend


// Startup section.
[doatstart]
clean_all_bio_msgs


// Shutdown section.
[doattheend]


// wapp tests.
[wapp0077]
gen_msg_from_file wapp\wapp0077.bin
check_used_bif 10005532
bio_client_parse
bio_client_process
dump_parsed_message
chk_file_in_msg_dir_with_ext
//
// check commdb tables for correct entries
bio_commdb DialOutIsp wapp0077_commdb_dialoutisp_table
bio_commdb IAP wapp0077_commdb_iap_table
bio_commdb WAPAccessPoint wapp0077_commdb_wapap_table
bio_commdb WAPIPBearer wapp0077_commdb_wapip_table
bio_commdb WAPSMSBearer wapp0077_commdb_wapsms_table


[wapp0077_commdb_dialoutisp_table]
commdb_check text IpGateway "111.128.128.77"
commdb_check text DefaultTelNum "+4420712345678"
commdb_check text LoginName "username"
commdb_check text IfAuthName "username"
commdb_check uint BearerProtocol "3"
commdb_check uint BearerSpeed "1"
commdb_check text Description "Worldwide ISP"
commdb_check text Name "WAP World-GsmCsd"


[wapp0077_commdb_iap_table]
commdb_check text Name "WAP World-GsmCsd"


[wapp0077_commdb_wapap_table]
commdb_check text StartPage "/index.wml"
commdb_check text Name "WAP World"


[wapp0077_commdb_wapip_table]
commdb_check text GatewayAddress "111.128.128.77"
commdb_check uint ProxyPortNumber "9201"
commdb_check bool WSPOption "true"
commdb_check bool Security "false"
commdb_check text ProxyLogin "proxyname"
commdb_check text ProxyPassword "proxysecret"


[wapp0077_commdb_wapsms_table]
commdb_check text GatewayAddress "77008877"
commdb_check bool WSPOption "true"
commdb_check bool Security "false"
commdb_check text ServiceCentreAddress "+441020304050"
