X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit%2Futc-Dali-MaskEffect.cpp;h=ef9286894b08001be3124355f96f861a701299ce;hb=653e65df6f984c2c11fda4b961f1015d3da1aea0;hp=1e38b08f973680c72f5b06b994c45c924e379591;hpb=fa6279fb2830427d5ab569ca14e6ade1557ef2fa;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/automated-tests/src/dali-toolkit/utc-Dali-MaskEffect.cpp b/automated-tests/src/dali-toolkit/utc-Dali-MaskEffect.cpp index 1e38b08..ef92868 100644 --- a/automated-tests/src/dali-toolkit/utc-Dali-MaskEffect.cpp +++ b/automated-tests/src/dali-toolkit/utc-Dali-MaskEffect.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 UtcDaliMaskEffectCreateEffect(void) { ToolkitTestApplication application; - BitmapImage image = CreateBitmapImage(); + BufferImage image = CreateBufferImage(); ShaderEffect effect = Toolkit::MaskEffect::New( image ); DALI_TEST_CHECK( effect );