Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed @expectedException definitions to reference absolute exception …

…paths
  • Loading branch information...
commit 5c10de4a1fb0b24d623f4afaad699fe517c3667b 1 parent a54810f
@webmozart webmozart authored
View
4 Tests/AbstractProcessTest.php
@@ -21,7 +21,7 @@
abstract protected function getProcess($commandline, $cwd = null, array $env = null, $stdin = null, $timeout = 60, array $options = array());
/**
- * @expectedException Symfony\Component\Process\Exception\InvalidArgumentException
+ * @expectedException \Symfony\Component\Process\Exception\InvalidArgumentException
*/
public function testNegativeTimeoutFromConstructor()
{
@@ -29,7 +29,7 @@ public function testNegativeTimeoutFromConstructor()
}
/**
- * @expectedException Symfony\Component\Process\Exception\InvalidArgumentException
+ * @expectedException \Symfony\Component\Process\Exception\InvalidArgumentException
*/
public function testNegativeTimeoutFromSetter()
{
View
2  Tests/ProcessBuilderTest.php
@@ -85,7 +85,7 @@ public function shouldNotReplaceExplicitlySetVars()
}
/**
- * @expectedException Symfony\Component\Process\Exception\InvalidArgumentException
+ * @expectedException \Symfony\Component\Process\Exception\InvalidArgumentException
*/
public function testNegativeTimeoutFromSetter()
{
View
18 Tests/SigchildDisabledProcessTest.php
@@ -23,7 +23,7 @@ protected function getProcess($commandline, $cwd = null, array $env = null, $std
}
/**
- * @expectedException Symfony\Component\Process\Exception\RuntimeException
+ * @expectedException \Symfony\Component\Process\Exception\RuntimeException
*/
public function testGetExitCode()
{
@@ -31,7 +31,7 @@ public function testGetExitCode()
}
/**
- * @expectedException Symfony\Component\Process\Exception\RuntimeException
+ * @expectedException \Symfony\Component\Process\Exception\RuntimeException
*/
public function testExitCodeCommandFailed()
{
@@ -39,7 +39,7 @@ public function testExitCodeCommandFailed()
}
/**
- * @expectedException Symfony\Component\Process\Exception\RuntimeException
+ * @expectedException \Symfony\Component\Process\Exception\RuntimeException
*/
public function testProcessIsSignaledIfStopped()
{
@@ -47,7 +47,7 @@ public function testProcessIsSignaledIfStopped()
}
/**
- * @expectedException Symfony\Component\Process\Exception\RuntimeException
+ * @expectedException \Symfony\Component\Process\Exception\RuntimeException
*/
public function testProcessWithTermSignal()
{
@@ -55,7 +55,7 @@ public function testProcessWithTermSignal()
}
/**
- * @expectedException Symfony\Component\Process\Exception\RuntimeException
+ * @expectedException \Symfony\Component\Process\Exception\RuntimeException
*/
public function testProcessIsNotSignaled()
{
@@ -63,7 +63,7 @@ public function testProcessIsNotSignaled()
}
/**
- * @expectedException Symfony\Component\Process\Exception\RuntimeException
+ * @expectedException \Symfony\Component\Process\Exception\RuntimeException
*/
public function testProcessWithoutTermSignal()
{
@@ -71,7 +71,7 @@ public function testProcessWithoutTermSignal()
}
/**
- * @expectedException Symfony\Component\Process\Exception\RuntimeException
+ * @expectedException \Symfony\Component\Process\Exception\RuntimeException
*/
public function testExitCodeText()
{
@@ -82,7 +82,7 @@ public function testExitCodeText()
}
/**
- * @expectedException Symfony\Component\Process\Exception\RuntimeException
+ * @expectedException \Symfony\Component\Process\Exception\RuntimeException
*/
public function testIsSuccessful()
{
@@ -90,7 +90,7 @@ public function testIsSuccessful()
}
/**
- * @expectedException Symfony\Component\Process\Exception\RuntimeException
+ * @expectedException \Symfony\Component\Process\Exception\RuntimeException
*/
public function testIsNotSuccessful()
{
View
8 Tests/SigchildEnabledProcessTest.php
@@ -23,7 +23,7 @@ protected function getProcess($commandline, $cwd = null, array $env = null, $std
}
/**
- * @expectedException Symfony\Component\Process\Exception\RuntimeException
+ * @expectedException \Symfony\Component\Process\Exception\RuntimeException
*/
public function testProcessIsSignaledIfStopped()
{
@@ -31,7 +31,7 @@ public function testProcessIsSignaledIfStopped()
}
/**
- * @expectedException Symfony\Component\Process\Exception\RuntimeException
+ * @expectedException \Symfony\Component\Process\Exception\RuntimeException
*/
public function testProcessWithTermSignal()
{
@@ -39,7 +39,7 @@ public function testProcessWithTermSignal()
}
/**
- * @expectedException Symfony\Component\Process\Exception\RuntimeException
+ * @expectedException \Symfony\Component\Process\Exception\RuntimeException
*/
public function testProcessIsNotSignaled()
{
@@ -47,7 +47,7 @@ public function testProcessIsNotSignaled()
}
/**
- * @expectedException Symfony\Component\Process\Exception\RuntimeException
+ * @expectedException \Symfony\Component\Process\Exception\RuntimeException
*/
public function testProcessWithoutTermSignal()
{
Please sign in to comment.
Something went wrong with that request. Please try again.