diff options
author | Mike Klein <mtklein@google.com> | 2018-05-22 12:23:12 +0000 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-05-22 12:23:15 +0000 |
commit | edf8449d2c3663350b6b6e30d2fa4c70da02deef (patch) | |
tree | 27c3c1db61a355bd64f7118e7653d741588d2b31 /tests/DataRefTest.cpp | |
parent | 8afa554414b3fed2cd970249946e3986473b5580 (diff) |
Revert "IWYU for tests starting with 'D'."
This reverts commit b5f2897ab5be37e86ccce4ed474a2e02001a9040.
Reason for revert: looks like this broke the build for DM in Google3. Need more include dirs there?
Original change's description:
> IWYU for tests starting with 'D'.
>
> Change-Id: I9189e4b56ce1635b627119733447c2ed4220753d
> Reviewed-on: https://skia-review.googlesource.com/129319
> Reviewed-by: Herb Derby <herb@google.com>
> Commit-Queue: Ben Wagner <bungeman@google.com>
TBR=bsalomon@google.com,bungeman@google.com,herb@google.com
Change-Id: I01aac7dae6114685a0652cbde3defccc8a42caea
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/129443
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
Diffstat (limited to 'tests/DataRefTest.cpp')
-rw-r--r-- | tests/DataRefTest.cpp | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/tests/DataRefTest.cpp b/tests/DataRefTest.cpp index e7ada5f09d..74d511cc28 100644 --- a/tests/DataRefTest.cpp +++ b/tests/DataRefTest.cpp @@ -9,21 +9,12 @@ #include "SkDataTable.h" #include "SkOSFile.h" #include "SkOSPath.h" -#include "SkRWBuffer.h" -#include "SkRefCnt.h" +#include "SkReadBuffer.h" +#include "SkWriteBuffer.h" #include "SkStream.h" -#include "SkString.h" #include "SkTArray.h" -#include "SkTaskGroup.h" -#include "SkTemplates.h" -#include "SkTypes.h" #include "Test.h" -#include <cstdio> -#include <cstring> -#include <memory> -#include <utility> - static void test_is_equal(skiatest::Reporter* reporter, const SkDataTable* a, const SkDataTable* b) { REPORTER_ASSERT(reporter, a->count() == b->count()); @@ -210,6 +201,7 @@ DEF_TEST(Data, reporter) { } /////////////////////////////////////////////////////////////////////////////////////////////////// +#include "SkRWBuffer.h" const char gABC[] = "abcdefghijklmnopqrstuvwxyz"; @@ -259,6 +251,8 @@ static void check_alphabet_buffer(skiatest::Reporter* reporter, const SkROBuffer check_abcs(reporter, storage.get(), size); } +#include "SkTaskGroup.h" + DEF_TEST(RWBuffer, reporter) { // Knowing that the default capacity is 4096, choose N large enough so we force it to use // multiple buffers internally. |