From 8a1e44a35fbaa3910a6c71794924f016353ccadd Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Mon, 28 Apr 2014 01:45:07 +0200 Subject: [PATCH] Test cases for EURid --- test/data/hl3.eu | 72 +++++++++++++++++++++++++++++++++ test/data/hopjb.eu | 72 +++++++++++++++++++++++++++++++++ test/target_default/hl3.eu | 1 + test/target_default/hopjb.eu | 1 + test/target_normalized/hl3.eu | 1 + test/target_normalized/hopjb.eu | 1 + 6 files changed, 148 insertions(+) create mode 100644 test/data/hl3.eu create mode 100644 test/data/hopjb.eu create mode 100644 test/target_default/hl3.eu create mode 100644 test/target_default/hopjb.eu create mode 100644 test/target_normalized/hl3.eu create mode 100644 test/target_normalized/hopjb.eu diff --git a/test/data/hl3.eu b/test/data/hl3.eu new file mode 100644 index 0000000..86cc394 --- /dev/null +++ b/test/data/hl3.eu @@ -0,0 +1,72 @@ +% The WHOIS service offered by EURid and the access to the records +% in the EURid 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. +% +% EURid 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; +% +% - 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 EURid, nor in any attempt hereof, to apply +% automated, electronic processes to EURid (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 EURid 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. +% +% The EURid WHOIS service on port 43 (textual whois) never +% discloses any information concerning the registrant. +% Registrant and onsite contact information can be obtained through use of the +% webbased whois service available from the EURid website www.eurid.eu +% +% WHOIS hl3 +Domain: hl3 + +Registrant: + NOT DISCLOSED! + Visit www.eurid.eu for webbased whois. + +Reseller: + +Technical: + Name: Klaba Octave + Organisation: OVH + Language: fr + Phone: +33.899701761 + Fax: +33.320200958 + Email: support@ovh.com + +Registrar: + Name: OVH SAS + Website: www.ovh.com/ + +Name servers: + noah.ns.cloudflare.com + lady.ns.cloudflare.com + +Keys: + +Please visit www.eurid.eu for more info. + diff --git a/test/data/hopjb.eu b/test/data/hopjb.eu new file mode 100644 index 0000000..adbeb0d --- /dev/null +++ b/test/data/hopjb.eu @@ -0,0 +1,72 @@ +% The WHOIS service offered by EURid and the access to the records +% in the EURid 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. +% +% EURid 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; +% +% - 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 EURid, nor in any attempt hereof, to apply +% automated, electronic processes to EURid (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 EURid 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. +% +% The EURid WHOIS service on port 43 (textual whois) never +% discloses any information concerning the registrant. +% Registrant and onsite contact information can be obtained through use of the +% webbased whois service available from the EURid website www.eurid.eu +% +% WHOIS hopjb +Domain: hopjb + +Registrant: + NOT DISCLOSED! + Visit www.eurid.eu for webbased whois. + +Reseller: + +Technical: + Name: Klaba Octave + Organisation: OVH + Language: fr + Phone: +33.899701761 + Fax: +33.320200958 + Email: support@ovh.com + +Registrar: + Name: OVH SAS + Website: www.ovh.com/ + +Name servers: + noah.ns.cloudflare.com + lady.ns.cloudflare.com + +Keys: + +Please visit www.eurid.eu for more info. + diff --git a/test/target_default/hl3.eu b/test/target_default/hl3.eu new file mode 100644 index 0000000..5ad3a50 --- /dev/null +++ b/test/target_default/hl3.eu @@ -0,0 +1 @@ +{"nameservers": ["noah.ns.cloudflare.com", "lady.ns.cloudflare.com"], "raw": ["% The WHOIS service offered by EURid and the access to the records\n% in the EURid WHOIS database are provided for information purposes\n% only. It allows persons to check whether a specific domain name\n% is still available or not and to obtain information related to\n% the registration records of existing domain names.\n%\n% EURid cannot, under any circumstances, be held liable in case the\n% stored information would prove to be wrong, incomplete or not\n% accurate in any sense.\n%\n% By submitting a query you agree not to use the information made\n% available to:\n%\n% - allow, enable or otherwise support the transmission of unsolicited,\n% commercial advertising or other solicitations whether via email or\n% otherwise;\n% - target advertising in any possible way;\n%\n% - to cause nuisance in any possible way to the registrants by sending\n% (whether by automated, electronic processes capable of enabling\n% high volumes or other possible means) messages to them.\n%\n% Without prejudice to the above, it is explicitly forbidden to extract,\n% copy and/or use or re-utilise in any form and by any means\n% (electronically or not) the whole or a quantitatively or qualitatively\n% substantial part of the contents of the WHOIS database without prior\n% and explicit permission by EURid, nor in any attempt hereof, to apply\n% automated, electronic processes to EURid (or its systems).\n%\n% You agree that any reproduction and/or transmission of data for\n% commercial purposes will always be considered as the extraction of a\n% substantial part of the content of the WHOIS database.\n%\n% By submitting the query you agree to abide by this policy and accept\n% that EURid can take measures to limit the use of its WHOIS services\n% in order to protect the privacy of its registrants or the integrity\n% of the database.\n%\n% The EURid WHOIS service on port 43 (textual whois) never\n% discloses any information concerning the registrant.\n% Registrant and onsite contact information can be obtained through use of the\n% webbased whois service available from the EURid website www.eurid.eu\n%\n% WHOIS hl3\nDomain:\thl3\n\nRegistrant:\n\tNOT DISCLOSED!\n\tVisit www.eurid.eu for webbased whois.\n\nReseller:\n\nTechnical:\n\tName:\tKlaba Octave\n\tOrganisation:\tOVH\n\tLanguage:\tfr\n\tPhone:\t+33.899701761\n\tFax:\t+33.320200958\n\tEmail:\tsupport@ovh.com\n\nRegistrar:\n\tName:\t OVH SAS\n\tWebsite: www.ovh.com/\n\nName servers:\n\tnoah.ns.cloudflare.com\n\tlady.ns.cloudflare.com\n\nKeys:\n\nPlease visit www.eurid.eu for more info.\n\n"], "registrar": ["OVH SAS"], "contacts": {"admin": null, "tech": {"organization": "OVH", "fax": "+33.320200958", "email": "support@ovh.com", "phone": "+33.899701761", "name": "Klaba Octave"}, "registrant": null, "billing": null}} \ No newline at end of file diff --git a/test/target_default/hopjb.eu b/test/target_default/hopjb.eu new file mode 100644 index 0000000..a1afcb3 --- /dev/null +++ b/test/target_default/hopjb.eu @@ -0,0 +1 @@ +{"nameservers": ["noah.ns.cloudflare.com", "lady.ns.cloudflare.com"], "raw": ["% The WHOIS service offered by EURid and the access to the records\n% in the EURid WHOIS database are provided for information purposes\n% only. It allows persons to check whether a specific domain name\n% is still available or not and to obtain information related to\n% the registration records of existing domain names.\n%\n% EURid cannot, under any circumstances, be held liable in case the\n% stored information would prove to be wrong, incomplete or not\n% accurate in any sense.\n%\n% By submitting a query you agree not to use the information made\n% available to:\n%\n% - allow, enable or otherwise support the transmission of unsolicited,\n% commercial advertising or other solicitations whether via email or\n% otherwise;\n% - target advertising in any possible way;\n%\n% - to cause nuisance in any possible way to the registrants by sending\n% (whether by automated, electronic processes capable of enabling\n% high volumes or other possible means) messages to them.\n%\n% Without prejudice to the above, it is explicitly forbidden to extract,\n% copy and/or use or re-utilise in any form and by any means\n% (electronically or not) the whole or a quantitatively or qualitatively\n% substantial part of the contents of the WHOIS database without prior\n% and explicit permission by EURid, nor in any attempt hereof, to apply\n% automated, electronic processes to EURid (or its systems).\n%\n% You agree that any reproduction and/or transmission of data for\n% commercial purposes will always be considered as the extraction of a\n% substantial part of the content of the WHOIS database.\n%\n% By submitting the query you agree to abide by this policy and accept\n% that EURid can take measures to limit the use of its WHOIS services\n% in order to protect the privacy of its registrants or the integrity\n% of the database.\n%\n% The EURid WHOIS service on port 43 (textual whois) never\n% discloses any information concerning the registrant.\n% Registrant and onsite contact information can be obtained through use of the\n% webbased whois service available from the EURid website www.eurid.eu\n%\n% WHOIS hopjb\nDomain:\thopjb\n\nRegistrant:\n\tNOT DISCLOSED!\n\tVisit www.eurid.eu for webbased whois.\n\nReseller:\n\nTechnical:\n\tName:\tKlaba Octave\n\tOrganisation:\tOVH\n\tLanguage:\tfr\n\tPhone:\t+33.899701761\n\tFax:\t+33.320200958\n\tEmail:\tsupport@ovh.com\n\nRegistrar:\n\tName:\t OVH SAS\n\tWebsite: www.ovh.com/\n\nName servers:\n\tnoah.ns.cloudflare.com\n\tlady.ns.cloudflare.com\n\nKeys:\n\nPlease visit www.eurid.eu for more info.\n\n"], "registrar": ["OVH SAS"], "contacts": {"admin": null, "tech": {"organization": "OVH", "fax": "+33.320200958", "email": "support@ovh.com", "phone": "+33.899701761", "name": "Klaba Octave"}, "registrant": null, "billing": null}} \ No newline at end of file diff --git a/test/target_normalized/hl3.eu b/test/target_normalized/hl3.eu new file mode 100644 index 0000000..6ed4d9f --- /dev/null +++ b/test/target_normalized/hl3.eu @@ -0,0 +1 @@ +{"nameservers": ["noah.ns.cloudflare.com", "lady.ns.cloudflare.com"], "raw": ["% The WHOIS service offered by EURid and the access to the records\n% in the EURid WHOIS database are provided for information purposes\n% only. It allows persons to check whether a specific domain name\n% is still available or not and to obtain information related to\n% the registration records of existing domain names.\n%\n% EURid cannot, under any circumstances, be held liable in case the\n% stored information would prove to be wrong, incomplete or not\n% accurate in any sense.\n%\n% By submitting a query you agree not to use the information made\n% available to:\n%\n% - allow, enable or otherwise support the transmission of unsolicited,\n% commercial advertising or other solicitations whether via email or\n% otherwise;\n% - target advertising in any possible way;\n%\n% - to cause nuisance in any possible way to the registrants by sending\n% (whether by automated, electronic processes capable of enabling\n% high volumes or other possible means) messages to them.\n%\n% Without prejudice to the above, it is explicitly forbidden to extract,\n% copy and/or use or re-utilise in any form and by any means\n% (electronically or not) the whole or a quantitatively or qualitatively\n% substantial part of the contents of the WHOIS database without prior\n% and explicit permission by EURid, nor in any attempt hereof, to apply\n% automated, electronic processes to EURid (or its systems).\n%\n% You agree that any reproduction and/or transmission of data for\n% commercial purposes will always be considered as the extraction of a\n% substantial part of the content of the WHOIS database.\n%\n% By submitting the query you agree to abide by this policy and accept\n% that EURid can take measures to limit the use of its WHOIS services\n% in order to protect the privacy of its registrants or the integrity\n% of the database.\n%\n% The EURid WHOIS service on port 43 (textual whois) never\n% discloses any information concerning the registrant.\n% Registrant and onsite contact information can be obtained through use of the\n% webbased whois service available from the EURid website www.eurid.eu\n%\n% WHOIS hl3\nDomain:\thl3\n\nRegistrant:\n\tNOT DISCLOSED!\n\tVisit www.eurid.eu for webbased whois.\n\nReseller:\n\nTechnical:\n\tName:\tKlaba Octave\n\tOrganisation:\tOVH\n\tLanguage:\tfr\n\tPhone:\t+33.899701761\n\tFax:\t+33.320200958\n\tEmail:\tsupport@ovh.com\n\nRegistrar:\n\tName:\t OVH SAS\n\tWebsite: www.ovh.com/\n\nName servers:\n\tnoah.ns.cloudflare.com\n\tlady.ns.cloudflare.com\n\nKeys:\n\nPlease visit www.eurid.eu for more info.\n\n"], "registrar": ["OVH SAS"], "contacts": {"admin": null, "tech": {"organization": "Ovh", "fax": "+33.320200958", "email": "support@ovh.com", "phone": "+33.899701761", "name": "Klaba Octave"}, "registrant": null, "billing": null}} \ No newline at end of file diff --git a/test/target_normalized/hopjb.eu b/test/target_normalized/hopjb.eu new file mode 100644 index 0000000..f6f560b --- /dev/null +++ b/test/target_normalized/hopjb.eu @@ -0,0 +1 @@ +{"nameservers": ["noah.ns.cloudflare.com", "lady.ns.cloudflare.com"], "raw": ["% The WHOIS service offered by EURid and the access to the records\n% in the EURid WHOIS database are provided for information purposes\n% only. It allows persons to check whether a specific domain name\n% is still available or not and to obtain information related to\n% the registration records of existing domain names.\n%\n% EURid cannot, under any circumstances, be held liable in case the\n% stored information would prove to be wrong, incomplete or not\n% accurate in any sense.\n%\n% By submitting a query you agree not to use the information made\n% available to:\n%\n% - allow, enable or otherwise support the transmission of unsolicited,\n% commercial advertising or other solicitations whether via email or\n% otherwise;\n% - target advertising in any possible way;\n%\n% - to cause nuisance in any possible way to the registrants by sending\n% (whether by automated, electronic processes capable of enabling\n% high volumes or other possible means) messages to them.\n%\n% Without prejudice to the above, it is explicitly forbidden to extract,\n% copy and/or use or re-utilise in any form and by any means\n% (electronically or not) the whole or a quantitatively or qualitatively\n% substantial part of the contents of the WHOIS database without prior\n% and explicit permission by EURid, nor in any attempt hereof, to apply\n% automated, electronic processes to EURid (or its systems).\n%\n% You agree that any reproduction and/or transmission of data for\n% commercial purposes will always be considered as the extraction of a\n% substantial part of the content of the WHOIS database.\n%\n% By submitting the query you agree to abide by this policy and accept\n% that EURid can take measures to limit the use of its WHOIS services\n% in order to protect the privacy of its registrants or the integrity\n% of the database.\n%\n% The EURid WHOIS service on port 43 (textual whois) never\n% discloses any information concerning the registrant.\n% Registrant and onsite contact information can be obtained through use of the\n% webbased whois service available from the EURid website www.eurid.eu\n%\n% WHOIS hopjb\nDomain:\thopjb\n\nRegistrant:\n\tNOT DISCLOSED!\n\tVisit www.eurid.eu for webbased whois.\n\nReseller:\n\nTechnical:\n\tName:\tKlaba Octave\n\tOrganisation:\tOVH\n\tLanguage:\tfr\n\tPhone:\t+33.899701761\n\tFax:\t+33.320200958\n\tEmail:\tsupport@ovh.com\n\nRegistrar:\n\tName:\t OVH SAS\n\tWebsite: www.ovh.com/\n\nName servers:\n\tnoah.ns.cloudflare.com\n\tlady.ns.cloudflare.com\n\nKeys:\n\nPlease visit www.eurid.eu for more info.\n\n"], "registrar": ["OVH SAS"], "contacts": {"admin": null, "tech": {"organization": "Ovh", "fax": "+33.320200958", "email": "support@ovh.com", "phone": "+33.899701761", "name": "Klaba Octave"}, "registrant": null, "billing": null}} \ No newline at end of file