OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2012 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 { | 114 { |
115 testNumbers<short>(); | 115 testNumbers<short>(); |
116 testNumbers<int>(); | 116 testNumbers<int>(); |
117 testNumbers<long>(); | 117 testNumbers<long>(); |
118 testNumbers<long long>(); | 118 testNumbers<long long>(); |
119 } | 119 } |
120 | 120 |
121 TEST(WTF, IntegerToStringConversionUnsignedIntegerBoundaries) | 121 TEST(WTF, IntegerToStringConversionUnsignedIntegerBoundaries) |
122 { | 122 { |
123 testBoundaries<unsigned short>(); | 123 testBoundaries<unsigned short>(); |
124 testBoundaries<unsigned int>(); | 124 testBoundaries<unsigned>(); |
125 testBoundaries<unsigned long>(); | 125 testBoundaries<unsigned long>(); |
126 testBoundaries<unsigned long long>(); | 126 testBoundaries<unsigned long long>(); |
127 } | 127 } |
128 | 128 |
129 TEST(WTF, IntegerToStringConversionUnsignedIntegerRegularNumbers) | 129 TEST(WTF, IntegerToStringConversionUnsignedIntegerRegularNumbers) |
130 { | 130 { |
131 testNumbers<unsigned short>(); | 131 testNumbers<unsigned short>(); |
132 testNumbers<unsigned int>(); | 132 testNumbers<unsigned>(); |
133 testNumbers<unsigned long>(); | 133 testNumbers<unsigned long>(); |
134 testNumbers<unsigned long long>(); | 134 testNumbers<unsigned long long>(); |
135 } | 135 } |
136 | 136 |
137 } // namespace | 137 } // namespace |
OLD | NEW |