aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/RecorderTest.cpp
diff options
context:
space:
mode:
authorGravatar reed <reed@chromium.org>2015-01-02 06:39:51 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-01-02 06:39:51 -0800
commitc4fda92f45b9649f233a5b8636618a6431aa59cb (patch)
tree18eab2beddd77308e51e6aba0fa152e883d7b1b0 /tests/RecorderTest.cpp
parent7c339ae1e362e9f02cdfb9b32007f143dec0bc0e (diff)
remove unused drawData
Diffstat (limited to 'tests/RecorderTest.cpp')
-rw-r--r--tests/RecorderTest.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/RecorderTest.cpp b/tests/RecorderTest.cpp
index e0abacef38..4fac1af58c 100644
--- a/tests/RecorderTest.cpp
+++ b/tests/RecorderTest.cpp
@@ -69,20 +69,6 @@ DEF_TEST(Recorder_CommentGroups, r) {
REPORTER_ASSERT(r, 1 == tally.count<SkRecords::EndCommentGroup>());
}
-// DrawData is similar to comment groups. It doesn't affect drawing, but
-// it's a pass-through we provide to the client. Again, a simple reg. test.
-DEF_TEST(Recorder_DrawData, r) {
- SkRecord record;
- SkRecorder recorder(&record, 100, 100);
-
- const char* data = "This sure is some data, eh?";
- recorder.drawData(data, strlen(data));
-
- Tally tally;
- tally.apply(record);
- REPORTER_ASSERT(r, 1 == tally.count<SkRecords::DrawData>());
-}
-
// Regression test for leaking refs held by optional arguments.
DEF_TEST(Recorder_RefLeaking, r) {
// We use SaveLayer to test: