/[suikacvs]/messaging/manakai/t/DOM-DOMImplementation.t
Suika

Contents of /messaging/manakai/t/DOM-DOMImplementation.t

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download) (as text)
Wed Jun 13 12:04:51 2007 UTC (17 years, 5 months ago) by wakaba
Branch: MAIN
File MIME type: application/x-troff
++ manakai/t/ChangeLog	13 Jun 2007 12:04:43 -0000
2007-06-13  Wakaba  <wakaba@suika.fam.cx>

	* DOM-DOMImplementation.t: New test.

2007-05-26  Wakaba  <wakaba@suika.fam.cx>

	* IMT-InternetMediaType.t: Tests for |add_parameter| are added.

++ manakai/lib/Message/IMT/ChangeLog	13 Jun 2007 12:03:40 -0000
	* InternetMediaType.pm (add_paremter): New method.

2007-05-26  Wakaba  <wakaba@suika.fam.cx>

++ manakai/lib/Message/DOM/ChangeLog	13 Jun 2007 12:02:59 -0000
2007-06-13  Wakaba  <wakaba@suika.fam.cx>

	* DOMImplementation.pm, Node.pm, DOMDocument.pm,
	DOMElement.pm, Attr.pm, DocumentType.pm,
	DOMCharacterData.pm, Text.pm, Comment.pm: Copied
	from <http://suika.fam.cx/gate/cvs/*checkout*/markup/html/whatpm/Whatpm/NanoDOM.pm?rev=1.9>.

2007-06-10  Wakaba  <wakaba@suika.fam.cx>

	* XMLParser.dis: Default to "1.0" if <?xml version=""?>
	specifies unknown value and trys to recover from the error.

++ manakai/lib/Message/URI/ChangeLog	13 Jun 2007 12:04:07 -0000
2007-06-13  Wakaba  <wakaba@suika.fam.cx>

	* URIReference.pm (Message::IF::URIReference):
	Renamed from |Message::DOM::IF::URIReference|.

1 wakaba 1.1 #!/usr/bin/perl
2     use strict;
3     use Test;
4     BEGIN { plan tests => 10 }
5    
6     require Message::DOM::DOMImplementation;
7    
8     my $dom = Message::DOM::DOMImplementation->____new;
9    
10     ok $dom->isa ('Message::DOM::DOMImplementation');
11     ok $dom->isa ('Message::IF::DOMImplementation');
12    
13     ## AUTOLOAD test
14     ok $dom->can ('create_uri_reference');
15     my $uri = $dom->create_uri_reference ('http://www.uri.test/');
16     ok UNIVERSAL::isa ($uri, 'Message::IF::URIReference');
17    
18     ok $dom->can ('no_such_method') ? 1 : 0, 0;
19     my $something_called = 0;
20     eval {
21     $dom->no_such_method;
22     $something_called = 1;
23     };
24     ok $something_called, 0;
25    
26     ## License: Public Domain.
27     ## $Date:$

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24