diff options
author | Joel Uckelman <uckelman@nomic.net> | 2012-02-27 05:56:03 +0100 |
---|---|---|
committer | Joel Uckelman <uckelman@nomic.net> | 2012-02-27 05:56:03 +0100 |
commit | 538192afeccfada79de6e699ecc460a830f98d66 (patch) | |
tree | 6a0926b468baa7673441c532029b22b5d9399d85 /test/build_post_test.php | |
parent | 796258546e1c62f2f09b50ca352fe34f5b345f7a (diff) |
Renamed.
Diffstat (limited to 'test/build_post_test.php')
-rw-r--r-- | test/build_post_test.php | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/test/build_post_test.php b/test/build_post_test.php deleted file mode 100644 index 283311c..0000000 --- a/test/build_post_test.php +++ /dev/null @@ -1,32 +0,0 @@ -<?php - -require_once(__DIR__ . '/../src/build_post.php'); - -class build_post_test extends PHPUnit_Framework_TestCase { - - /** @dataProvider build_post_subject_data */ - public function test_build_post_subject($ltag, $ftag, $subject, $expected) { - $this->assertEquals( - $expected, - build_post_subject($ltag, $ftag, $subject) - ); - } - - public function build_post_subject_data() { - return array( - array('[l]', '[f]', '', '(no subject)'), - array('[l]', '[f]', 'Re:', '(no subject)'), - array('[l]', '[f]', 'Subject', 'Subject'), - array('[l]', '[f]', 'Re: Subject', 'Subject'), - array('[l]', '[f]', 'Re: Re: Re: Subject', 'Subject'), - array('[l]', '[f]', '[f] Subject', 'Subject'), - array('[l]', '[f]', '[f] [f] Subject', 'Subject'), - array('[l]', '[f]', '[f] [f] Subject [f]', 'Subject'), - array('[l]', '[f]', '[l] [f] Re: Subject', 'Subject'), - array('[l]', '[f]', 'Re: [l] [f] Subject', 'Subject'), - array('[l]', '[f]', 'Re: Subject [l][f] Subject', 'Subject Subject') - ); - } -} - -?> |