X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit%2Futc-Dali-NinePatchMaskEffect.cpp;h=7d76ab30f14255fa89fff0b4acc06af508c7dbd1;hp=40ae747c52cfbfe44634b4666f513d0669862fe8;hb=7f36ca9572ba3086167d5238a7aff909b56a50f4;hpb=30f6ca1e541089b19f2b349a8a12d8a5bcaf2f9e diff --git a/automated-tests/src/dali-toolkit/utc-Dali-NinePatchMaskEffect.cpp b/automated-tests/src/dali-toolkit/utc-Dali-NinePatchMaskEffect.cpp index 40ae747..7d76ab3 100644 --- a/automated-tests/src/dali-toolkit/utc-Dali-NinePatchMaskEffect.cpp +++ b/automated-tests/src/dali-toolkit/utc-Dali-NinePatchMaskEffect.cpp @@ -1,18 +1,19 @@ -// -// Copyright (c) 2014 Samsung Electronics Co., Ltd. -// -// Licensed under the Flora License, Version 1.0 (the License); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://floralicense.org/license/ -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an AS IS BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// +/* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ #include #include @@ -23,6 +24,7 @@ #include #include +#include using namespace Dali; @@ -41,7 +43,7 @@ int UtcDaliNinePatchMaskEffectApply(void) { ToolkitTestApplication application; - BitmapImage image = CreateBitmapImage(); + BufferImage image = CreateBufferImage(); ImageActor actor0 = ImageActor::New( image ); Toolkit::NinePatchMaskEffect::Apply( actor0, "" );