mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-14 21:30:17 +08:00
skip tests on HHVM
This commit is contained in:
@@ -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
|
|||||||
*/
|
*/
|
||||||
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
|
|||||||
*/
|
*/
|
||||||
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
|
|||||||
*/
|
*/
|
||||||
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';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user