Commit 639e52c1 by Carsten Brandt

skip tests on HHVM

parent ea427a19
...@@ -230,6 +230,10 @@ class MessageControllerTest extends TestCase ...@@ -230,6 +230,10 @@ class MessageControllerTest extends TestCase
*/ */
public function testMerge() public function testMerge()
{ {
if (defined('HHVM_VERSION')) {
$this->markTestSkipped('Can not test on HHVM because modified files can not be reloaded.');
}
$language = 'en'; $language = 'en';
$category = 'test_category3'; $category = 'test_category3';
$messageFileName = $language . DIRECTORY_SEPARATOR . $category . '.php'; $messageFileName = $language . DIRECTORY_SEPARATOR . $category . '.php';
...@@ -265,6 +269,10 @@ class MessageControllerTest extends TestCase ...@@ -265,6 +269,10 @@ class MessageControllerTest extends TestCase
*/ */
public function testNoLongerNeedTranslation() public function testNoLongerNeedTranslation()
{ {
if (defined('HHVM_VERSION')) {
$this->markTestSkipped('Can not test on HHVM because modified files can not be reloaded.');
}
$language = 'en'; $language = 'en';
$category = 'test_category4'; $category = 'test_category4';
$messageFileName = $language . DIRECTORY_SEPARATOR . $category . '.php'; $messageFileName = $language . DIRECTORY_SEPARATOR . $category . '.php';
...@@ -298,6 +306,10 @@ class MessageControllerTest extends TestCase ...@@ -298,6 +306,10 @@ class MessageControllerTest extends TestCase
*/ */
public function testMergeWithContentZero() public function testMergeWithContentZero()
{ {
if (defined('HHVM_VERSION')) {
$this->markTestSkipped('Can not test on HHVM because modified files can not be reloaded.');
}
$language = 'en'; $language = 'en';
$category = 'test_category5'; $category = 'test_category5';
$messageFileName = $language . DIRECTORY_SEPARATOR . $category . '.php'; $messageFileName = $language . DIRECTORY_SEPARATOR . $category . '.php';
...@@ -335,6 +347,10 @@ class MessageControllerTest extends TestCase ...@@ -335,6 +347,10 @@ class MessageControllerTest extends TestCase
*/ */
public function testMultiplyTranslators() public function testMultiplyTranslators()
{ {
if (defined('HHVM_VERSION')) {
$this->markTestSkipped('Can not test on HHVM because modified files can not be reloaded.');
}
$language = 'en'; $language = 'en';
$category = 'test_category6'; $category = 'test_category6';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment