13 require_once
'PU_testcase_dcp_commonfamily.php';
26 return "PU_data_dcp_highsearchfamily1.ods";
33 public function testFullHighlight(
$filter, array $expectedHighlight)
37 $s->setObjectReturn();
41 $this->assertEmpty(
$err,
"search error : $err");
42 $dl =
$s->getDocumentList();
48 foreach ($dl as
$doc) {
50 $ht = $dl->getSearchDocument()->getHighLightText($doc);
51 foreach ($expectedHighlight as $high) {
52 $this->assertContains($high, $ht, sprintf(
"highlight error"));
static getCommonImportFile()
if($file) if($subject==""&&$file) if($subject=="") $err