Files
EasySoft-ZenTaoPMS/module/editor/test/model/getextendlink.php
T
2025-11-14 13:05:25 +08:00

29 lines
858 B
PHP
Executable File

#!/usr/bin/env php
<?php
/**
title=测试 editorModel::getExtendLink();
timeout=0
cid=16234
- 执行editor模块的getExtendLinkNormalTest方法 @1
- 执行editor模块的getExtendLinkWithExtendsTest方法 @1
- 执行editor模块的getExtendLinkSpecialCharsTest方法 @1
- 执行editor模块的getExtendLinkEmptyActionTest方法 @1
- 执行editor模块的getExtendLinkComplexPathTest方法 @1
*/
include dirname(__FILE__, 5) . '/test/lib/init.php';
include dirname(__FILE__, 2) . '/lib/editor.unittest.class.php';
su('admin');
$editor = new editorTest();
r($editor->getExtendLinkNormalTest()) && p() && e(1);
r($editor->getExtendLinkWithExtendsTest()) && p() && e(1);
r($editor->getExtendLinkSpecialCharsTest()) && p() && e(1);
r($editor->getExtendLinkEmptyActionTest()) && p() && e(1);
r($editor->getExtendLinkComplexPathTest()) && p() && e(1);