summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2009-04-25 09:42:27 +0200
committerdakkar <dakkar@thenautilus.net>2009-04-25 09:42:27 +0200
commitde1a2f95f3ff6cf1d09e0f4df10f4c5e1c67aead (patch)
tree20c9ad8a28dfcee592b5782a0ce7ca6142593ced
parentforgot the p::c profile (diff)
downloadTree-Transform-XSLTish-de1a2f95f3ff6cf1d09e0f4df10f4c5e1c67aead.tar.gz
Tree-Transform-XSLTish-de1a2f95f3ff6cf1d09e0f4df10f4c5e1c67aead.tar.bz2
Tree-Transform-XSLTish-de1a2f95f3ff6cf1d09e0f4df10f4c5e1c67aead.zip
updated dependencies, removed work-aroundsv0.1
-rw-r--r--Makefile.PL2
-rw-r--r--t/01-basic.t3
-rw-r--r--t/02-inherit.t3
-rw-r--r--t/03-byname.t3
-rw-r--r--t/04-errors.t3
-rw-r--r--t/05-html-tree.t6
-rw-r--r--t/perlcriticrc1
7 files changed, 4 insertions, 17 deletions
diff --git a/Makefile.PL b/Makefile.PL
index 1971a86..d387a46 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -15,7 +15,7 @@ requires 'Tree::XPathEngine' => 0,
;
test_requires 'Test::Most' => 0,
- 'Tree::DAG_Node::XPath' => 0,
+ 'Tree::DAG_Node::XPath' => '0.10',
;
WriteAll;
diff --git a/t/01-basic.t b/t/01-basic.t
index e947e7a..a8e2474 100644
--- a/t/01-basic.t
+++ b/t/01-basic.t
@@ -37,9 +37,6 @@ use strict;
use warnings;
use Tree::DAG_Node::XPath;
-sub Tree::DAG_Node::XPath::Root::xpath_get_root_node { return $_[0] }
-sub Tree::DAG_Node::XPath::Root::xpath_get_parent_node { return }
-
my $tree=Tree::DAG_Node::XPath->new();
$tree->name('base');
$tree->new_daughter->name("coso$_") for 1..5;
diff --git a/t/02-inherit.t b/t/02-inherit.t
index f11d116..e882b53 100644
--- a/t/02-inherit.t
+++ b/t/02-inherit.t
@@ -41,9 +41,6 @@ use strict;
use warnings;
use Tree::DAG_Node::XPath;
-sub Tree::DAG_Node::XPath::Root::xpath_get_root_node { return $_[0] }
-sub Tree::DAG_Node::XPath::Root::xpath_get_parent_node { return }
-
my $tree=Tree::DAG_Node::XPath->new();
$tree->name('base');
$tree->new_daughter->name("coso$_") for 1..5;
diff --git a/t/03-byname.t b/t/03-byname.t
index 8c3723f..a16b2d6 100644
--- a/t/03-byname.t
+++ b/t/03-byname.t
@@ -22,9 +22,6 @@ use strict;
use warnings;
use Tree::DAG_Node::XPath;
-sub Tree::DAG_Node::XPath::Root::xpath_get_root_node { return $_[0] }
-sub Tree::DAG_Node::XPath::Root::xpath_get_parent_node { return }
-
my $tree=Tree::DAG_Node::XPath->new();
$tree->name('base');
$tree->new_daughter->name("coso$_") for 1..5;
diff --git a/t/04-errors.t b/t/04-errors.t
index ae02713..6656933 100644
--- a/t/04-errors.t
+++ b/t/04-errors.t
@@ -5,9 +5,6 @@ use strict;
use warnings;
use Tree::DAG_Node::XPath;
-sub Tree::DAG_Node::XPath::Root::xpath_get_root_node { return $_[0] }
-sub Tree::DAG_Node::XPath::Root::xpath_get_parent_node { return }
-
my $tree=Tree::DAG_Node::XPath->new();
$tree->name('base');
$tree->new_daughter->name("coso$_") for 1..5;
diff --git a/t/05-html-tree.t b/t/05-html-tree.t
index eb990e8..2973d25 100644
--- a/t/05-html-tree.t
+++ b/t/05-html-tree.t
@@ -18,12 +18,10 @@ package main;
use Test::Most 'die';
use strict;
use warnings;
-eval 'use XML::XPathEngine;use HTML::TreeBuilder::XPath;';
-plan skip_all => 'XML::XPathEngine and HTML::TreeBuilder::XPath needed for this test' if $@;
+eval 'use XML::XPathEngine;use HTML::TreeBuilder::XPath 0.10;';
+plan skip_all => 'XML::XPathEngine and HTML::TreeBuilder::XPath 0.10 needed for this test' if $@;
plan tests=> 1;
-sub HTML::TreeBuilder::XPath::Root::getRootNode { return $_[0] }
-
my $tree=HTML::TreeBuilder::XPath->new();
$tree->parse(<<'HTML');$tree->eof;
<html>
diff --git a/t/perlcriticrc b/t/perlcriticrc
index 4185498..5ad1ad7 100644
--- a/t/perlcriticrc
+++ b/t/perlcriticrc
@@ -9,3 +9,4 @@ color = 1
[-Subroutines::RequireArgUnpacking]
[-Subroutines::ProtectPrivateSubs]
[-ControlStructures::ProhibitUnlessBlocks]
+[-CodeLayout::RequireTidyCode]