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

Unified Diff: tests/StreamTest.cpp

Issue 1054073003: Minimal Changes to run tests on iOS (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase Created 5 years, 8 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 | « src/core/SkImageFilter.cpp ('k') | tools/ProcStats.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/StreamTest.cpp
diff --git a/tests/StreamTest.cpp b/tests/StreamTest.cpp
index 7a89c99c0c1f91c470379ead3e8cdd27e96d2ceb..776c2010145e15579064fb2431ee0b35b4097e89 100644
--- a/tests/StreamTest.cpp
+++ b/tests/StreamTest.cpp
@@ -246,6 +246,10 @@ static void test_peeking_front_buffered_stream(skiatest::Reporter* r,
test_peeking_stream(r, bufferedStream, bufferSize);
}
+// This test uses file system operations that don't work out of the
+// box on iOS. It's likely that we don't need them on iOS. Ignoring for now.
+// TODO(stephana): Re-evaluate if we need this in the future.
+#ifndef SK_BUILD_FOR_IOS
DEF_TEST(StreamPeek, reporter) {
// Test a memory stream.
const char gAbcs[] = "abcdefghijklmnopqrstuvwxyz";
@@ -265,3 +269,4 @@ DEF_TEST(StreamPeek, reporter) {
test_peeking_front_buffered_stream(reporter, memStream, i);
}
}
+#endif
« no previous file with comments | « src/core/SkImageFilter.cpp ('k') | tools/ProcStats.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698