diff options
author | Eric Barnes <eric@ericlbarnes.com> | 2011-04-22 04:00:33 +0200 |
---|---|---|
committer | Eric Barnes <eric@ericlbarnes.com> | 2011-04-22 04:00:33 +0200 |
commit | 68286a4dcc1ed4d904ad992173c1b3621bf6fced (patch) | |
tree | dd24a9e0126058f9d3b0958244b85784f1a66223 /tests/codeigniter/libraries/Parser_test.php | |
parent | b58aeaca9be4b342bb6d88138005fdc7138828b4 (diff) |
Reworked unit tests to match rest of framework and added a few more.
Diffstat (limited to 'tests/codeigniter/libraries/Parser_test.php')
-rw-r--r-- | tests/codeigniter/libraries/Parser_test.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/codeigniter/libraries/Parser_test.php b/tests/codeigniter/libraries/Parser_test.php index 44269ad2c..b4580a4b1 100644 --- a/tests/codeigniter/libraries/Parser_test.php +++ b/tests/codeigniter/libraries/Parser_test.php @@ -5,7 +5,7 @@ require BASEPATH.'libraries/Parser.php'; class Parser_test extends CI_TestCase { - public function setUp() + public function set_up() { $obj = new StdClass; $obj->parser = new CI_Parser(); @@ -16,7 +16,7 @@ class Parser_test extends CI_TestCase } // -------------------------------------------------------------------- - public function testSetDelimiters() + public function test_set_delimiters() { // Make sure default delimiters are there $this->assertEquals('{', $this->parser->l_delim); @@ -39,7 +39,7 @@ class Parser_test extends CI_TestCase // -------------------------------------------------------------------- - public function testParseSimpleString() + public function test_parse_simple_string() { $data = array( 'title' => 'Page Title', @@ -55,7 +55,7 @@ class Parser_test extends CI_TestCase // -------------------------------------------------------------------- - public function testParse() + public function test_parse() { $this->_parse_no_template(); $this->_parse_var_pair(); |