13 require_once
'PU_testcase_dcp_commonfamily.php';
24 return "PU_data_dcp_visibilityfamily.ods";
32 $this->assertTrue(is_object(
$d) ,
"cannot create TST_FAMVISIBILITY document");
35 $d->ApplyMask($maskId);
37 foreach ($visibilities as $attrid => $extpectVis) {
38 $oa =
$d->getAttribute($attrid);
39 $this->assertTrue(is_object($oa) , sprintf(
"cannot find %s attribute", $attrid));
40 $this->assertEquals($extpectVis, $oa->mvisibility, sprintf(
"wrong visibility for %s", $attrid));
71 "mask" =>
'TST_S_VIS',
96 "mask" =>
'TST_R_VIS',
121 "mask" =>
'TST_H_VIS',
146 "mask" =>
'TST_W_VIS',
static getCommonImportFile()
testVisibility($maskId, array $visibilities)
createDoc($dbaccess, $fromid, $control=true, $defaultvalues=true, $temporary=false)