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 f2c4d81 commit 25fa15dCopy full SHA for 25fa15d
tests/CommandTest.php
@@ -9,6 +9,9 @@
9
*/
10
class FileStreamTest extends \PHPUnit_Framework_TestCase
11
{
12
+ /**
13
+ * Simple exec
14
+ */
15
public function testExec()
16
17
$output = Command::exec(
@@ -24,6 +27,9 @@ public function testExec()
24
27
$this->assertEquals('hello world', $output);
25
28
}
26
29
30
31
+ * Test exec exception
32
33
public function testExecException()
34
35
$this->setExpectedException('Exception');
@@ -34,6 +40,9 @@ public function testExecException()
40
41
36
42
43
44
+ * Test exec empty command
45
37
46
public function testExecEmptyCommand()
38
47
39
48
0 commit comments