IWYU for test files starting with 'A'.

While testing some changes to iwyu, started fixing some files. Made it
to AsADashTest.cpp before running into
https://github.com/include-what-you-use/include-what-you-use/issues/364

Change-Id: I42b65df4f1f8116e0ea1b2cd774651990db1b132
Reviewed-on: https://skia-review.googlesource.com/111861
Reviewed-by: Ben Wagner <bungeman@google.com>
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
diff --git a/tests/AAClipTest.cpp b/tests/AAClipTest.cpp
index 18cc30c..b7ec31b 100644
--- a/tests/AAClipTest.cpp
+++ b/tests/AAClipTest.cpp
@@ -6,14 +6,25 @@
  */
 
 #include "SkAAClip.h"
+#include "SkBitmap.h"
 #include "SkCanvas.h"
+#include "SkColor.h"
+#include "SkImageInfo.h"
+#include "SkMalloc.h"
 #include "SkMask.h"
+#include "SkMatrix.h"
 #include "SkPath.h"
+#include "SkRRect.h"
 #include "SkRandom.h"
 #include "SkRasterClip.h"
-#include "SkRRect.h"
+#include "SkRect.h"
+#include "SkRegion.h"
+#include "SkScalar.h"
+#include "SkTypes.h"
 #include "Test.h"
 
+#include <string.h>
+
 static bool operator==(const SkMask& a, const SkMask& b) {
     if (a.fFormat != b.fFormat || a.fBounds != b.fBounds) {
         return false;
diff --git a/tests/AndroidCodecTest.cpp b/tests/AndroidCodecTest.cpp
index d383713..430b0b7 100644
--- a/tests/AndroidCodecTest.cpp
+++ b/tests/AndroidCodecTest.cpp
@@ -5,15 +5,26 @@
  * found in the LICENSE file.
  */
 
+#include "Resources.h"
 #include "SkAndroidCodec.h"
+#include "SkBitmap.h"
 #include "SkCodec.h"
 #include "SkCodecImageGenerator.h"
+#include "SkColor.h"
+#include "SkData.h"
 #include "SkEncodedImageFormat.h"
+#include "SkImageGenerator.h"
+#include "SkImageInfo.h"
 #include "SkPixmapPriv.h"
-
-#include "Resources.h"
+#include "SkRefCnt.h"
+#include "SkSize.h"
+#include "SkString.h"
+#include "SkTypes.h"
 #include "Test.h"
 
+#include <algorithm>
+#include <memory>
+
 static SkISize times(const SkISize& size, float factor) {
     return { (int) (size.width() * factor), (int) (size.height() * factor) };
 }
diff --git a/tests/AnimatedImageTest.cpp b/tests/AnimatedImageTest.cpp
index 07a6347..e0a640b 100644
--- a/tests/AnimatedImageTest.cpp
+++ b/tests/AnimatedImageTest.cpp
@@ -5,17 +5,26 @@
  * found in the LICENSE file.
  */
 
-#include "SkAndroidCodec.h"
-#include "SkAnimatedImage.h"
-#include "SkCanvas.h"
-#include "SkCodec.h"
-#include "SkUnPreMultiply.h"
-
 #include "CodecPriv.h"
 #include "Resources.h"
+#include "SkAndroidCodec.h"
+#include "SkAnimatedImage.h"
+#include "SkBitmap.h"
+#include "SkCanvas.h"
+#include "SkCodec.h"
+#include "SkColor.h"
+#include "SkData.h"
+#include "SkImageInfo.h"
+#include "SkRefCnt.h"
+#include "SkSize.h"
+#include "SkString.h"
+#include "SkTypes.h"
+#include "SkUnPreMultiply.h"
 #include "Test.h"
 #include "sk_tool_utils.h"
 
+#include <algorithm>
+#include <memory>
 #include <vector>
 
 DEF_TEST(AnimatedImage, r) {
diff --git a/tests/AnnotationTest.cpp b/tests/AnnotationTest.cpp
index e55cc36..73b15c6 100644
--- a/tests/AnnotationTest.cpp
+++ b/tests/AnnotationTest.cpp
@@ -4,13 +4,24 @@
  * Use of this source code is governed by a BSD-style license that can be
  * found in the LICENSE file.
  */
+
 #include "SkAnnotation.h"
+#include "SkBitmap.h"
 #include "SkCanvas.h"
+#include "SkColor.h"
 #include "SkData.h"
 #include "SkDocument.h"
+#include "SkPoint.h"
+#include "SkRect.h"
+#include "SkRefCnt.h"
+#include "SkScalar.h"
 #include "SkStream.h"
+#include "SkTypes.h"
 #include "Test.h"
 
+#include <string.h>
+#include <memory>
+
 /** Returns true if data (may contain null characters) contains needle (null
  *  terminated). */
 static bool ContainsString(const char* data, size_t dataSize, const char* needle) {
diff --git a/tests/ApplyGammaTest.cpp b/tests/ApplyGammaTest.cpp
index 4147be7..8eb35e1 100644
--- a/tests/ApplyGammaTest.cpp
+++ b/tests/ApplyGammaTest.cpp
@@ -5,16 +5,31 @@
  * found in the LICENSE file.
  */
 
-#include <initializer_list>
-#include "Test.h"
+#include "SkTypes.h"
 
 #if SK_SUPPORT_GPU
-#include "GrContext.h"
 
+#include "GrCaps.h"
+#include "GrContext.h"
+#include "GrContextFactory.h"
+#include "GrShaderCaps.h"
+#include "GrTypes.h"
+#include "SkBitmap.h"
+#include "SkBlendMode.h"
 #include "SkCanvas.h"
+#include "SkColor.h"
 #include "SkColorFilter.h"
+#include "SkColorPriv.h"
+#include "SkImageInfo.h"
+#include "SkPaint.h"
+#include "SkRefCnt.h"
+#include "SkScalar.h"
 #include "SkSurface.h"
+#include "SkTemplates.h"
 #include "SkUtils.h"
+#include "Test.h"
+
+#include <math.h>
 
 /** convert 0..1 linear value to 0..1 srgb */
 static float linear_to_srgb(float linear) {
diff --git a/tests/ArenaAllocTest.cpp b/tests/ArenaAllocTest.cpp
index 137e60e..e4da0b8 100644
--- a/tests/ArenaAllocTest.cpp
+++ b/tests/ArenaAllocTest.cpp
@@ -5,9 +5,14 @@
  * found in the LICENSE file.
  */
 
-#include "Test.h"
 #include "SkArenaAlloc.h"
 #include "SkRefCnt.h"
+#include "SkTypes.h"
+#include "Test.h"
+
+#include <memory>
+#include <new>
+#include <type_traits>
 
 namespace {
 
diff --git a/tests/AsADashTest.cpp b/tests/AsADashTest.cpp
index 2077b66..b612f23 100644
--- a/tests/AsADashTest.cpp
+++ b/tests/AsADashTest.cpp
@@ -5,11 +5,13 @@
  * found in the LICENSE file.
  */
 
-#include "Test.h"
-
-#include "SkPathEffect.h"
-#include "SkDashPathEffect.h"
 #include "SkCornerPathEffect.h"
+#include "SkDashPathEffect.h"
+#include "SkPathEffect.h"
+#include "SkRefCnt.h"
+#include "SkScalar.h"
+#include "SkTemplates.h"
+#include "Test.h"
 
 DEF_TEST(AsADashTest_noneDash, reporter) {
     sk_sp<SkPathEffect> pe(SkCornerPathEffect::Make(1.0));