Project

General

Profile

Actions

Bug #35753

closed

Unexpected validation results discoverd by unit tests

Added by Oliver Klee about 12 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2012-04-06
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

These unit tests currently fail (and thus have not been added in #35333):

Testsuite: tx_form_System_Validate_DateTest

 isValidForInvalidInputReturnsFalse with data set "31-12-1898" 
Failure in test case isValidForInvalidInputReturnsFalse with data set "31-12-1898" 

Testsuite: tx_form_System_Validate_EmailTest

 isValidForInvalidInputReturnsFalse with data set "myemail@myhostname" 
Failure in test case isValidForInvalidInputReturnsFalse with data set "myemail@myhostname" 

Testsuite: tx_form_System_Validate_EqualsTest

 isValidForValidInputReturnsTrue with data set "something === something" 
Failure in test case isValidForValidInputReturnsTrue with data set "something === something" 

isValidForValidInputReturnsTrue with data set "3 === 3" 
Failure in test case isValidForValidInputReturnsTrue with data set "3 === 3" 

Testsuite: tx_form_System_Validate_FloatTest

 isValidForValidInputReturnsTrue with data set "12,1 for de_DE locale" 
Failure in test case isValidForValidInputReturnsTrue with data set "12,1 for de_DE locale" 

 isValidForInvalidInputReturnsFalse with data set "12 for de locale" 
Failure in test case isValidForInvalidInputReturnsFalse with data set "12 for de locale" 

Testsuite: tx_form_System_Validate_IntegerTest

 isValidForValidInputReturnsTrue with data set "1.200 for de locale" 
Failure in test case isValidForValidInputReturnsTrue with data set "1.200 for de locale" 

Testsuite: tx_form_System_Validate_LengthTest

 isValidForValidInputReturnsTrue with data set "4 ≤ length(äüöß) ≤ 4" 
Failure in test case isValidForValidInputReturnsTrue with data set "4 ≤ length(äüöß) ≤ 4" 

 isValidForValidInputReturnsTrue with data set "4 ≤ length(øü߬) ≤ 4" 
Failure in test case isValidForValidInputReturnsTrue with data set "4 ≤ length(øü߬) ≤ 4" 

Testsuite: tx_form_System_Validate_RequiredTest

 isValidForInvalidDataReturnsFalse with data set "space" 
Failure in test case isValidForInvalidDataReturnsFalse with data set "space" 

Testsuite: tx_form_System_Validate_UriTest

 isValidForValidInputReturnsTrue with data set "http://localhost/" 
Failure in test case isValidForValidInputReturnsTrue with data set "http://localhost/" 

 isValidForValidInputReturnsTrue with data set "http://mac.local/" 
Failure in test case isValidForValidInputReturnsTrue with data set "http://mac.local/" 

 isValidForValidInputReturnsTrue with data set "http://127.0.0.1/something.html" 
Failure in test case isValidForValidInputReturnsTrue with data set "http://127.0.0.1/something.html" 

Related issues 1 (0 open1 closed)

Blocked by TYPO3 Core - Feature #35333: Validators need testsClosed2012-03-28

Actions
Actions #1

Updated by Wouter Wolters over 9 years ago

  • Status changed from New to Needs Feedback
  • Is Regression set to No

Hi,

as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (6.2.9)?

Actions #2

Updated by Oliver Klee over 9 years ago

I think these tests now are green. So this issue can be closed.

Actions #3

Updated by Wouter Wolters over 9 years ago

  • Status changed from Needs Feedback to Closed

thanks for the feedback.

Actions

Also available in: Atom PDF