changed some skipped tests to incomplete
This commit is contained in:
parent
4bef9995c6
commit
e726cdd917
@ -421,7 +421,7 @@ class EntityTypeTest extends TypeTestCase
|
|||||||
|
|
||||||
public function testOverrideChoices()
|
public function testOverrideChoices()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Fix me');
|
$this->markTestIncomplete('Fix me');
|
||||||
|
|
||||||
$entity1 = new SingleIdentEntity(1, 'Foo');
|
$entity1 = new SingleIdentEntity(1, 'Foo');
|
||||||
$entity2 = new SingleIdentEntity(2, 'Bar');
|
$entity2 = new SingleIdentEntity(2, 'Bar');
|
||||||
|
@ -173,7 +173,7 @@ class DateTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsYearWithinRangeReturnsTrueIfWithin()
|
public function testIsYearWithinRangeReturnsTrueIfWithin()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('date', null, array(
|
$form = $this->factory->create('date', null, array(
|
||||||
'data_timezone' => 'UTC',
|
'data_timezone' => 'UTC',
|
||||||
@ -189,7 +189,7 @@ class DateTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsYearWithinRangeReturnsTrueIfEmpty()
|
public function testIsYearWithinRangeReturnsTrueIfEmpty()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('date', null, array(
|
$form = $this->factory->create('date', null, array(
|
||||||
'data_timezone' => 'UTC',
|
'data_timezone' => 'UTC',
|
||||||
@ -205,7 +205,7 @@ class DateTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsYearWithinRangeReturnsTrueIfEmptyChoice()
|
public function testIsYearWithinRangeReturnsTrueIfEmptyChoice()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('date', null, array(
|
$form = $this->factory->create('date', null, array(
|
||||||
'data_timezone' => 'UTC',
|
'data_timezone' => 'UTC',
|
||||||
@ -225,7 +225,7 @@ class DateTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsYearWithinRangeReturnsFalseIfNotContained()
|
public function testIsYearWithinRangeReturnsFalseIfNotContained()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('date', null, array(
|
$form = $this->factory->create('date', null, array(
|
||||||
'data_timezone' => 'UTC',
|
'data_timezone' => 'UTC',
|
||||||
@ -241,7 +241,7 @@ class DateTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsMonthWithinRangeReturnsTrueIfWithin()
|
public function testIsMonthWithinRangeReturnsTrueIfWithin()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('date', null, array(
|
$form = $this->factory->create('date', null, array(
|
||||||
'data_timezone' => 'UTC',
|
'data_timezone' => 'UTC',
|
||||||
@ -257,7 +257,7 @@ class DateTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsMonthWithinRangeReturnsTrueIfEmpty()
|
public function testIsMonthWithinRangeReturnsTrueIfEmpty()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('date', null, array(
|
$form = $this->factory->create('date', null, array(
|
||||||
'data_timezone' => 'UTC',
|
'data_timezone' => 'UTC',
|
||||||
@ -273,7 +273,7 @@ class DateTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsMonthWithinRangeReturnsTrueIfEmptyChoice()
|
public function testIsMonthWithinRangeReturnsTrueIfEmptyChoice()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('date', null, array(
|
$form = $this->factory->create('date', null, array(
|
||||||
'data_timezone' => 'UTC',
|
'data_timezone' => 'UTC',
|
||||||
@ -293,7 +293,7 @@ class DateTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsMonthWithinRangeReturnsFalseIfNotContained()
|
public function testIsMonthWithinRangeReturnsFalseIfNotContained()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('date', null, array(
|
$form = $this->factory->create('date', null, array(
|
||||||
'data_timezone' => 'UTC',
|
'data_timezone' => 'UTC',
|
||||||
@ -309,7 +309,7 @@ class DateTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsDayWithinRangeReturnsTrueIfWithin()
|
public function testIsDayWithinRangeReturnsTrueIfWithin()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('date', null, array(
|
$form = $this->factory->create('date', null, array(
|
||||||
'data_timezone' => 'UTC',
|
'data_timezone' => 'UTC',
|
||||||
@ -325,7 +325,7 @@ class DateTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsDayWithinRangeReturnsTrueIfEmpty()
|
public function testIsDayWithinRangeReturnsTrueIfEmpty()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('date', null, array(
|
$form = $this->factory->create('date', null, array(
|
||||||
'data_timezone' => 'UTC',
|
'data_timezone' => 'UTC',
|
||||||
@ -341,7 +341,7 @@ class DateTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsDayWithinRangeReturnsTrueIfEmptyChoice()
|
public function testIsDayWithinRangeReturnsTrueIfEmptyChoice()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('date', null, array(
|
$form = $this->factory->create('date', null, array(
|
||||||
'data_timezone' => 'UTC',
|
'data_timezone' => 'UTC',
|
||||||
@ -361,9 +361,9 @@ class DateTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsDayWithinRangeReturnsFalseIfNotContained()
|
public function testIsDayWithinRangeReturnsFalseIfNotContained()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('date', null, array(
|
$form = $this->factory->create('date', null, array(
|
||||||
'data_timezone' => 'UTC',
|
'data_timezone' => 'UTC',
|
||||||
@ -379,7 +379,7 @@ class DateTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsPartiallyFilledReturnsFalseIfInput()
|
public function testIsPartiallyFilledReturnsFalseIfInput()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('date', null, array(
|
$form = $this->factory->create('date', null, array(
|
||||||
'data_timezone' => 'UTC',
|
'data_timezone' => 'UTC',
|
||||||
@ -394,7 +394,7 @@ class DateTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsPartiallyFilledReturnsFalseIfChoiceAndCompletelyEmpty()
|
public function testIsPartiallyFilledReturnsFalseIfChoiceAndCompletelyEmpty()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('date', null, array(
|
$form = $this->factory->create('date', null, array(
|
||||||
'data_timezone' => 'UTC',
|
'data_timezone' => 'UTC',
|
||||||
@ -413,7 +413,7 @@ class DateTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsPartiallyFilledReturnsFalseIfChoiceAndCompletelyFilled()
|
public function testIsPartiallyFilledReturnsFalseIfChoiceAndCompletelyFilled()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('date', null, array(
|
$form = $this->factory->create('date', null, array(
|
||||||
'data_timezone' => 'UTC',
|
'data_timezone' => 'UTC',
|
||||||
@ -432,7 +432,7 @@ class DateTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsPartiallyFilledReturnsTrueIfChoiceAndDayEmpty()
|
public function testIsPartiallyFilledReturnsTrueIfChoiceAndDayEmpty()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('date', null, array(
|
$form = $this->factory->create('date', null, array(
|
||||||
'data_timezone' => 'UTC',
|
'data_timezone' => 'UTC',
|
||||||
|
@ -144,7 +144,7 @@ class TimeTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsHourWithinRange_returnsTrueIfWithin()
|
public function testIsHourWithinRange_returnsTrueIfWithin()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('time', null, array(
|
$form = $this->factory->create('time', null, array(
|
||||||
'hours' => array(6, 7),
|
'hours' => array(6, 7),
|
||||||
@ -157,7 +157,7 @@ class TimeTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsHourWithinRange_returnsTrueIfEmpty()
|
public function testIsHourWithinRange_returnsTrueIfEmpty()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('time', null, array(
|
$form = $this->factory->create('time', null, array(
|
||||||
'hours' => array(6, 7),
|
'hours' => array(6, 7),
|
||||||
@ -170,7 +170,7 @@ class TimeTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsHourWithinRange_returnsFalseIfNotContained()
|
public function testIsHourWithinRange_returnsFalseIfNotContained()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('time', null, array(
|
$form = $this->factory->create('time', null, array(
|
||||||
'hours' => array(6, 7),
|
'hours' => array(6, 7),
|
||||||
@ -183,7 +183,7 @@ class TimeTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsMinuteWithinRange_returnsTrueIfWithin()
|
public function testIsMinuteWithinRange_returnsTrueIfWithin()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('time', null, array(
|
$form = $this->factory->create('time', null, array(
|
||||||
'minutes' => array(6, 7),
|
'minutes' => array(6, 7),
|
||||||
@ -196,7 +196,7 @@ class TimeTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsMinuteWithinRange_returnsTrueIfEmpty()
|
public function testIsMinuteWithinRange_returnsTrueIfEmpty()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('time', null, array(
|
$form = $this->factory->create('time', null, array(
|
||||||
'minutes' => array(6, 7),
|
'minutes' => array(6, 7),
|
||||||
@ -209,7 +209,7 @@ class TimeTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsMinuteWithinRange_returnsFalseIfNotContained()
|
public function testIsMinuteWithinRange_returnsFalseIfNotContained()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('time', null, array(
|
$form = $this->factory->create('time', null, array(
|
||||||
'minutes' => array(6, 7),
|
'minutes' => array(6, 7),
|
||||||
@ -222,7 +222,7 @@ class TimeTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsSecondWithinRange_returnsTrueIfWithin()
|
public function testIsSecondWithinRange_returnsTrueIfWithin()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('time', null, array(
|
$form = $this->factory->create('time', null, array(
|
||||||
'seconds' => array(6, 7),
|
'seconds' => array(6, 7),
|
||||||
@ -236,7 +236,7 @@ class TimeTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsSecondWithinRange_returnsTrueIfEmpty()
|
public function testIsSecondWithinRange_returnsTrueIfEmpty()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('time', null, array(
|
$form = $this->factory->create('time', null, array(
|
||||||
'seconds' => array(6, 7),
|
'seconds' => array(6, 7),
|
||||||
@ -250,7 +250,7 @@ class TimeTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsSecondWithinRange_returnsTrueIfNotWithSeconds()
|
public function testIsSecondWithinRange_returnsTrueIfNotWithSeconds()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('time', null, array(
|
$form = $this->factory->create('time', null, array(
|
||||||
'seconds' => array(6, 7),
|
'seconds' => array(6, 7),
|
||||||
@ -263,7 +263,7 @@ class TimeTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsSecondWithinRange_returnsFalseIfNotContained()
|
public function testIsSecondWithinRange_returnsFalseIfNotContained()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('time', null, array(
|
$form = $this->factory->create('time', null, array(
|
||||||
'seconds' => array(6, 7),
|
'seconds' => array(6, 7),
|
||||||
@ -277,7 +277,7 @@ class TimeTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsPartiallyFilled_returnsFalseIfCompletelyEmpty()
|
public function testIsPartiallyFilled_returnsFalseIfCompletelyEmpty()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('time', null, array(
|
$form = $this->factory->create('time', null, array(
|
||||||
'widget' => 'choice',
|
'widget' => 'choice',
|
||||||
@ -293,7 +293,7 @@ class TimeTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsPartiallyFilled_returnsFalseIfCompletelyEmpty_withSeconds()
|
public function testIsPartiallyFilled_returnsFalseIfCompletelyEmpty_withSeconds()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('time', null, array(
|
$form = $this->factory->create('time', null, array(
|
||||||
'widget' => 'choice',
|
'widget' => 'choice',
|
||||||
@ -311,7 +311,7 @@ class TimeTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsPartiallyFilled_returnsFalseIfCompletelyFilled()
|
public function testIsPartiallyFilled_returnsFalseIfCompletelyFilled()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('time', null, array(
|
$form = $this->factory->create('time', null, array(
|
||||||
'widget' => 'choice',
|
'widget' => 'choice',
|
||||||
@ -327,7 +327,7 @@ class TimeTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsPartiallyFilled_returnsFalseIfCompletelyFilled_withSeconds()
|
public function testIsPartiallyFilled_returnsFalseIfCompletelyFilled_withSeconds()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('time', null, array(
|
$form = $this->factory->create('time', null, array(
|
||||||
'widget' => 'choice',
|
'widget' => 'choice',
|
||||||
@ -345,7 +345,7 @@ class TimeTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsPartiallyFilled_returnsTrueIfChoiceAndHourEmpty()
|
public function testIsPartiallyFilled_returnsTrueIfChoiceAndHourEmpty()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('time', null, array(
|
$form = $this->factory->create('time', null, array(
|
||||||
'widget' => 'choice',
|
'widget' => 'choice',
|
||||||
@ -363,7 +363,7 @@ class TimeTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsPartiallyFilled_returnsTrueIfChoiceAndMinuteEmpty()
|
public function testIsPartiallyFilled_returnsTrueIfChoiceAndMinuteEmpty()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('time', null, array(
|
$form = $this->factory->create('time', null, array(
|
||||||
'widget' => 'choice',
|
'widget' => 'choice',
|
||||||
@ -381,7 +381,7 @@ class TimeTypeTest extends LocalizedTestCase
|
|||||||
|
|
||||||
public function testIsPartiallyFilled_returnsTrueIfChoiceAndSecondsEmpty()
|
public function testIsPartiallyFilled_returnsTrueIfChoiceAndSecondsEmpty()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('Needs to be reimplemented using validators');
|
$this->markTestIncomplete('Needs to be reimplemented using validators');
|
||||||
|
|
||||||
$form = $this->factory->create('time', null, array(
|
$form = $this->factory->create('time', null, array(
|
||||||
'widget' => 'choice',
|
'widget' => 'choice',
|
||||||
|
@ -210,7 +210,7 @@ class KernelTest extends \PHPUnit_Framework_TestCase
|
|||||||
public function testStripComments()
|
public function testStripComments()
|
||||||
{
|
{
|
||||||
if (!function_exists('token_get_all')) {
|
if (!function_exists('token_get_all')) {
|
||||||
$this->markTestSkipped();
|
$this->markTestSkipped('The function token_get_all() is not available.');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$source = <<<EOF
|
$source = <<<EOF
|
||||||
|
@ -40,9 +40,7 @@ abstract class TestCase extends \PHPUnit_Framework_TestCase
|
|||||||
protected function skipIfICUVersionIsTooOld()
|
protected function skipIfICUVersionIsTooOld()
|
||||||
{
|
{
|
||||||
if ($this->isLowerThanIcuVersion('4.0')) {
|
if ($this->isLowerThanIcuVersion('4.0')) {
|
||||||
$this->markTestSkipped(
|
$this->markTestSkipped('Please upgrade ICU version to 4+');
|
||||||
'Please upgrade ICU version to 4+'
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user