Hi!
Test results, lots of NSNumberFormatter fails. I am using ICU 4.6.
Cheers,
TOM
Building in NSNumberFormatter
This is gnustep-make 2.4.0. Type 'make print-gnustep-make-help' for help.
Running in gnustep-make version 2 strict mode.
Making all for test_tool basic10_4...
Making all for test_tool basic...
Compiling file basic10_4.m ...
Compiling file basic.m ...
basic10_4.m: In Funktion »main«:
basic10_4.m:48: Warnung: Übergabe des Arguments 3 von
»getObjectValue:forString:errorDescription:« von inkompatiblem Zeigertyp
Linking test_tool basic ...
Linking test_tool basic10_4 ...
Testing basic10_4.m...
Running NSNumberFormatter/basic10_4.m...
Start set: basic10_4.m:17 ... NSNumberFormatter
Passed test: basic10_4.m:21 ... default behavior is
NSNumberFormatterBehavior10_4
Passed test: basic10_4.m:27 ... default behavior can be changed to
NSNumberFormatterBehavior10_0
Passed test: basic10_4.m:33 ... NSNumberFormatterBehaviorDefault gives
NSNumberFormatterBehavior10_4
Passed test: basic10_4.m:39 ... unknown behavior is accepted
Passed test: basic10_4.m:45 ... default behavior can be changed to
NSNumberFormatterBehavior10_4
2011-03-06 13:42:07.762 basic10_4[20522]
NSNumberFormatter-getObjectValue:forString:... not fully implemented
Passed test: basic10_4.m:49 ... formatting tuceeded
2011-03-06 13:42:07.763 basic10_4[20522] number: 0.0
Passed test: basic10_4.m:54 ... is not equal to NaN
Passed test: basic10_4.m:56 ... is equal to zero
Passed test: basic10_4.m:63 ... a new formatter gets the current default
behavior
Passed test: basic10_4.m:66 ... a new formatter can have the default
behavior set
Passed test: basic10_4.m:69 ... notANumber special case
2011-03-06 13:42:07.764 basic10_4[20522]
NSNumberFormatter-getObjectValue:forString:... not fully implemented
Passed test: basic10_4.m:74 ...
getObjectValue:forString:errorDescription: runs
Passed test: basic10_4.m:76 ... getObjectValue inited with 0.00
Start set: basic10_4.m:78 ... NSLocale
Failed test: basic10_4.m:85 ... default 10.4 format same as Cocoa
Expected '1235' and got 'NaN'
Failed test: basic10_4.m:92 ... round up for fractional part >0.5
Expected '1234.57' and got 'NaN'
Failed test: basic10_4.m:97 ... round down for fractional part <0.5
Expected '1234.43' and got 'NaN'
Failed test: basic10_4.m:103 ... minus sign assigned correctly
Expected '_1234.4' and got 'NaN'
Dashed hope: basic10_4.m:110 ... Negative percentage correct
Expected '_123,443##' and got 'NaN'
Failed test: basic10_4.m:121 ... format width set correctly
Expected '**1234' and got '***NaN'
Failed test: basic10_4.m:125 ... positive prefix set correctly
Expected '*+1234' and got '***NaN'
Failed test: basic10_4.m:129 ... default padding position is before
prefix
Expected '0+1234' and got '000NaN'
Failed test: basic10_4.m:134 ... numeric and space padding OK
Expected '+01234' and got '000NaN'
Dashed hope: basic10_4.m:142 ... currency style does not include
currency string
Expected '+1.235' and got 'NaN'
Failed test: basic10_4.m:147 ... positive prefix is set correctly for
currency style
Expected '+1.235' and got 'NaN'
Failed test: basic10_4.m:151 ... prefix and suffix used properly
Expected '+1.235c' and got 'NaN'
Failed test: basic10_4.m:155 ... negativeFormat used for -ve number
Expected '(R$1.235)' and got 'NaN'
Dashed hope: basic10_4.m:161 ... format string of length 1
Expected '_01235' and got 'NaN'
End set: basic10_4.m:164 ... NSLocale
End set: basic10_4.m:166 ... NSNumberFormatter
Completed file: basic10_4.m
Testing basic.m...
Running NSNumberFormatter/basic.m...
Start set: basic.m:7 ... basic
Passed test: basic.m:17 ... +[NSNumberFormatter alloc] returns a
NSNumberFormatter
Passed test: basic.m:23 ... default format same as Cocoa
Failed test: basic.m:27 ... Handle leading zeroes in fractional part: 1.01
Expected '1.01' and got '1.1'
Passed test: basic.m:33 ... -setAllowsFloats: does not effect rounding
2011-03-06 13:42:07.867 basic[20549]
NSNumberFormatter-getObjectValue:forString:... not fully implemented
Passed test: basic.m:36 ... float input is disallowed
2011-03-06 13:42:07.868 basic[20549]
NSNumberFormatter-getObjectValue:forString:... not fully implemented
Passed test: basic.m:39 ... allowsFloat error
Passed test: basic.m:44 ... numeric and space padding OK
Passed test: basic.m:52 ... prefix and suffix used properly
Passed test: basic.m:56 ... negativeFormat used for -ve number
Passed test: basic.m:59 ... notANumber special case
Passed test: basic.m:63 ... format string of length 1
End set: basic.m:65 ... basic
Completed file: basic.m
_______________________________________________
Gnustep-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnustep-dev