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

Side by Side Diff: runtime/platform/assert.h

Issue 1988843003: Attempt to get the bots to rebuild the world (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | runtime/platform/globals.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef PLATFORM_ASSERT_H_ 5 #ifndef PLATFORM_ASSERT_H_
6 #define PLATFORM_ASSERT_H_ 6 #define PLATFORM_ASSERT_H_
7 7
8 // TODO(5411406): include sstream for now, once we have a Utils::toString() 8 // TODO(5411406): include sstream for now, once we have a Utils::toString()
9 // implemented for all the primitive types we can replace the usage of 9 // implemented for all the primitive types we can replace the usage of
10 // sstream by Utils::toString() 10 // sstream by Utils::toString()
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 dart::Expect(__FILE__, __LINE__).Fail("%s", error) 355 dart::Expect(__FILE__, __LINE__).Fail("%s", error)
356 356
357 #define FAIL1(format, p1) \ 357 #define FAIL1(format, p1) \
358 dart::Expect(__FILE__, __LINE__).Fail(format, (p1)) 358 dart::Expect(__FILE__, __LINE__).Fail(format, (p1))
359 359
360 #define FAIL2(format, p1, p2) \ 360 #define FAIL2(format, p1, p2) \
361 dart::Expect(__FILE__, __LINE__).Fail(format, (p1), (p2)) 361 dart::Expect(__FILE__, __LINE__).Fail(format, (p1), (p2))
362 362
363 #endif // defined(TESTING) 363 #endif // defined(TESTING)
364 364
365
365 #endif // PLATFORM_ASSERT_H_ 366 #endif // PLATFORM_ASSERT_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/platform/globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698