$this->assertTrue($node_property===$node_searched_property,'Search produced different node for '.$page_link.' (comparing '.$property.'; '.serialize($node_property).'; vs '.serialize($node_searched_property).')');
if($node_property!==$node_searched_property){
if(!empty($_GET['debug'])){// TODO: Change to $this->debug in v11
var_dump($node_property);
var_dump($node_searched_property);
}
}
}
if(!isset($node['title'])){
$this->assertTrue(false,'Null title for '.$page_link);
}elseif(!isset($node_searched['title'])){
$this->assertTrue(false,'Null title on search result for '.$page_link);
}else{
$this->assertTrue($node['title']->evaluate()==$node_searched['title']->evaluate(),'Search produced different node for '.$page_link.' (comparing title)');
* Find details of a virtual position in the sitemap. Virtual positions have no structure of their own, but can find child structures to be absorbed down the tree. We do this for modularity reasons.