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

Unified Diff: tests/RecordingTest.cpp

Issue 660903002: Remove obsolete SkRecording. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: clean up Created 6 years, 2 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/SkRecording.cpp ('k') | tests/RecordingXfermodeTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/RecordingTest.cpp
diff --git a/tests/RecordingTest.cpp b/tests/RecordingTest.cpp
deleted file mode 100644
index 006655600207ed8b1173908ed5b134232d012852..0000000000000000000000000000000000000000
--- a/tests/RecordingTest.cpp
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Copyright 2014 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#include "Test.h"
-
-#include "../include/record/SkRecording.h"
-
-// Minimally exercise the public SkRecording API.
-
-DEF_TEST(SkRecording, r) {
- EXPERIMENTAL::SkRecording recording(1920, 1080);
-
- // Some very exciting commands here.
- recording.canvas()->clipRect(SkRect::MakeWH(320, 240));
-
- SkAutoTDelete<const EXPERIMENTAL::SkPlayback> playback(recording.releasePlayback());
-
- SkCanvas target;
- playback->draw(&target);
-
- // Here's another recording we never call releasePlayback().
- // However pointless, this should be safe.
- EXPERIMENTAL::SkRecording pointless(1920, 1080);
- pointless.canvas()->clipRect(SkRect::MakeWH(320, 240));
-}
« no previous file with comments | « src/core/SkRecording.cpp ('k') | tests/RecordingXfermodeTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698