OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 11 matching lines...) Expand all Loading... |
22 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 22 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
23 */ | 23 */ |
24 | 24 |
25 #include "config.h" | 25 #include "config.h" |
26 | 26 |
27 #include "SkImageFilter.h" | 27 #include "SkImageFilter.h" |
28 #include "platform/graphics/filters/FEBlend.h" | 28 #include "platform/graphics/filters/FEBlend.h" |
29 #include "platform/graphics/filters/FEGaussianBlur.h" | 29 #include "platform/graphics/filters/FEGaussianBlur.h" |
30 #include "platform/graphics/filters/FEMerge.h" | 30 #include "platform/graphics/filters/FEMerge.h" |
31 #include "platform/graphics/filters/Filter.h" | 31 #include "platform/graphics/filters/Filter.h" |
32 #include "platform/graphics/filters/FilterOperations.h" | |
33 #include "platform/graphics/filters/SkiaImageFilterBuilder.h" | 32 #include "platform/graphics/filters/SkiaImageFilterBuilder.h" |
34 #include "platform/graphics/filters/SourceGraphic.h" | 33 #include "platform/graphics/filters/SourceGraphic.h" |
35 #include <gtest/gtest.h> | 34 #include <gtest/gtest.h> |
36 | 35 |
37 using testing::Test; | 36 using testing::Test; |
38 | 37 |
39 namespace blink { | 38 namespace blink { |
40 | 39 |
41 class ImageFilterBuilderTest : public Test { | 40 class ImageFilterBuilderTest : public Test { |
42 protected: | 41 protected: |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 EXPECT_EQ(child->countInputs(), 1); | 114 EXPECT_EQ(child->countInputs(), 1); |
116 } | 115 } |
117 }; | 116 }; |
118 | 117 |
119 TEST_F(ImageFilterBuilderTest, testColorSpace) | 118 TEST_F(ImageFilterBuilderTest, testColorSpace) |
120 { | 119 { |
121 colorSpaceTest(); | 120 colorSpaceTest(); |
122 } | 121 } |
123 | 122 |
124 } // namespace blink | 123 } // namespace blink |
OLD | NEW |