OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6913d30
)
Fix build
author
Chris Craik
<ccraik@google.com>
Sat, 6 Feb 2016 02:17:35 +0000
(18:17 -0800)
committer
Chris Craik
<ccraik@google.com>
Sat, 6 Feb 2016 02:17:35 +0000
(18:17 -0800)
Change-Id: I1ad30ae50cbdff9267d0121a446e6adbe3ad17ee
libs/hwui/tests/unit/GradientCacheTests.cpp
patch
|
blob
|
history
diff --git
a/libs/hwui/tests/unit/GradientCacheTests.cpp
b/libs/hwui/tests/unit/GradientCacheTests.cpp
index
5ee1705
..
0ee9647
100644
(file)
--- a/
libs/hwui/tests/unit/GradientCacheTests.cpp
+++ b/
libs/hwui/tests/unit/GradientCacheTests.cpp
@@
-26,7
+26,7
@@
using namespace android::uirenderer;
RENDERTHREAD_TEST(GradientCache, addRemove) {
Extensions extensions;
GradientCache cache(extensions);
-
cache.setMaxSize(5000)
;
+
ASSERT_LT(1000u, cache.getMaxSize()) << "Expect non-trivial size"
;
SkColor colors[] = { 0xFF00FF00, 0xFFFF0000, 0xFF0000FF };
float positions[] = { 1, 2, 3 };