2018-11-24 10:07:19 +01:00
|
|
|
from tests.package.test_perl import TestPerlBase
|
|
|
|
|
|
|
|
|
|
|
|
class TestPerllibwwwperl(TestPerlBase):
|
|
|
|
"""
|
|
|
|
package:
|
|
|
|
libwww-perl
|
|
|
|
direct dependencies:
|
|
|
|
Encode-Locale
|
|
|
|
File-Listing
|
2018-12-04 05:37:49 +01:00
|
|
|
HTML-Parser XS
|
2018-11-24 10:07:19 +01:00
|
|
|
HTTP-Cookies
|
|
|
|
HTTP-Date
|
|
|
|
HTTP-Message
|
|
|
|
HTTP-Negotiate
|
|
|
|
LWP-MediaTypes
|
|
|
|
Net-HTTP
|
|
|
|
Try-Tiny
|
|
|
|
URI
|
|
|
|
WWW-RobotRules
|
|
|
|
indirect dependencies:
|
|
|
|
HTML-Tagset
|
|
|
|
IO-HTML
|
|
|
|
"""
|
|
|
|
|
|
|
|
config = TestPerlBase.config + \
|
|
|
|
"""
|
|
|
|
BR2_PACKAGE_PERL=y
|
|
|
|
BR2_PACKAGE_PERL_LIBWWW_PERL=y
|
|
|
|
"""
|
|
|
|
|
|
|
|
def test_run(self):
|
|
|
|
self.login()
|
|
|
|
self.module_test("LWP")
|
|
|
|
self.module_test("LWP::UserAgent")
|
|
|
|
self.module_test("LWP::Authen::Basic")
|
|
|
|
self.module_test("LWP::Authen::Digest")
|
2019-03-29 19:05:25 +01:00
|
|
|
self.module_test("HTML::Parser")
|
2018-11-24 10:07:19 +01:00
|
|
|
self.module_test("HTTP::Message")
|
|
|
|
self.module_test("WWW::RobotRules")
|