    <?php

/**
 * test class for table admin
 */

error_reporting( E_ALL | E_STRICT );

$baseDir = realpath( dirname( __FILE__ ) . '/../..' );
$incPath = get_include_path() . ':' . realpath( $baseDir );
set_include_path( $incPath );

// define the PHPFIT_FIXTURE_DIR necessary for tableEditor and fixture
define( 'PHPFIT_FIXTURE_DIR', $baseDir . '/PHPFIT/' );

/**
 * load admin
 */
include_once 'PHPFIT/Admin.php';

/**
 * load parser exception class for evaluate html-tables
 */
include_once 'PHPFIT/ParserException.php';

/**
 * set options for tableEditor
 */
$options = array( 
        'edit'              => 'on',
        'delete'            => 'on',
        'checkBox'          => 'on',
        'dataDir'           => $baseDir . '/PHPFIT/data',
        'cacheDir'          => $baseDir . '/PHPFIT/cache',
        'testDir'           => $baseDir . '/PHPFIT/test',
/*
        'css-url'           => '../default',
        'css-button'        => 'button',
        'css-inputField'    => 'inputField',
        'css-column'        => 'column',
        'css-headline'      => 'headline',
        'css-fileTable'     => 'fileTable',
*/
            );

$admin = new PHPFIT_Admin( $options );
$admin->display();

/**
 * error, warning and debug outputs
 */
$parsException = PHPFIT_ParserException::singleton();
$parsException->__toString( 'html' );

?>