diff -r 000000000000 -r b16258d2340f applayerpluginsandutils/uripermissionservices/Test/integration/testwhitelistblacklisturisuite/testdata/testldpolicy.ini --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/applayerpluginsandutils/uripermissionservices/Test/integration/testwhitelistblacklisturisuite/testdata/testldpolicy.ini Tue Feb 02 01:09:52 2010 +0200 @@ -0,0 +1,376 @@ +//testldpolicy.ini +//Ini file for running TLD WhiteListBlackList Tests + +/////////////////////////////////Detinitions//////////////////////////////////// +//List type://////////////////////////////////////////////////////////////////// +////////////EBlackList: 1/////////////////////////////////////////////////////// +////////////EWhiteList: 2/////////////////////////////////////////////////////// +////////////EBothList: 0 --> This is for testing. ///////////////////////////// +//Error codes:////////////////////////////////////////////////////////////////// +////////////KErrNone: 0 //////////////////////////////////////////////////////// +////////////KErrInvalidTLD: -7663 ////////////////////////////////////////////// +//TldQueryType:///////////////////////////////////////////////////////////////// +////////////EPolicyListType: 1 ///////////////////////////////////////////////// +////////////EPolicyCharSet: 2 ///////////////////////////////////////////////// + +//--------------------------------------------------------------------------------------// +///////////////Fetch List type --Expected Blacklist/////////////////////////////////////// +//--------------------------------------------------------------------------------------// + +//////////////////////////////////////////////////////////////////////////////// +//Pre-condition: The Policy.xml should be installed///////////////////////////// +//////////////////////////////////////////////////////////////////////////////// +[Query_Tld_BlackList_1] +Uri = http://www.yahooqz.ac/imi/study/docs +ListType = 1 +TldQueryType = 1 +ExpListType = 1 +IsCapabilityTest = 0 +ExpRetCode = 0 + +//////////////////////////////////////////////////////////////////////////////// +//Pre-condition: The Policy.xml from Z:\ should be installed//////////////////// +//////////////////////////////////////////////////////////////////////////////// +[Query_Tld_BlackList_2] +Uri = http://www.yahooqz.test/imi/study/docs +ListType = 1 +TldQueryType = 1 +ExpListType = 1 +IsCapabilityTest = 0 +ExpRetCode = 0 + +//////////////////////////////////////////////////////////////////////////////// +//Pre-condition: The Policy.xml from Z:\ should be installed//////////////////// +///Only white list data available -- No Black list data available/////////////// +////////////But able to identify List type////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////// +[Query_Tld_BlackList_3] +Uri = http://www.yaqQzz.twt/index.html +ListType = 1 +TldQueryType = 1 +ExpListType = 1 +IsCapabilityTest = 0 +ExpRetCode = 0 + + +//////////////////////////////////////////////////////////////////////////////// +//Pre-condition: The Policy.xml from Z:\ should be installed//////////////////// +//////////////////////////////////////////////////////////////////////////////// +[Query_Tld_BlackList_4] +Uri = http://www.yahooqz.bz/imi/study/docs +ListType = 1 +TldQueryType = 1 +ExpListType = 1 +IsCapabilityTest = 0 +ExpRetCode = 0 + +//////////////////////////////////////////////////////////////////////////////////////// +//Pre-condition: The Policy.xml from ineturilist_maxentries.SIS should be installed///// +//////////////////////////////////////////////////////////////////////////////////////// +[Query_Tld_BlackList_5] +Uri = http://www.yahooqz.com/imi/study/docs +ListType = 1 +TldQueryType = 1 +ExpListType = 1 +IsCapabilityTest = 0 +ExpRetCode = 0 + + +//////////////////////////////////////////////////////////////////////////////////////// +//Pre-condition: The Policy.xml from z:\ should be installed///// +//////////////////////////////////////////////////////////////////////////////////////// +[Query_Tld_BlackList_6] +Uri = http://www.gООgle.cyl/docs +ListType = 1 +TldQueryType = 1 +ExpListType = 1 +IsCapabilityTest = 0 +ExpRetCode = 0 + +[Query_Tld_BlackList_7] +Uri = http://www.ΡΗΙGREEK.grk/PHIENGLISH +ListType = 1 +TldQueryType = 1 +ExpListType = 1 +IsCapabilityTest = 0 +ExpRetCode = 0 + +[Query_Tld_BlackList_9] +Uri = http://www.gοοgle.grk/docs +ListType = 1 +TldQueryType = 1 +ExpListType = 1 +IsCapabilityTest = 0 +ExpRetCode = 0 + +[Query_Tld_BlackList_10] +Uri = http://www.google.arm/docs +ListType = 1 +TldQueryType = 1 +ExpListType = 1 +IsCapabilityTest = 0 +ExpRetCode = 0 + + +//--------------------------------------------------------------------------------------// +///////////////Fetch List type --Expected whitelist/////////////////////////////////////// +//--------------------------------------------------------------------------------------// +//////////////////////////////////////////////////////////////////////////////// +//Pre-condition: The Policy.xml should be installed///////////////////////////// +//////////////////////////////////////////////////////////////////////////////// +[Query_Tld_WhiteList_1] +Uri = http://www.yahoo.ac/imi/study/docs +ListType = 2 +TldQueryType = 1 +ExpListType = 2 +IsCapabilityTest = 0 +ExpRetCode = 0 + +//////////////////////////////////////////////////////////////////////////////// +//Pre-condition: The Policy.xml from Z:\ should be installed//////////////////// +//////////////////////////////////////////////////////////////////////////////// +[Query_Tld_WhiteList_2] +Uri = http://www.yahoo.test/imi/study/docs +ListType = 2 +TldQueryType = 1 +ExpListType = 2 +IsCapabilityTest = 0 +ExpRetCode = 0 + +//////////////////////////////////////////////////////////////////////////////// +//Pre-condition: The Policy.xml from Z:\ should be installed//////////////////// +//////////////////////////////////////////////////////////////////////////////// +[Query_Tld_WhiteList_3] +Uri = http://www.yahoo.twt/index.html +ListType = 2 +TldQueryType = 1 +ExpListType = 2 +IsCapabilityTest = 0 +ExpRetCode = 0 + +//////////////////////////////////////////////////////////////////////////////// +//Pre-condition: The Policy.xml from Z:\ should be installed//////////////////// +///Only Black list data available -- No white list data available/////////////// +////////////But able to identify List type////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////// +[Query_Tld_WhiteList_4] +Uri = http://www.yahoo.tbl/index.html +ListType = 2 +TldQueryType = 1 +ExpListType = 2 +IsCapabilityTest = 0 +ExpRetCode = 0 +//////////////////////////////////////////////////////////////////////////////////////// +//Pre-condition: The Policy.xml from ineturilist_maxentries.SIS should be installed///// +//////////////////////////////////////////////////////////////////////////////////////// +[Query_Tld_WhiteList_5] +Uri = http://www.yahoo.com/index.html +ListType = 2 +TldQueryType = 1 +ExpListType = 2 +IsCapabilityTest = 0 +ExpRetCode = 0 + +//////////////////////////////////////////////////////////////////////////////// +//Pre-condition: The Policy.xml from Z:\ should be installed//////////////////// +//////////////////////////////////////////////////////////////////////////////// +[Query_Tld_WhiteList_6] +Uri = http://www.ԴԵԶԷԸԹԺԻԼԽԾԿՀՁՂՃ.arm/imi/study/docs +ListType = 2 +TldQueryType = 1 +ExpListType = 2 +IsCapabilityTest = 0 +ExpRetCode = 0 + +//-------------------------------------------------------------------------------------- + +//////////////////////////////////////////////////////////////////////////////// +//Pre-condition: The Policy.xml should be installed///////////////////////////// +//////////////////////////////////////////////////////////////////////////////// +[Query_Tld_Unknown_1] +Uri = http://www.yahoo.tbb/imi/study/docs +ListType = 2 +TldQueryType = 1 +ExpListType = 2 +IsCapabilityTest = 0 +ExpRetCode = -7663 + +[Query_Tld_Unknown_2] +Uri = http://www.yahoo.tbz/imi/study/docs +ListType = 2 +TldQueryType = 1 +ExpListType = 2 +IsCapabilityTest = 0 +ExpRetCode = -7663 +//--------------------------------------------------------------------------------------// +///////////////Fetch Policy data --Expected Blacklist data//////////////////////////////// +//--------------------------------------------------------------------------------------// +//////////////////////////////////////////////////////////////////////////////// +//Pre-condition: The Policy.xml should be installed///////////////////////////// +//////////////////////////////////////////////////////////////////////////////// +[Query_Tld_Policy_BlackList_1] +Uri = http://www.yahooqz.ac/imi/study/docs +ListType = 1 +TldQueryType = 2 +ExpListType = 1 +IsCapabilityTest = 0 +ExpRetCode = 0 + +[Query_Tld_Policy_BlackList_2] +Uri = http://www.yahooqz.test/imi/study/docs +ListType = 1 +TldQueryType = 2 +ExpListType = 1 +IsCapabilityTest = 0 +ExpRetCode = 0 + +[Query_Tld_Policy_BlackList_3] +Uri = http://www.yahooqz.bz/imi/study/docs +ListType = 1 +TldQueryType = 2 +ExpListType = 1 +IsCapabilityTest = 0 +ExpRetCode = 0 + +//////////////////////////////////////////////////////////////////////////////////////// +//Pre-condition: The Policy.xml from ineturilist_maxentries.SIS should be installed///// +//////////////////////////////////////////////////////////////////////////////////////// +[Query_Tld_Policy_BlackList_4] +Uri = http://www.yahooqz.com/imi/study/docs +ListType = 1 +TldQueryType = 2 +ExpListType = 1 +IsCapabilityTest = 0 +ExpRetCode = 0 + +[Query_Tld_Policy_BlackList_5] +Uri = http://www.yahooqz.twt/imi/study/docs +ListType = 1 +TldQueryType = 2 +ExpListType = 1 +IsCapabilityTest = 0 +ExpRetCode = -7663 + +//////////////////////////////////////////////////////////////////////////////////////// +//////////////////Pre-condition: The Policy.xml from z:\ should be installed//////////// +//////////////////////////////////////////////////////////////////////////////////////// +[Query_Tld_Policy_BlackList_6] +Uri = http://www.gООgle.cyl/docs +ListType = 1 +TldQueryType = 2 +ExpListType = 1 +IsCapabilityTest = 0 +ExpRetCode = 0 + +[Query_Tld_Policy_BlackList_7] +Uri = http://www.ΡΗΙGREEK.grk/PHIENGLISH +ListType = 1 +TldQueryType = 2 +ExpListType = 1 +IsCapabilityTest = 0 +ExpRetCode = 0 + +[Query_Tld_Policy_BlackList_8] +Uri = http://www.gοοgle.grk/docs +ListType = 1 +TldQueryType = 2 +ExpListType = 1 +IsCapabilityTest = 0 +ExpRetCode = 0 + +//--------------------------------------------------------------------------------------// +///////////////Fetch Policy data --Expected Whitelist data//////////////////////////////// +//--------------------------------------------------------------------------------------// +//////////////////////////////////////////////////////////////////////////////// +//Pre-condition: The Policy.xml should be installed///////////////////////////// +//////////////////////////////////////////////////////////////////////////////// +[Query_Tld_Policy_WhiteList_1] +Uri = http://www.yahoo.ac/imi/study/docs +ListType = 2 +TldQueryType = 2 +ExpListType = 2 +IsCapabilityTest = 0 +ExpRetCode = 0 + +[Query_Tld_Policy_WhiteList_2] +Uri = http://www.yahoo.test/imi/study/docs +ListType = 2 +TldQueryType = 2 +ExpListType = 2 +IsCapabilityTest = 0 +ExpRetCode = 0 + +//////////////////////////////////////////////////////////////////////////////////////// +//Pre-condition: The Policy.xml from ineturilist_maxentries.SIS should be installed///// +//////////////////////////////////////////////////////////////////////////////////////// +[Query_Tld_Policy_WhiteList_3] +Uri = http://www.yahoo.com/imi/study/docs +ListType = 2 +TldQueryType = 2 +ExpListType = 2 +IsCapabilityTest = 0 +ExpRetCode = 0 + +[Query_Tld_Policy_WhiteList_4] +Uri = http://www.yahoo.twt/imi/study/docs +ListType = 2 +TldQueryType = 2 +ExpListType = 2 +IsCapabilityTest = 0 +ExpRetCode = 0 +//////////////////////////////////////////////////////////////////////////////////////// +//////////////////Pre-condition: The Policy.xml from z:\ should be installed//////////// +//////////////////////////////////////////////////////////////////////////////////////// +[Query_Tld_Policy_WhiteList_5] +Uri = http://www.ԴԵԶԷԸԹԺԻԼԽԾԿՀՁՂՃ.arm/imi/study/docs +ListType = 2 +TldQueryType = 2 +ExpListType = 2 +IsCapabilityTest = 0 +ExpRetCode = 0 +//////////////////////////////////////////////////////////////////////////////// +//Pre-condition: The Policy.xml should be installed///////////////////////////// +//////////////////////////////////////////////////////////////////////////////// +[Query_Tld_Policy_Unknown_1] +Uri = http://www.yahoo.tbb/imi/study/docs +ListType = 2 +TldQueryType = 2 +ExpListType = 2 +IsCapabilityTest = 0 +ExpRetCode = -7663 + +[Query_Tld_Policy_Unknown_2] +Uri = http://www.yahoo.tbz/imi/study/docs +ListType = 2 +TldQueryType = 2 +ExpListType = 2 +IsCapabilityTest = 0 +ExpRetCode = -7663 + +//////////////////////////////////////////////////////////////////////////////// +//Pre-condition: The Policy.xml from Z:\ should be installed//////////////////// +///Only Black list data available -- No white list data available/////////////// +////////////But able to identify List type////////////////////////////////////// +///////ExpRetCode is -7663 for fetching Policy data //////////////////////////// +//////////////////////////////////////////////////////////////////////////////// +[Query_Tld_Policy_Unknown_3] +Uri = http://www.yahoo.tbl/index.html +ListType = 2 +TldQueryType = 1 +ExpListType = 2 +IsCapabilityTest = 0 +ExpRetCode = -7663 + +//////////////////////////////////////////////////////////////////////////////// +//Pre-condition: The Policy.xml from Z:\ should be installed//////////////////// +///Only white list data available -- No Black list data available/////////////// +////////////But able to identify List type////////////////////////////////////// +///////ExpRetCode is -7663 for fetching Policy data //////////////////////////// +//////////////////////////////////////////////////////////////////////////////// +[Query_Tld_Policy_Unknown_4] +Uri = http://www.yaqQzz.twt/index.html +ListType = 1 +TldQueryType = 1 +ExpListType = 1 +IsCapabilityTest = 0 +ExpRetCode = -7663 \ No newline at end of file