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

Unified Diff: sql/connection_unittest.cc

Issue 1355403004: [sql] Disable mmap test under mojo. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sql/connection_unittest.cc
diff --git a/sql/connection_unittest.cc b/sql/connection_unittest.cc
index 5412be150fcb75276e7f437ca489c5b3ee599ef9..0038a1d7f57aac2f8b2f692c6ed17eae44a5ee8c 100644
--- a/sql/connection_unittest.cc
+++ b/sql/connection_unittest.cc
@@ -1306,6 +1306,7 @@ TEST_F(SQLConnectionTest, TimeUpdateTransaction) {
// patched to mmap read only, then write using OS file writes. If the
// memory-mapped version doesn't reflect the OS file writes, SQLite's
// memory-mapped I/O should be disabled on this platform.
+#if !defined(MOJO_APPTEST_IMPL)
TEST_F(SQLConnectionTest, MmapTest) {
// Skip the test for platforms which don't enable memory-mapped I/O in SQLite,
// or which don't even support the pragma. The former seems to apply to iOS,
@@ -1375,5 +1376,6 @@ TEST_F(SQLConnectionTest, MmapTest) {
ASSERT_EQ('4', m.data()[kOffset]);
}
}
+#endif
} // namespace
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698