mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-26 05:42:13 +09:00
All classes can be tested from now.
1) Add some test files. 2) Create a folder for fronendfile. Move the class file into the folder. 3) Write Bootstrap.php file. 4) Modify phpunit.xml file. 5) Add a context mock class. git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9850 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
aa90148aa3
commit
67751eb85b
8 changed files with 148 additions and 135 deletions
20
tests/classes/context/ContextTest.php
Normal file
20
tests/classes/context/ContextTest.php
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
if(!defined('__XE__')) require dirname(__FILE__).'/../../Bootstrap.php';
|
||||
|
||||
require_once _XE_PATH_.'classes/context/Context.class.php';
|
||||
require_once _XE_PATH_.'classes/handler/Handler.class.php';
|
||||
require_once _XE_PATH_.'classes/frontendfile/FrontEndFileHandler.class.php';
|
||||
|
||||
class ContextTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
/**
|
||||
* test whether the singleton works
|
||||
*/
|
||||
public function testGetInstance()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/* End of file ContextTest.php */
|
||||
/* Location: ./tests/classes/context/ContextTest.php */
|
||||
Loading…
Add table
Add a link
Reference in a new issue