Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Side by Side Diff: Source/wtf/StringExtrasTest.cpp

Issue 207783002: Omit "int" when using "unsigned" modifier (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/web/x11/WebScreenInfoFactory.cpp ('k') | Source/wtf/TypeTraits.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « Source/web/x11/WebScreenInfoFactory.cpp ('k') | Source/wtf/TypeTraits.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698