1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-13 22:14:51 +02:00
Files
php-e107/tests/unit/e_parse_shortcodeTest.php
2018-09-27 11:32:06 -05:00

104 lines
1.3 KiB
PHP

<?php
/**
* e107 website system
*
* Copyright (C) 2008-2018 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
*/
class e_parse_shortcodeTest extends \Codeception\Test\Unit
{
/** @var e_parse_shortcode */
private $scParser;
public function _before()
{
try {
$this->scParser = $this->make('e_parse_shortcode');
} catch (Exception $e) {
$this->fail("Couldn't create e_parse_shortcode object");
}
$this->scParser->__construct();
}
// public function testShortcode_SITELINKS_ALT()
// {
// $output = $this->scParser->parseCodes('{SITELINKS_ALT=/e107_themes/jayya/images/arrow.png+noclick}');
// var_export($output);
// }
/*
public function testIsBatchOverride()
{
}
public function testIsRegistered()
{
}
public function testIsOverride()
{
}
public function testResetScClass()
{
}
public function testDoCode()
{
}
public function testGetScObject()
{
}
public function testParseCodes()
{
}
public function testInitShortcodeClass()
{
}
public function testRegisterShortcode()
{
}
public function testSetScVar()
{
}
public function testCallScFunc()
{
}
public function testIsScClass()
{
}
public function testParse_scbatch()
{
}
public function testLoadThemeShortcodes()
{
}
*/
}