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

Unified Diff: courgette/encoded_program_fuzz_unittest.cc

Issue 149597: Code changes to get the code to compile under GCC.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « courgette/encoded_program.cc ('k') | courgette/encoded_program_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: courgette/encoded_program_fuzz_unittest.cc
===================================================================
--- courgette/encoded_program_fuzz_unittest.cc (revision 21002)
+++ courgette/encoded_program_fuzz_unittest.cc (working copy)
@@ -30,8 +30,8 @@
private:
virtual void SetUp() {
PathService::Get(base::DIR_SOURCE_ROOT, &testdata_dir_);
- testdata_dir_ = testdata_dir_.Append(L"courgette");
- testdata_dir_ = testdata_dir_.Append(L"testdata");
+ testdata_dir_ = testdata_dir_.AppendASCII("courgette");
+ testdata_dir_ = testdata_dir_.AppendASCII("testdata");
}
virtual void TearDown() { }
@@ -188,10 +188,10 @@
}
if (index > 60) { // Beyond the origin addresses ...
- EXPECT_NE(0, changed_byte_count); // ... we expect some difference.
+ EXPECT_NE(0U, changed_byte_count); // ... we expect some difference.
}
// Currently all changes are smaller than this number:
- EXPECT_GE(45000u, changed_byte_count);
+ EXPECT_GE(45000U, changed_byte_count);
}
}
Property changes on: courgette/encoded_program_fuzz_unittest.cc
___________________________________________________________________
Name: svn:eol-style
+ LF
« no previous file with comments | « courgette/encoded_program.cc ('k') | courgette/encoded_program_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698