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

Side by Side Diff: statsreport/formatter_unittest.cc

Issue 159168: This fixes a number of things that are warnings in the Mac compiler.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: Created 11 years, 5 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright 2009, Google Inc. 2 * Copyright 2009, Google Inc.
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 formatter.AddInteger("integer1", 3000); 43 formatter.AddInteger("integer1", 3000);
44 formatter.AddBoolean("boolean1", true); 44 formatter.AddBoolean("boolean1", true);
45 formatter.AddBoolean("boolean2", false); 45 formatter.AddBoolean("boolean2", false);
46 46
47 EXPECT_STREQ("test_application&86400" 47 EXPECT_STREQ("test_application&86400"
48 "&count1:c=10" 48 "&count1:c=10"
49 "&timing1:t=2;150;50;200" 49 "&timing1:t=2;150;50;200"
50 "&integer1:i=3000" 50 "&integer1:i=3000"
51 "&boolean1:b=t" 51 "&boolean1:b=t"
52 "&boolean2:b=f", 52 "&boolean2:b=f",
53 formatter.output()); 53 formatter.output().c_str());
54 } 54 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698