From 34f9736529237fb335b712f6bf2b0cd1730de4c3 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Mon, 28 Apr 2014 02:03:58 +0200 Subject: [PATCH] DotAsia test case --- test/data/pixelmania.asia | 126 +++++++++++++++++++++++++ test/target_default/pixelmania.asia | 1 + test/target_normalized/pixelmania.asia | 1 + 3 files changed, 128 insertions(+) create mode 100644 test/data/pixelmania.asia create mode 100644 test/target_default/pixelmania.asia create mode 100644 test/target_normalized/pixelmania.asia diff --git a/test/data/pixelmania.asia b/test/data/pixelmania.asia new file mode 100644 index 0000000..db7f82a --- /dev/null +++ b/test/data/pixelmania.asia @@ -0,0 +1,126 @@ +DotAsia WHOIS LEGAL STATEMENT AND TERMS & CONDITIONS: The WHOIS service offered +by DotAsia and the access to the records in the DotAsia WHOIS database are provided +for information purposes only. It allows persons to check whether a specific +domain name is still available or not and to obtain information related to +the registration records of existing domain names. DotAsia cannot, under any +circumstances, be held liable in case the stored information would prove to +be wrong, incomplete, or not accurate in any sense. By submitting a query +you agree not to use the information made available to: allow, enable or +otherwise support the transmission of unsolicited, commercial advertising or +other solicitations whether via email or otherwise; target advertising in any +possible way; or to cause nuisance in any possible way to the registrants by +sending (whether by automated, electronic processes capable of enabling high +volumes or other possible means) messages to them. Without prejudice to the +above, it is explicitly forbidden to extract, copy and/or use or re-utilise +in any form and by any means (electronically or not) the whole or a +quantitatively or qualitatively substantial part of the contents of the WHOIS +database without prior and explicit permission by DotAsia, nor in any attempt +hereof, or to apply automated, electronic processes to DotAsia (or its systems). +You agree that any reproduction and/or transmission of data for commercial +purposes will always be considered as the extraction of a substantial part of +the content of the WHOIS database. By submitting the query you agree to abide +by this policy and accept that DotAsia can take measures to limit the use of its +WHOIS services in order to protect the privacy of its registrants or the +integrity of the database. + +Domain ID:D1861281-ASIA +Domain Name:PIXELMANIA.ASIA +Domain Create Date:11-Aug-2011 15:22:37 UTC +Domain Expiration Date:11-Aug-2014 15:22:37 UTC +Domain Last Updated Date:11-Aug-2013 22:20:16 UTC +Last Transferred Date: +Created by:EuroDNS S.A. R36-ASIA (1052) +Last Updated by Registrar:ASIA Registry R6-ASIA (9996) +Sponsoring Registrar:EuroDNS S.A. R36-ASIA (1052) +Domain Status:OK +Registrant ID:Edns-r5085117 +Registrant Name:Knack Hans-Peter +Registrant Organization:Einkaufen und Reisen Ltd. +Registrant Address:69 Great Hampton Street +Registrant Address2: +Registrant Address3: +Registrant City:Birmingham +Registrant State/Province: +Registrant Country/Economy:GB +Registrant Postal Code:B18 6EW +Registrant Phone:+49.2015146701 +Registrant Phone Ext.: +Registrant FAX:+49.2015146703 +Registrant FAX Ext.: +Registrant E-mail:contact@einkaufen-und-reisen.eu +Administrative ID:edns_Korea +Administrative Name:WhoisPrivacy Limited +Administrative Organization: +Administrative Address:3/F, Jonsim Place +Administrative Address2:228 Queen's Road East +Administrative Address3: +Administrative City:Wanchai +Administrative State/Province: +Administrative Country/Economy:HK +Administrative Postal Code: +Administrative Phone:+852.58081344 +Administrative Phone Ext.: +Administrative FAX:+852.58081345 +Administrative FAX Ext.: +Administrative E-mail:ced@dotasia.eurodns.com +Administrative ID:Edns-a5085117 +Administrative Name:Knack Hans-Peter +Administrative Organization: +Administrative Address:Grendplatz 3 +Administrative Address2: +Administrative Address3: +Administrative City:Essen +Administrative State/Province: +Administrative Country/Economy:DE +Administrative Postal Code:45276 +Administrative Phone:+49.2015146701 +Administrative Phone Ext.: +Administrative FAX:+49.2015146703 +Administrative FAX Ext.: +Administrative E-mail:hpk@einkaufen-und-reisen.eu +Technical ID:edns-Technical2 +Technical Name:Adlani Anouar +Technical Organization:EuroDNS S.A. +Technical Address:2, rue Leon Laval +Technical Address2: +Technical Address3: +Technical City:Leudelange +Technical State/Province:- +Technical Country/Economy:LU +Technical Postal Code:L-3372 +Technical Phone:+352.26319161 +Technical Phone Ext.: +Technical FAX:+352.26372537 +Technical FAX Ext.: +Technical E-mail:hostmaster@eurodns.com +Billing ID:Edns-b5085117 +Billing Name:Knack Hans-Peter +Billing Organization:Einkaufen und Reisen Ltd. +Billing Address:69 Great Hampton Street +Billing Address2: +Billing Address3: +Billing City:Birmingham +Billing State/Province: +Billing Country/Economy:GB +Billing Postal Code:B18 6EW +Billing Phone:+49.2015146701 +Billing Phone Ext.: +Billing FAX:+49.2015146703 +Billing FAX Ext.: +Billing E-mail:contact@einkaufen-und-reisen.eu +Nameservers:NS1.EURODNS.COM +Nameservers:NS2.EURODNS.COM +Nameservers:NS3.EURODNS.COM +Nameservers:NS4.EURODNS.COM +Nameservers: +Nameservers: +Nameservers: +Nameservers: +Nameservers: +Nameservers: +Nameservers: +Nameservers: +Nameservers: + + + diff --git a/test/target_default/pixelmania.asia b/test/target_default/pixelmania.asia new file mode 100644 index 0000000..a7d3aad --- /dev/null +++ b/test/target_default/pixelmania.asia @@ -0,0 +1 @@ +{"status": ["OK"], "updated_date": ["2013-08-11T22:20:16"], "contacts": {"admin": {"city": "Queen's Road East", "fax": "+852.58081345", "handle": "edns_Korea", "name": "WhoisPrivacy Limited", "phone": "+852.58081344", "street": "3/F, Jonsim Place", "country": "HK", "postalcode": "228", "email": "ced@dotasia.eurodns.com"}, "tech": {"city": "Leudelange", "fax": "+352.26372537", "handle": "edns-Technical2", "name": "Adlani Anouar", "state": "-", "phone": "+352.26319161", "street": "2, rue Leon Laval", "country": "LU", "postalcode": "L-3372", "organization": "EuroDNS S.A.", "email": "hostmaster@eurodns.com"}, "registrant": {"city": "Birmingham", "fax": "+49.2015146703", "handle": "Edns-r5085117", "name": "Knack Hans-Peter", "phone": "+49.2015146701", "street": "69 Great Hampton Street", "country": "GB", "postalcode": "B18 6EW", "organization": "Einkaufen und Reisen Ltd.", "email": "contact@einkaufen-und-reisen.eu"}, "billing": {"city": "Birmingham", "fax": "+49.2015146703", "handle": "Edns-b5085117", "name": "Knack Hans-Peter", "phone": "+49.2015146701", "street": "69 Great Hampton Street", "country": "GB", "postalcode": "B18 6EW", "organization": "Einkaufen und Reisen Ltd.", "email": "contact@einkaufen-und-reisen.eu"}}, "nameservers": ["NS1.EURODNS.COM", "NS2.EURODNS.COM", "NS3.EURODNS.COM", "NS4.EURODNS.COM"], "expiration_date": ["2014-08-11T15:22:37"], "emails": ["hpk@einkaufen-und-reisen.eu"], "raw": ["DotAsia WHOIS LEGAL STATEMENT AND TERMS & CONDITIONS: The WHOIS service offered \nby DotAsia and the access to the records in the DotAsia WHOIS database are provided\nfor information purposes only. It allows persons to check whether a specific \ndomain name is still available or not and to obtain information related to \nthe registration records of existing domain names. DotAsia cannot, under any \ncircumstances, be held liable in case the stored information would prove to \nbe wrong, incomplete, or not accurate in any sense. By submitting a query \nyou agree not to use the information made available to: allow, enable or \notherwise support the transmission of unsolicited, commercial advertising or \nother solicitations whether via email or otherwise; target advertising in any \npossible way; or to cause nuisance in any possible way to the registrants by \nsending (whether by automated, electronic processes capable of enabling high \nvolumes or other possible means) messages to them. Without prejudice to the \nabove, it is explicitly forbidden to extract, copy and/or use or re-utilise \nin any form and by any means (electronically or not) the whole or a \nquantitatively or qualitatively substantial part of the contents of the WHOIS \ndatabase without prior and explicit permission by DotAsia, nor in any attempt \nhereof, or to apply automated, electronic processes to DotAsia (or its systems). \nYou agree that any reproduction and/or transmission of data for commercial \npurposes will always be considered as the extraction of a substantial part of \nthe content of the WHOIS database. By submitting the query you agree to abide \nby this policy and accept that DotAsia can take measures to limit the use of its \nWHOIS services in order to protect the privacy of its registrants or the \nintegrity of the database. \n\nDomain ID:D1861281-ASIA\nDomain Name:PIXELMANIA.ASIA\nDomain Create Date:11-Aug-2011 15:22:37 UTC\nDomain Expiration Date:11-Aug-2014 15:22:37 UTC\nDomain Last Updated Date:11-Aug-2013 22:20:16 UTC\nLast Transferred Date:\nCreated by:EuroDNS S.A. R36-ASIA (1052)\nLast Updated by Registrar:ASIA Registry R6-ASIA (9996)\nSponsoring Registrar:EuroDNS S.A. R36-ASIA (1052)\nDomain Status:OK\nRegistrant ID:Edns-r5085117\nRegistrant Name:Knack Hans-Peter\nRegistrant Organization:Einkaufen und Reisen Ltd.\nRegistrant Address:69 Great Hampton Street\nRegistrant Address2:\nRegistrant Address3:\nRegistrant City:Birmingham\nRegistrant State/Province:\nRegistrant Country/Economy:GB\nRegistrant Postal Code:B18 6EW\nRegistrant Phone:+49.2015146701\nRegistrant Phone Ext.:\nRegistrant FAX:+49.2015146703\nRegistrant FAX Ext.:\nRegistrant E-mail:contact@einkaufen-und-reisen.eu\nAdministrative ID:edns_Korea\nAdministrative Name:WhoisPrivacy Limited\nAdministrative Organization:\nAdministrative Address:3/F, Jonsim Place\nAdministrative Address2:228 Queen's Road East\nAdministrative Address3:\nAdministrative City:Wanchai\nAdministrative State/Province:\nAdministrative Country/Economy:HK\nAdministrative Postal Code:\nAdministrative Phone:+852.58081344\nAdministrative Phone Ext.:\nAdministrative FAX:+852.58081345\nAdministrative FAX Ext.:\nAdministrative E-mail:ced@dotasia.eurodns.com\nAdministrative ID:Edns-a5085117\nAdministrative Name:Knack Hans-Peter\nAdministrative Organization:\nAdministrative Address:Grendplatz 3\nAdministrative Address2:\nAdministrative Address3:\nAdministrative City:Essen\nAdministrative State/Province:\nAdministrative Country/Economy:DE\nAdministrative Postal Code:45276\nAdministrative Phone:+49.2015146701\nAdministrative Phone Ext.:\nAdministrative FAX:+49.2015146703\nAdministrative FAX Ext.:\nAdministrative E-mail:hpk@einkaufen-und-reisen.eu\nTechnical ID:edns-Technical2\nTechnical Name:Adlani Anouar\nTechnical Organization:EuroDNS S.A.\nTechnical Address:2, rue Leon Laval\nTechnical Address2:\nTechnical Address3:\nTechnical City:Leudelange\nTechnical State/Province:-\nTechnical Country/Economy:LU\nTechnical Postal Code:L-3372\nTechnical Phone:+352.26319161\nTechnical Phone Ext.:\nTechnical FAX:+352.26372537\nTechnical FAX Ext.:\nTechnical E-mail:hostmaster@eurodns.com\nBilling ID:Edns-b5085117\nBilling Name:Knack Hans-Peter\nBilling Organization:Einkaufen und Reisen Ltd.\nBilling Address:69 Great Hampton Street\nBilling Address2:\nBilling Address3:\nBilling City:Birmingham\nBilling State/Province:\nBilling Country/Economy:GB\nBilling Postal Code:B18 6EW\nBilling Phone:+49.2015146701\nBilling Phone Ext.:\nBilling FAX:+49.2015146703\nBilling FAX Ext.:\nBilling E-mail:contact@einkaufen-und-reisen.eu\nNameservers:NS1.EURODNS.COM\nNameservers:NS2.EURODNS.COM\nNameservers:NS3.EURODNS.COM\nNameservers:NS4.EURODNS.COM\nNameservers: \nNameservers: \nNameservers: \nNameservers: \nNameservers: \nNameservers: \nNameservers: \nNameservers: \nNameservers: \n\n\n\n"], "registrar": ["ASIA Registry R6-ASIA (9996)", "EuroDNS S.A. R36-ASIA (1052)"], "creation_date": ["2011-08-11T15:22:37", "2011-08-11T15:22:37"], "id": ["D1861281-ASIA"]} \ No newline at end of file diff --git a/test/target_normalized/pixelmania.asia b/test/target_normalized/pixelmania.asia new file mode 100644 index 0000000..4724f54 --- /dev/null +++ b/test/target_normalized/pixelmania.asia @@ -0,0 +1 @@ +{"status": ["OK"], "updated_date": ["2013-08-11T22:20:16"], "contacts": {"admin": {"city": "Queen's Road East", "fax": "+852.58081345", "handle": "edns_Korea", "name": "WhoisPrivacy Limited", "phone": "+852.58081344", "street": "3/F, Jonsim Place", "country": "HK", "postalcode": "228", "email": "ced@dotasia.eurodns.com"}, "tech": {"city": "Leudelange", "fax": "+352.26372537", "handle": "edns-Technical2", "name": "Adlani Anouar", "state": "-", "phone": "+352.26319161", "street": "2, rue Leon Laval", "country": "LU", "postalcode": "L-3372", "organization": "EuroDNS S.A.", "email": "hostmaster@eurodns.com"}, "registrant": {"city": "Birmingham", "fax": "+49.2015146703", "handle": "Edns-r5085117", "name": "Knack Hans-Peter", "phone": "+49.2015146701", "street": "69 Great Hampton Street", "country": "GB", "postalcode": "B18 6EW", "organization": "Einkaufen und Reisen Ltd.", "email": "contact@einkaufen-und-reisen.eu"}, "billing": {"city": "Birmingham", "fax": "+49.2015146703", "handle": "Edns-b5085117", "name": "Knack Hans-Peter", "phone": "+49.2015146701", "street": "69 Great Hampton Street", "country": "GB", "postalcode": "B18 6EW", "organization": "Einkaufen und Reisen Ltd.", "email": "contact@einkaufen-und-reisen.eu"}}, "nameservers": ["ns1.eurodns.com", "ns2.eurodns.com", "ns3.eurodns.com", "ns4.eurodns.com"], "expiration_date": ["2014-08-11T15:22:37"], "emails": ["hpk@einkaufen-und-reisen.eu"], "raw": ["DotAsia WHOIS LEGAL STATEMENT AND TERMS & CONDITIONS: The WHOIS service offered \nby DotAsia and the access to the records in the DotAsia WHOIS database are provided\nfor information purposes only. It allows persons to check whether a specific \ndomain name is still available or not and to obtain information related to \nthe registration records of existing domain names. DotAsia cannot, under any \ncircumstances, be held liable in case the stored information would prove to \nbe wrong, incomplete, or not accurate in any sense. By submitting a query \nyou agree not to use the information made available to: allow, enable or \notherwise support the transmission of unsolicited, commercial advertising or \nother solicitations whether via email or otherwise; target advertising in any \npossible way; or to cause nuisance in any possible way to the registrants by \nsending (whether by automated, electronic processes capable of enabling high \nvolumes or other possible means) messages to them. Without prejudice to the \nabove, it is explicitly forbidden to extract, copy and/or use or re-utilise \nin any form and by any means (electronically or not) the whole or a \nquantitatively or qualitatively substantial part of the contents of the WHOIS \ndatabase without prior and explicit permission by DotAsia, nor in any attempt \nhereof, or to apply automated, electronic processes to DotAsia (or its systems). \nYou agree that any reproduction and/or transmission of data for commercial \npurposes will always be considered as the extraction of a substantial part of \nthe content of the WHOIS database. By submitting the query you agree to abide \nby this policy and accept that DotAsia can take measures to limit the use of its \nWHOIS services in order to protect the privacy of its registrants or the \nintegrity of the database. \n\nDomain ID:D1861281-ASIA\nDomain Name:PIXELMANIA.ASIA\nDomain Create Date:11-Aug-2011 15:22:37 UTC\nDomain Expiration Date:11-Aug-2014 15:22:37 UTC\nDomain Last Updated Date:11-Aug-2013 22:20:16 UTC\nLast Transferred Date:\nCreated by:EuroDNS S.A. R36-ASIA (1052)\nLast Updated by Registrar:ASIA Registry R6-ASIA (9996)\nSponsoring Registrar:EuroDNS S.A. R36-ASIA (1052)\nDomain Status:OK\nRegistrant ID:Edns-r5085117\nRegistrant Name:Knack Hans-Peter\nRegistrant Organization:Einkaufen und Reisen Ltd.\nRegistrant Address:69 Great Hampton Street\nRegistrant Address2:\nRegistrant Address3:\nRegistrant City:Birmingham\nRegistrant State/Province:\nRegistrant Country/Economy:GB\nRegistrant Postal Code:B18 6EW\nRegistrant Phone:+49.2015146701\nRegistrant Phone Ext.:\nRegistrant FAX:+49.2015146703\nRegistrant FAX Ext.:\nRegistrant E-mail:contact@einkaufen-und-reisen.eu\nAdministrative ID:edns_Korea\nAdministrative Name:WhoisPrivacy Limited\nAdministrative Organization:\nAdministrative Address:3/F, Jonsim Place\nAdministrative Address2:228 Queen's Road East\nAdministrative Address3:\nAdministrative City:Wanchai\nAdministrative State/Province:\nAdministrative Country/Economy:HK\nAdministrative Postal Code:\nAdministrative Phone:+852.58081344\nAdministrative Phone Ext.:\nAdministrative FAX:+852.58081345\nAdministrative FAX Ext.:\nAdministrative E-mail:ced@dotasia.eurodns.com\nAdministrative ID:Edns-a5085117\nAdministrative Name:Knack Hans-Peter\nAdministrative Organization:\nAdministrative Address:Grendplatz 3\nAdministrative Address2:\nAdministrative Address3:\nAdministrative City:Essen\nAdministrative State/Province:\nAdministrative Country/Economy:DE\nAdministrative Postal Code:45276\nAdministrative Phone:+49.2015146701\nAdministrative Phone Ext.:\nAdministrative FAX:+49.2015146703\nAdministrative FAX Ext.:\nAdministrative E-mail:hpk@einkaufen-und-reisen.eu\nTechnical ID:edns-Technical2\nTechnical Name:Adlani Anouar\nTechnical Organization:EuroDNS S.A.\nTechnical Address:2, rue Leon Laval\nTechnical Address2:\nTechnical Address3:\nTechnical City:Leudelange\nTechnical State/Province:-\nTechnical Country/Economy:LU\nTechnical Postal Code:L-3372\nTechnical Phone:+352.26319161\nTechnical Phone Ext.:\nTechnical FAX:+352.26372537\nTechnical FAX Ext.:\nTechnical E-mail:hostmaster@eurodns.com\nBilling ID:Edns-b5085117\nBilling Name:Knack Hans-Peter\nBilling Organization:Einkaufen und Reisen Ltd.\nBilling Address:69 Great Hampton Street\nBilling Address2:\nBilling Address3:\nBilling City:Birmingham\nBilling State/Province:\nBilling Country/Economy:GB\nBilling Postal Code:B18 6EW\nBilling Phone:+49.2015146701\nBilling Phone Ext.:\nBilling FAX:+49.2015146703\nBilling FAX Ext.:\nBilling E-mail:contact@einkaufen-und-reisen.eu\nNameservers:NS1.EURODNS.COM\nNameservers:NS2.EURODNS.COM\nNameservers:NS3.EURODNS.COM\nNameservers:NS4.EURODNS.COM\nNameservers: \nNameservers: \nNameservers: \nNameservers: \nNameservers: \nNameservers: \nNameservers: \nNameservers: \nNameservers: \n\n\n\n"], "registrar": ["ASIA Registry R6-ASIA (9996)", "EuroDNS S.A. R36-ASIA (1052)"], "creation_date": ["2011-08-11T15:22:37", "2011-08-11T15:22:37"], "id": ["D1861281-ASIA"]} \ No newline at end of file