Commits

Shlomi Fish committed 0db2f8f

Convert t/02dromeds.t to Test::More.

Comments (0)

Files changed (2)

 
     - Convert the following test scripts from Test.pm to Test::More :
         - t/01basic.t
+        - t/02dromeds.t
+
 1.73            Sun Oct  9 17:32:30 IST 2011
     - Possible fix for https://rt.cpan.org/Ticket/Display.html?id=71456 :
         - made the port reservation on t/14security.t for the non-existent
-use Test;
-BEGIN { plan tests => 6 }
+use strict;
+use warnings;
+
+use Test::More tests => 6;
+
 use XML::LibXSLT;
 use XML::LibXML;
 
 my $parser = XML::LibXML->new();
-ok($parser);
+# TEST
+
+ok($parser, ' TODO : Add test name');
 
 my $doc = $parser->parse_string(<<'EOT');
 <?xml version="1.0"?>
 </dromedaries>
 EOT
 
-ok($doc);
+# TEST
+
+ok($doc, ' TODO : Add test name');
 
 my $xslt = XML::LibXSLT->new();
 my $style_doc = $parser->parse_string(<<'EOT');
 </xsl:stylesheet>
 EOT
 
-ok($style_doc);
+# TEST
+ok($style_doc, ' TODO : Add test name');
 
 # warn "Style_doc = \n", $style_doc->toString, "\n";
 
 my $stylesheet = $xslt->parse_stylesheet($style_doc);
 
-ok($stylesheet);
+# TEST
+ok($stylesheet, ' TODO : Add test name');
 
 my $results = $stylesheet->transform($doc);
 
-ok($results);
+# TEST
+ok($results, ' TODO : Add test name');
 
 my $output = $stylesheet->output_string($results);
 
-ok($output);
+# TEST
+ok($output, ' TODO : Add test name');
 
 # warn "Results:\n", $output, "\n";