From 54551bc4cb0dee8549c229d18fca3bf3dc0d5c48 Mon Sep 17 00:00:00 2001 From: uckelman Date: Sun, 31 Oct 2010 20:47:26 +0000 Subject: No longer used. git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@7430 67b53d14-2c14-4ace-a08f-0dab2b34000c --- test/MailmanLibTest.php | 45 --------------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 test/MailmanLibTest.php (limited to 'test/MailmanLibTest.php') diff --git a/test/MailmanLibTest.php b/test/MailmanLibTest.php deleted file mode 100644 index 05e475f..0000000 --- a/test/MailmanLibTest.php +++ /dev/null @@ -1,45 +0,0 @@ -. -# - -require_once('PHPUnit/Framework.php'); -require_once('src/MailmanLib.php'); - -class MailmanLibTest extends PHPUnit_Framework_TestCase { - - /** - * @dataProvider provider_read_raw_message - */ - public function test_read_raw_message($url, $expected, $ex) { - if ($ex) $this->setExpectedException($ex); - $this->assertEquals($expected, read_raw_message($url)); - } - - public function provider_read_raw_message() { - return array( - array(__DIR__ . '/empty', null, 'Exception'), - array(__DIR__ . '/bougs', null, 'Exception'), - array(__DIR__ . '/1', file_get_contents(__DIR__ . '/1'), null), - ); - } -} - -?> -- cgit v1.2.3