Commit 92b72ac6 authored by perkj@chromium.org's avatar perkj@chromium.org

Disable WebLayerImplFixedBoundsTest.CompareToWebLayerImplComplex and...

Disable WebLayerImplFixedBoundsTest.CompareToWebLayerImplComplex and CompareToWebLayerImplComplex on lsan.
These two tests are not new but are run under content_unittests as of r277988.
https://codereview.chromium.org/317163002

BUG=386080

TBR=amogh.bihani@samsung.com,

Review URL: https://codereview.chromium.org/340723004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278025 0039d316-1c4b-4281-b951-d872f2087c98
parent 085fd942
......@@ -142,15 +142,28 @@ void CompareFixedBoundsLayerAndNormalLayer(const WebFloatPoint& anchor_point,
}
}
// TODO(perkj): CompareToWebLayerImplSimple disabled on LSAN due to crbug/386080
#if defined(LEAK_SANITIZER)
#define MAYBE_CompareToWebLayerImplSimple DISABLED_CompareToWebLayerImplSimple
#else
#define MAYBE_CompareToWebLayerImplSimple CompareToWebLayerImplSimple
#endif
// A black box test that ensures WebLayerImplFixedBounds won't change target
// geometries. Simple case: identity transforms and zero anchor point.
TEST(WebLayerImplFixedBoundsTest, CompareToWebLayerImplSimple) {
TEST(WebLayerImplFixedBoundsTest, MAYBE_CompareToWebLayerImplSimple) {
CompareFixedBoundsLayerAndNormalLayer(WebFloatPoint(0, 0), gfx::Transform());
}
// TODO(perkj): CompareToWebLayerImplComplex disabled on LSAN due to
// crbug/386080
#if defined(LEAK_SANITIZER)
#define MAYBE_CompareToWebLayerImplComplex DISABLED_CompareToWebLayerImplComplex
#else
#define MAYBE_CompareToWebLayerImplComplex CompareToWebLayerImplComplex
#endif
// A black box test that ensures WebLayerImplFixedBounds won't change target
// geometries. Complex case: complex transforms and non-zero anchor point.
TEST(WebLayerImplFixedBoundsTest, CompareToWebLayerImplComplex) {
TEST(WebLayerImplFixedBoundsTest, MAYBE_CompareToWebLayerImplComplex) {
gfx::Transform transform;
// These are arbitrary values that should not affect the results.
transform.Translate3d(50, 60, 70);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment