| Index: tests/Cpp11Test.cpp
|
| diff --git a/tests/TracingTest.cpp b/tests/Cpp11Test.cpp
|
| similarity index 60%
|
| copy from tests/TracingTest.cpp
|
| copy to tests/Cpp11Test.cpp
|
| index 730a46ce4d734a04ea18d68de6031b7e51d3d506..627c4d4f6927853626652c1c238e1398478f527a 100644
|
| --- a/tests/TracingTest.cpp
|
| +++ b/tests/Cpp11Test.cpp
|
| @@ -5,9 +5,10 @@
|
| * found in the LICENSE file.
|
| */
|
|
|
| -#include "SkTraceEvent.h"
|
| #include "Test.h"
|
|
|
| -DEF_TEST(Tracing, reporter) {
|
| - TRACE_EVENT0("skia.testing", "just a test");
|
| +DEF_TEST(Cpp11, r) {
|
| + auto square = [](int x){ return x*x; };
|
| +
|
| + REPORTER_ASSERT(r, square(4) == 16);
|
| }
|
|
|