We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08c7388 commit 6e2e5afCopy full SHA for 6e2e5af
tests/JasperPHP/JasperPHPTest.php
@@ -2,12 +2,21 @@
2
class JasperPHPTest extends PHPUnit_Framework_TestCase
3
{
4
5
- /**
+ /**
6
*
7
*/
8
- public function testCompile()
+ public function testCompileWithWrongArgs()
9
10
- $this->assertTrue(false);
+ $this->setExpectedException('Exception', 'No input file');
11
+
12
+ $jasper = new \JasperPHP\JasperPHP();
13
+ $jasper->compile(null);
14
+ $jasper->compile('');
15
}
16
17
+ public function testCompile()
18
+ {
19
20
+ }
21
22
0 commit comments