/**
  * @see StringValueParserTest::invalidInputProvider
  */
 public function invalidInputProvider()
 {
     $argLists = parent::invalidInputProvider();
     $invalid = array('June June June', '111 111 111', 'Jann 2014', '13/13', '13,1999', '1999,13', 'june 200,000,000', 'june 200.000.000', '1 July 20000', '20000');
     foreach ($invalid as $value) {
         $argLists[] = array($value);
     }
     return $argLists;
 }
Ejemplo n.º 2
0
 /**
  * @see ValueParserTestBase::invalidInputProvider
  */
 public function invalidInputProvider()
 {
     $argLists = parent::invalidInputProvider();
     $invalid = array('foo', '', '.', '+.', '-.', '--1', '++1', '1-', 'one', '1+1', '1-1', '1.2.3', ',3,', '10,000', '10\'000', '2!!', '!2', '2!2', '2!~', '2~!', '2~~', '~2', '2~2', '2 -- 2', '2++2', '2+±2', '2-±2', '2()', '2*', '2x y', 'x 2 y', '100 003', '1 . 0');
     foreach ($invalid as $value) {
         $argLists[] = array($value);
     }
     return $argLists;
 }
 /**
  * @see StringValueParserTest::invalidInputProvider
  */
 public function invalidInputProvider()
 {
     $argLists = parent::invalidInputProvider();
     $invalid = array('June June June', '111 111 111', 'Jann 2014', '1 July 20000', '-100BC', '+100BC', '-100 BC', '+100 BC', '+100 BCE', '+100BCE', '-,999', '-999,', '-19.000', '-1/000/000', '1 000 000', '19_000', '1,99,999');
     foreach ($invalid as $value) {
         $argLists[] = array($value);
     }
     return $argLists;
 }
Ejemplo n.º 4
0
 public function invalidInputProvider()
 {
     $argLists = parent::invalidInputProvider();
     $invalid = array('foo', '4.2', '', '--1', '1-', '1 1', '1,', ',1', ',1,', 'one', '0x20', '+1', '1+1', '1-1', '1.2.3');
     foreach ($invalid as $value) {
         $argLists[] = array($value);
     }
     return $argLists;
 }
Ejemplo n.º 5
0
 public function invalidInputProvider()
 {
     $argLists = parent::invalidInputProvider();
     $invalid = array('~=[,,_,,]:3', 'ohi there');
     foreach ($invalid as $value) {
         $argLists[] = array($value);
     }
     return $argLists;
 }
 /**
  * @see StringValueParserTest::invalidInputProvider
  */
 public function invalidInputProvider()
 {
     $argLists = parent::invalidInputProvider();
     $invalid = array('foo', 'c2', 'a-1', '1a', 'a1a', '01a', 'a 1', 'a1 ', ' a1');
     foreach ($invalid as $value) {
         $argLists[] = array($value);
     }
     return $argLists;
 }
 /**
  * @see StringValueParserTest::invalidInputProvider
  */
 public function invalidInputProvider()
 {
     $argLists = parent::invalidInputProvider();
     $invalid = array('June June June', '111 111 111', 'Jann 2014', '200000000', '1 June 2013', 'June 2013', '2000', '1980x', '1980ss');
     foreach ($invalid as $value) {
         $argLists[] = array($value);
     }
     return $argLists;
 }
Ejemplo n.º 8
0
 /**
  * @see StringValueParserTest::invalidInputProvider
  */
 public function invalidInputProvider()
 {
     $argLists = parent::invalidInputProvider();
     $invalid = array('June June June', '111 111 111', '101st July 2015', '2015-07-101', '10  .10  .2010', '10...10...2010', '00-00-00', '99-00-00', '111-00-00', '2015-00-00', '00000000099-00-00', '00000002015-00-00', '92015-00-00', 'Jann 2014', '1980x', '1980s', '1980', '1980ss', '1980er', '1980UTC', '1980America/New_York', '1980 America/New_York', '1980+3', '1980+x', 'x', 'x x x', 'zz', 'America/New_York', '1991 2');
     foreach ($invalid as $value) {
         $argLists[] = array($value);
     }
     return $argLists;
 }
Ejemplo n.º 9
0
 /**
  * @see StringValueParserTest::invalidInputProvider
  */
 public function invalidInputProvider()
 {
     $invalid = array('2015', '12.2015', 'May 1 2015', '1. May 2015', '1 2015-12-31', '31.12.2015 23', '31.12.2015 23:59', '+2015-12-31T00:00:00Z', '12:31:59', '12:59:59', '23:12:59', '23:12:31', '-23:12:31', '-24:00:00', '12 12 12', '31 12 12', '12 31 12', '31 31 12', '12 12 31', '31 12 31', '12 31 31', '31 31 31', '32 32 12', '32 12 32', '12 32 32', '32 32 32', '32 2 1', '2015-12-11', '1 2 32', '11.12.2015', '12 -1 12', '12 32 12', '12 2015 31', '31 2015 12', 'year -2015-12-31 BC', '31.12.-2015 BC', '-2015-00-00', '0000-00-00', '2015-00-00', '2015-12-00', '0. 0. -2015', '0. 0. 0', '0. 0. 2015', '0. 12. 2015', '2015-12-031', '2015-012-31');
     $cases = parent::invalidInputProvider();
     foreach ($invalid as $value) {
         $cases[] = array($value);
     }
     return $cases;
 }