SkRTConf: eliminate
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2212473002
DOCS_PREVIEW= https://skia.org/?cl=2212473002
CQ_INCLUDE_TRYBOTS=master.client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot
[mtklein]
TBR=reed@google.com
Only removing unused public API.
Review-Url: https://codereview.chromium.org/2212473002
diff --git a/tests/PathOpsSkpClipTest.cpp b/tests/PathOpsSkpClipTest.cpp
index c96e5bf..3c958f1 100644
--- a/tests/PathOpsSkpClipTest.cpp
+++ b/tests/PathOpsSkpClipTest.cpp
@@ -19,7 +19,6 @@
#include "SkOSFile.h"
#include "SkPathOpsDebug.h"
#include "SkPicture.h"
-#include "SkRTConf.h"
#include "SkTSort.h"
#include "SkStream.h"
#include "SkString.h"
@@ -27,6 +26,7 @@
#include "SkTDArray.h"
#include "SkTaskGroup.h"
#include "SkTemplates.h"
+#include "SkTSearch.h"
#include "SkTime.h"
#include <stdlib.h>
@@ -740,13 +740,6 @@
return true;
}
-static void initTest() {
-#if !defined SK_BUILD_FOR_WIN && !defined SK_BUILD_FOR_MAC
- SK_CONF_SET("images.jpeg.suppressDecoderWarnings", true);
- SK_CONF_SET("images.png.suppressDecoderWarnings", true);
-#endif
-}
-
static void testSkpClipEncode(TestState* data) {
data->fResult.testOne();
if (verbose()) {
@@ -827,7 +820,6 @@
DEF_TEST(PathOpsSkpClip) {
gDirs.setDefault();
- initTest();
SkTArray<TestResult, true> errors;
TestState state;
state.init(0);
@@ -851,7 +843,6 @@
DEF_TEST(PathOpsSkpClipThreaded) {
gDirs.setDefault();
- initTest();
TestRunner testRunner;
int dirNo;
gDirs.reset();
@@ -890,7 +881,6 @@
gDirs.setDefault();
const int firstDirNo = gDirs.next();
const int lastDirNo = gDirs.last();
- initTest();
int dirCount = lastDirNo - firstDirNo + 1;
SkAutoTDeleteArray<SkTDArray<TestResult> > tests(new SkTDArray<TestResult>[dirCount]);
SkAutoTDeleteArray<SkTDArray<SortByName*> > sorted(new SkTDArray<SortByName*>[dirCount]);
@@ -973,7 +963,6 @@
if (!skp) {
skp = skipOver[testIndex].filename;
}
- initTest();
SkAssertResult(get_in_path(dirNo, skp).size());
SkString filename(skp);
TestResult state;
@@ -993,7 +982,6 @@
}
int dirNo = skip.directory;
const char* skp = skip.filename;
- initTest();
SkAssertResult(get_in_path(dirNo, skp).size());
SkString filename(skp);
TestResult state;