OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |