File: parse_error_test.php

package info (click to toggle)
php-simpletest 1.0.0-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, squeeze
  • size: 1,144 kB
  • ctags: 3,808
  • sloc: php: 13,921; xml: 681; makefile: 3
file content (10 lines) | stat: -rw-r--r-- 303 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
<?php
    // $Id: parse_error_test.php,v 1.1 2005/01/24 00:32:14 lastcraft Exp $
    
    require_once('../unit_tester.php');
    require_once('../reporter.php');

    $test = &new GroupTest('This should fail');
    $test->addTestFile('test_with_parse_error.php');
    $test->run(new HtmlReporter());
?>