source: rtems/testsuites/libtests/stringto01/stringto01.scn @ 57544fb

4.104.115
Last change on this file since 57544fb was 57544fb, checked in by Joel Sherrill <joel.sherrill@…>, on Dec 1, 2009 at 10:10:33 PM

2009-12-01 Joel Sherrill <joel.sherrill@…>

  • Makefile.am, configure.ac: Add string_to_xxx conversion test.
  • stringto01/.cvsignore, stringto01/Makefile.am, stringto01/stringto01.doc, stringto01/stringto01.scn, stringto01/stringto_test_template.h: New files.
  • Property mode set to 100644
File size: 4.7 KB
Line 
1*** STRING TO CONVERSION TEST ***
2
3Testing rtems_string_to_pointer
4rtems_string_to_pointer - NULL return value - RTEMS_INVALID_ADDRESS
5rtems_string_to_pointer - 0x123 NULL endptr return value - RTEMS_SUCCESSFUL
6rtems_string_to_pointer - 0x123 w/endptr return value - RTEMS_SUCCESSFUL
7rtems_string_to_pointer - xxx w/endptr return value - RTEMS_NOT_DEFINED
8rtems_string_to_pointer - empty string - w/endptr return value - RTEMS_NOT_DEFINED
9
10Testing rtems_string_to_unsigned_char
11rtems_string_to_unsigned_char - NULL return value - RTEMS_INVALID_ADDRESS
12rtems_string_to_unsigned_char - 123 NULL endptr return value - RTEMS_SUCCESSFUL
13rtems_string_to_unsigned_char - 123 w/endptr return value - RTEMS_SUCCESSFUL
14rtems_string_to_unsigned_char - YYY w/endptr return value - RTEMS_NOT_DEFINED
15rtems_string_to_unsigned_char - empty string - w/endptr return value - RTEMS_NOT_DEFINED
16
17Testing rtems_string_to_int
18rtems_string_to_int - NULL return value - RTEMS_INVALID_ADDRESS
19rtems_string_to_int - 123 NULL endptr return value - RTEMS_SUCCESSFUL
20rtems_string_to_int - 123 w/endptr return value - RTEMS_SUCCESSFUL
21rtems_string_to_int - YYY w/endptr return value - RTEMS_NOT_DEFINED
22rtems_string_to_int - empty string - w/endptr return value - RTEMS_NOT_DEFINED
23rtems_string_to_int - overflow - RTEMS_INVALID_NUMBER
24
25Testing rtems_string_to_unsigned_int
26rtems_string_to_unsigned_int - NULL return value - RTEMS_INVALID_ADDRESS
27rtems_string_to_unsigned_int - 123 NULL endptr return value - RTEMS_SUCCESSFUL
28rtems_string_to_unsigned_int - 123 w/endptr return value - RTEMS_SUCCESSFUL
29rtems_string_to_unsigned_int - YYY w/endptr return value - RTEMS_NOT_DEFINED
30rtems_string_to_unsigned_int - empty string - w/endptr return value - RTEMS_NOT_DEFINED
31rtems_string_to_unsigned_int - overflow - RTEMS_INVALID_NUMBER
32
33Testing rtems_string_to_long
34rtems_string_to_long - NULL return value - RTEMS_INVALID_ADDRESS
35rtems_string_to_long - 123 NULL endptr return value - RTEMS_SUCCESSFUL
36rtems_string_to_long - 123 w/endptr return value - RTEMS_SUCCESSFUL
37rtems_string_to_long - YYY w/endptr return value - RTEMS_NOT_DEFINED
38rtems_string_to_long - empty string - w/endptr return value - RTEMS_NOT_DEFINED
39rtems_string_to_long - overflow - RTEMS_INVALID_NUMBER
40rtems_string_to_long- RTEMS_INVALID_NUMBER
41
42Testing rtems_string_to_unsigned_long
43rtems_string_to_unsigned_long - NULL return value - RTEMS_INVALID_ADDRESS
44rtems_string_to_unsigned_long - 123 NULL endptr return value - RTEMS_SUCCESSFUL
45rtems_string_to_unsigned_long - 123 w/endptr return value - RTEMS_SUCCESSFUL
46rtems_string_to_unsigned_long - YYY w/endptr return value - RTEMS_NOT_DEFINED
47rtems_string_to_unsigned_long - empty string - w/endptr return value - RTEMS_NOT_DEFINED
48rtems_string_to_unsigned_long - overflow - RTEMS_INVALID_NUMBER
49
50Testing rtems_string_to_long_long
51rtems_string_to_long_long - NULL return value - RTEMS_INVALID_ADDRESS
52rtems_string_to_long_long - 123 NULL endptr return value - RTEMS_SUCCESSFUL
53rtems_string_to_long_long - 123 w/endptr return value - RTEMS_SUCCESSFUL
54rtems_string_to_long_long - YYY w/endptr return value - RTEMS_NOT_DEFINED
55rtems_string_to_long_long - empty string - w/endptr return value - RTEMS_NOT_DEFINED
56rtems_string_to_long_long - overflow - RTEMS_INVALID_NUMBER
57rtems_string_to_long_long- RTEMS_INVALID_NUMBER
58
59Testing rtems_string_to_unsigned_long_long
60rtems_string_to_unsigned_long_long - NULL return value - RTEMS_INVALID_ADDRESS
61rtems_string_to_unsigned_long_long - 123 NULL endptr return value - RTEMS_SUCCESSFUL
62rtems_string_to_unsigned_long_long - 123 w/endptr return value - RTEMS_SUCCESSFUL
63rtems_string_to_unsigned_long_long - YYY w/endptr return value - RTEMS_NOT_DEFINED
64rtems_string_to_unsigned_long_long - empty string - w/endptr return value - RTEMS_NOT_DEFINED
65rtems_string_to_unsigned_long_long - overflow - RTEMS_INVALID_NUMBER
66
67Testing rtems_string_to_float
68rtems_string_to_float - NULL return value - RTEMS_INVALID_ADDRESS
69rtems_string_to_float - 1.23 NULL endptr return value - RTEMS_SUCCESSFUL
70rtems_string_to_float - 1.23 w/endptr return value - RTEMS_SUCCESSFUL
71rtems_string_to_float - zzz w/endptr return value - RTEMS_NOT_DEFINED
72rtems_string_to_float - empty string - w/endptr return value - RTEMS_NOT_DEFINED
73rtems_string_to_float - overflow - RTEMS_INVALID_NUMBER
74
75Testing rtems_string_to_double
76rtems_string_to_double - NULL return value - RTEMS_INVALID_ADDRESS
77rtems_string_to_double - 1.23 NULL endptr return value - RTEMS_SUCCESSFUL
78rtems_string_to_double - 1.23 w/endptr return value - RTEMS_SUCCESSFUL
79rtems_string_to_double - zzz w/endptr return value - RTEMS_NOT_DEFINED
80rtems_string_to_double - empty string - w/endptr return value - RTEMS_NOT_DEFINED
81rtems_string_to_double - overflow - RTEMS_INVALID_NUMBER
82*** END OF STRING TO CONVERSION TEST ***
Note: See TracBrowser for help on using the repository browser.