13 require_once
'PU_testcase_dcp_commonfamily.php';
29 $err = $e->getMessage();
31 $this->assertNotEmpty(
$err,
"no import error detected");
32 if (!is_array($expectedErrors)) $expectedErrors = array(
36 foreach ($expectedErrors as $expectedError) {
37 $this->assertContains($expectedError,
$err, sprintf(
"not the correct error reporting : %s",
$err));
45 "file" =>
"PU_data_dcp_importcvdocbad1.ods",
48 "[Identifiant de la vue]",
static importDocument($file)
testErrorImportCVDOC($familyFile, array $expectedErrors)
if($file) if($subject==""&&$file) if($subject=="") $err
requiresCoreParamEquals($paramName, $requiredValue, $markTestIncomplete=true)