Project

General

Profile

Actions

Bug #35753

closed

Unexpected validation results discoverd by unit tests

Added by Oliver Klee over 12 years ago. Updated almost 10 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

Also available in: Atom PDF