diff options
author | uckelman <uckelman@nomic.net> | 2010-04-20 20:01:07 +0000 |
---|---|---|
committer | uckelman <uckelman@nomic.net> | 2010-04-20 20:01:07 +0000 |
commit | 36cc1d4510d4f28c463e9584cb7ce849a5e4e2ec (patch) | |
tree | 76dfd56ec5ab24208a49f44f84f093b470a7d2bc /test/PhpBB3Test.php | |
parent | 66ed9441658a9a5100ec78b82af19c6127a56575 (diff) |
Added getAttachmentData().
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6721 67b53d14-2c14-4ace-a08f-0dab2b34000c
Diffstat (limited to 'test/PhpBB3Test.php')
-rw-r--r-- | test/PhpBB3Test.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/PhpBB3Test.php b/test/PhpBB3Test.php index fbd68e2..99de765 100644 --- a/test/PhpBB3Test.php +++ b/test/PhpBB3Test.php @@ -132,4 +132,20 @@ EOF; return array( ); } + + /** + * @dataProvider providerGetAttachmentData + */ + public function testGetAttachmentData($attach_id, $expected, $ex) { + $this->markTestIncomplete(); + + if ($ex) $this->setExpectedException($ex); + $run = 'getAttachmentData(' . $attach_id . ')'; + $this->assertEquals($expected, $this->exec_kludge($run)); + } + + public function providerGetAttachmentData() { + return array( + ); + } } |