4533f3d00b
pathops_unittest -J dump.json now generates both Op() and Simplify() tests and results. Also, make json names unique. While this may not be necessary, duplicate names may make debugging failing tests more difficult. R=kjlubick@google.com Bug: skia: Change-Id: I2eed5a8141764a0ad993fb9a09c23b7d90d65048 Reviewed-on: https://skia-review.googlesource.com/146100 Commit-Queue: Cary Clark <caryclark@skia.org> Commit-Queue: Kevin Lubick <kjlubick@google.com> Auto-Submit: Cary Clark <caryclark@skia.org> Reviewed-by: Kevin Lubick <kjlubick@google.com>
22 lines
378 B
C++
22 lines
378 B
C++
/*
|
|
* Copyright 2018 Google Inc.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
#ifndef PathOpsDebug_DEFINED
|
|
#define PathOpsDebug_DEFINED
|
|
|
|
#include <stdio.h>
|
|
|
|
class PathOpsDebug {
|
|
public:
|
|
static bool gJson;
|
|
static bool gOutFirst;
|
|
static bool gCheckForDuplicateNames;
|
|
static FILE* gOut;
|
|
};
|
|
|
|
#endif
|