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

Unified Diff: tests/Writer32Test.cpp

Issue 1932223003: Remove SkWriter32::contiguousArray(). (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 4 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/SkRecordedDrawable.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/Writer32Test.cpp
diff --git a/tests/Writer32Test.cpp b/tests/Writer32Test.cpp
index 5c24259a62bb3abfd45360fa99ac118d76d5be4f..ac932e1d297efa6328c8ef4b97d69a41175da76c 100644
--- a/tests/Writer32Test.cpp
+++ b/tests/Writer32Test.cpp
@@ -232,19 +232,6 @@ DEF_TEST(Writer32_dynamic, reporter) {
testOverwriteT(reporter, &writer);
}
-DEF_TEST(Writer32_contiguous, reporter) {
- uint32_t storage[256];
- SkWriter32 writer;
- writer.reset(storage, sizeof(storage));
- // This write is small enough to fit in storage, so it's contiguous.
- test1(reporter, &writer);
- REPORTER_ASSERT(reporter, writer.contiguousArray() != nullptr);
-
- // Everything other aspect of contiguous/non-contiguous is an
- // implementation detail, not part of the public contract for
- // SkWriter32, and so not tested here.
-}
-
DEF_TEST(Writer32_small, reporter) {
SkSWriter32<8 * sizeof(intptr_t)> writer;
test1(reporter, &writer);
« no previous file with comments | « src/core/SkRecordedDrawable.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698