Public Member Functions | |
testErrorGeneralFilter ($filter, $expectedCore) | |
testUseforSystemSearchDocWithCollection ($dirId, $existsNameList, $notExistsNameList) | |
dataErrorGeneralFilter () | |
dataUseforSystemSearchDocWithCollection () | |
testOptionSearchCriteria ($fam, $keyword, $existsNameList, $notExistsNameList) | |
dataOptionSearchCriteria () | |
testSearchDocOnlyCount ($fam, $properties, $methods, $filters, $expectedCount) | |
dataSearchDocOnlyCount () | |
testSearchDocSetOrder ($fam, $orderby, $orderbyLabel, $expectedCount, $expectedTitles=array()) | |
dataSearchDocSetOrder () | |
testSearchDocSetOrderWithCollection ($collectionId, $orderby, $orderbyLabel, $expectedCount, $expectedTitles=array()) | |
dataSearchDocSetOrderWithCollection () | |
dataSpellGeneralFilter () | |
dataGeneralFilter () | |
dataGeneralSortFilter () | |
Public Member Functions inherited from TestCaseDcp | |
importCsvData ($data) | |
requiresCoreParamEquals ($paramName, $requiredValue, $markTestIncomplete=true) | |
Static Protected Member Functions | |
static | getCommonImportFile () |
Static Protected Member Functions inherited from TestCaseDcpCommonFamily | |
static | getCommonImportFile () |
Static Protected Member Functions inherited from TestCaseDcp | |
static | beginTransaction () |
static | rollbackTransaction () |
static | connectUser ($login="admin") |
static & | getAction () |
static | getApplication () |
static | resetDocumentCache () |
static | sudo ($login) |
static | exitSudo () |
static | importDocument ($file) |
static | importDocuments ($fileList) |
Protected Attributes | |
$famName = 'TST_FULLSEARCHFAM1' | |
Additional Inherited Members | |
Static Public Member Functions inherited from TestCaseDcpCommonFamily | |
static | setUpBeforeClass () |
static | tearDownAfterClass () |
Static Public Member Functions inherited from TestCaseDcp | |
static | setUpBeforeClass () |
static | log ($text) |
static | setIncludePath ($include_path) |
static | resetIncludePath () |
Protected Member Functions inherited from TestCaseDcpCommonFamily | |
tearDown () | |
setUp () | |
Protected Member Functions inherited from TestCaseDcp | |
setUp () | |
tearDown () | |
_DBGetValue ($sql) | |
Static Protected Attributes inherited from TestCaseDcp | |
static | $dbaccess |
static | $odb |
static | $user = null |
static | $include_path = null |
static | $testDirectory = "DCPTEST" |
static | $importCsvEnclosure = "auto" |
static | $importCsvSeparator = "auto" |
test some SearchDoc option like generalFilter
Definition at line 17 of file PU_test_dcp_searchdirective.php.
dataErrorGeneralFilter | ( | ) |
Definition at line 203 of file PU_test_dcp_searchdirective.php.
dataGeneralFilter | ( | ) |
Definition at line 824 of file PU_test_dcp_searchdirective.php.
dataGeneralSortFilter | ( | ) |
Definition at line 1521 of file PU_test_dcp_searchdirective.php.
dataOptionSearchCriteria | ( | ) |
Definition at line 338 of file PU_test_dcp_searchdirective.php.
dataSearchDocOnlyCount | ( | ) |
Definition at line 410 of file PU_test_dcp_searchdirective.php.
dataSearchDocSetOrder | ( | ) |
Definition at line 518 of file PU_test_dcp_searchdirective.php.
dataSearchDocSetOrderWithCollection | ( | ) |
Definition at line 659 of file PU_test_dcp_searchdirective.php.
dataSpellGeneralFilter | ( | ) |
Definition at line 792 of file PU_test_dcp_searchdirective.php.
dataUseforSystemSearchDocWithCollection | ( | ) |
Definition at line 225 of file PU_test_dcp_searchdirective.php.
|
staticprotected |
import TST_FULLSERACHFAM1 family and some documents
Definition at line 24 of file PU_test_dcp_searchdirective.php.
testErrorGeneralFilter | ( | $filter, | |
$expectedCore | |||
) |
$filter | dataErrorGeneralFilter |
Definition at line 152 of file PU_test_dcp_searchdirective.php.
testOptionSearchCriteria | ( | $fam, | |
$keyword, | |||
$existsNameList, | |||
$notExistsNameList | |||
) |
Test 'searchcriteria' attributes option
string | $fam | family id/name to search on |
string | $keyword | search for this keyword |
array | $existsNameList | List of documents name that should be returned by the search |
array | $notExistsNameList | Lost of documents name that should NOT be returned by the search dataOptionSearchCriteria |
Definition at line 313 of file PU_test_dcp_searchdirective.php.
testSearchDocOnlyCount | ( | $fam, | |
$properties, | |||
$methods, | |||
$filters, | |||
$expectedCount | |||
) |
Test SearchDoc->onlyCount() method
string | $fam | family id or name |
array | $properties | list of ($propertyName => $propertyValue) to be set on the SearchDoc object (e.g. array("only" => true)) |
array | $methods | list of ($methodName) to be called on the SearchDoc object (e.g. array("noViewControl") to call $search->noViewControl()) |
array | $filters | list of SQL conditions/filters to be added with the $search->addFilter() method (e.g. array("foo <> 'bar'")) |
int | $expectedCount | expected documents count |
Definition at line 376 of file PU_test_dcp_searchdirective.php.
testSearchDocSetOrder | ( | $fam, | |
$orderby, | |||
$orderbyLabel, | |||
$expectedCount, | |||
$expectedTitles = array() |
|||
) |
Test setOrder by label on enum attributes
dataSearchDocSetOrder
Definition at line 498 of file PU_test_dcp_searchdirective.php.
testSearchDocSetOrderWithCollection | ( | $collectionId, | |
$orderby, | |||
$orderbyLabel, | |||
$expectedCount, | |||
$expectedTitles = array() |
|||
) |
Test setOrder by label on enum attributes
dataSearchDocSetOrderWithCollection
Definition at line 638 of file PU_test_dcp_searchdirective.php.
testUseforSystemSearchDocWithCollection | ( | $dirId, | |
$existsNameList, | |||
$notExistsNameList | |||
) |
test "usefor" system search
string | $dirId | The identifer of the collection to use |
array | $existsNameList | List of documents name that must be returned by the search |
array | $notExistsNameList | List of documents name that must NOT be returned by the search |
Definition at line 174 of file PU_test_dcp_searchdirective.php.
|
protected |
Definition at line 29 of file PU_test_dcp_searchdirective.php.