Overview

Packages

  • None
  • Wicked

Classes

  • Text_Wiki_Parse_Heading2
  • Text_Wiki_Parse_Toc2
  • Text_Wiki_Render_Latex_Heading2
  • Text_Wiki_Render_Latex_Toc2
  • Text_Wiki_Render_Plain_Heading2
  • Text_Wiki_Render_Plain_Toc2
  • Text_Wiki_Render_Rst
  • Text_Wiki_Render_Rst_Blockquote
  • Text_Wiki_Render_Rst_Bold
  • Text_Wiki_Render_Rst_Code
  • Text_Wiki_Render_Rst_Deflist
  • Text_Wiki_Render_Rst_Emphasis
  • Text_Wiki_Render_Rst_Freelink
  • Text_Wiki_Render_Rst_Heading2
  • Text_Wiki_Render_Rst_Links
  • Text_Wiki_Render_Rst_List
  • Text_Wiki_Render_Rst_Newline
  • Text_Wiki_Render_Rst_Paragraph
  • Text_Wiki_Render_Rst_Raw
  • Text_Wiki_Render_Rst_Toc2
  • Text_Wiki_Render_Rst_Tt
  • Text_Wiki_Render_Rst_Url
  • Text_Wiki_Render_Xhtml_Attribute
  • Text_Wiki_Render_Xhtml_Code2
  • Text_Wiki_Render_Xhtml_Freelink2
  • Text_Wiki_Render_Xhtml_Heading2
  • Text_Wiki_Render_Xhtml_Image2
  • Text_Wiki_Render_Xhtml_Interwiki
  • Text_Wiki_Render_Xhtml_Registrylink
  • Text_Wiki_Render_Xhtml_Toc2
  • Text_Wiki_Render_Xhtml_Url
  • Text_Wiki_Render_Xhtml_Wickedblock
  • Text_Wiki_Render_Xhtml_Wikilink2
  • Wicked
  • Wicked_Api
  • Wicked_Driver
  • Wicked_Driver_Sql
  • Wicked_Exception
  • Wicked_Factory_Driver
  • Wicked_Page
  • Wicked_Page_AddPage
  • Wicked_Page_AllPages
  • Wicked_Page_AttachedFiles
  • Wicked_Page_BackLinks
  • Wicked_Page_DeletePage
  • Wicked_Page_EditPage
  • Wicked_Page_LeastPopular
  • Wicked_Page_LikePages
  • Wicked_Page_MergeOrRename
  • Wicked_Page_MostPopular
  • Wicked_Page_NewPage
  • Wicked_Page_RecentChanges
  • Wicked_Page_RevertPage
  • Wicked_Page_Search
  • Wicked_Page_StandardHistoryPage
  • Wicked_Page_StandardPage
  • Wicked_Page_SyncDiff
  • Wicked_Page_SyncPages
  • Wicked_Sync
  • Wicked_Sync_Wicked
  • Wicked_Test
  • Overview
  • Package
  • Class
  • Tree
 1: <?php
 2: /**
 3:  * This class provides the Wicked configuration for the test script.
 4:  *
 5:  * Copyright 2010-2012 Horde LLC (http://www.horde.org/)
 6:  *
 7:  * See the enclosed file COPYING for license information (GPL). If you
 8:  * did not receive this file, see http://www.horde.org/licenses/gpl.
 9:  *
10:  * @author  Michael Slusarz <slusarz@horde.org>
11:  * @package Wicked
12:  */
13: class Wicked_Test extends Horde_Test
14: {
15:     /**
16:      * The module list
17:      *
18:      * @var array
19:      */
20:     protected $_moduleList = array();
21: 
22:     /**
23:      * PHP settings list.
24:      *
25:      * @var array
26:      */
27:     protected $_settingsList = array();
28: 
29:     /**
30:      * PEAR modules list.
31:      *
32:      * @var array
33:      */
34:     protected $_pearList = array(
35:         'Text_Wiki' => array(
36:             'error' => 'The Text_Wiki module is required to parse and render the wiki markup in Wicked.',
37:             'required' => true,
38:             'function' => '_checkPearTextWikiVersion'
39:         ),
40:         'Text_Wiki_Creole' => array(
41:             'error' => 'The Text_Wiki_Creole module is required if you plan on using Creole formatting.',
42:             'required' => false,
43:         ),
44:         'Text_Wiki_Mediawiki' => array(
45:             'error' => 'The Text_Wiki_Mediawiki module is required if you plan on using Mediawiki formatting.',
46:             'required' => false,
47:         ),
48:         'Text_Wiki_Tiki' => array(
49:             'error' => 'The Text_Wiki_Tiki module is required if you plan on using Tiki formatting.',
50:             'required' => false,
51:         ),
52:     );
53: 
54:     /**
55:      * Required configuration files.
56:      *
57:      * @var array
58:      */
59:     protected $_fileList = array(
60:         'config/conf.php' => null,
61:     );
62: 
63:     /**
64:      * Inter-Horde application dependencies.
65:      *
66:      * @var array
67:      */
68:     protected $_appList = array();
69: 
70:     /**
71:      * Additional check for PEAR Text_Wiki module for its version.
72:      *
73:      * @return string  Returns error string on error.
74:      */
75:     protected function _checkPearTextWikiVersion()
76:     {
77:         if (!is_callable(array('Text_Wiki', 'setRenderConf'))) {
78:             return 'Your version of Text_Wiki is not recent enough.';
79:         }
80:     }
81: 
82:     /**
83:      * Any application specific tests that need to be done.
84:      *
85:      * @return string  HTML output.
86:      */
87:     public function appTests()
88:     {
89:     }
90: 
91: }
92: 
API documentation generated by ApiGen