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

Unified Diff: tests/mojo.cpp

Issue 1644043003: SkMojo: test linking Skia against the Mojo SDK (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 11 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
« gyp/skiamojo.gyp ('K') | « gyp/tests.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/mojo.cpp
diff --git a/tests/mojo.cpp b/tests/mojo.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..18a5dd551a09cafb5c636f2cf9ae853abdcf968d
--- /dev/null
+++ b/tests/mojo.cpp
@@ -0,0 +1,15 @@
+/*
+ * Copyright 2016 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 "Skia.mojom.h"
+
+DEF_TEST(mojo, r) {
+ auto p = SkiaMojo::Picture::New();
+ REPORTER_ASSERT(r, p);
+}
« gyp/skiamojo.gyp ('K') | « gyp/tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698