X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit-internal%2Futc-Dali-TextView.cpp;h=7d39047435f49439bfc9aa8eb4b5d5f206ae3d0a;hp=7d60f19648a2a303ed8a7f3f5b1f601a9a5fc73b;hb=4306459adff5af631450cc660ca9dc8afd44d195;hpb=30f6ca1e541089b19f2b349a8a12d8a5bcaf2f9e diff --git a/automated-tests/src/dali-toolkit-internal/utc-Dali-TextView.cpp b/automated-tests/src/dali-toolkit-internal/utc-Dali-TextView.cpp index 7d60f19..7d39047 100644 --- a/automated-tests/src/dali-toolkit-internal/utc-Dali-TextView.cpp +++ b/automated-tests/src/dali-toolkit-internal/utc-Dali-TextView.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 @@ -235,16 +236,16 @@ void Print( const TextStyle& style ) std::cout << " : " << style.GetFontPointSize() << std::endl; std::cout << " : " << style.GetWeight() << std::endl; std::cout << " : " << style.GetTextColor() << std::endl; - std::cout << " : " << style.GetItalics() << std::endl; - std::cout << " : " << style.GetUnderline() << std::endl; - std::cout << " : " << style.GetShadow() << std::endl; + std::cout << " : " << style.IsItalicsEnabled() << std::endl; + std::cout << " : " << style.IsUnderlineEnabled() << std::endl; + std::cout << " : " << style.IsShadowEnabled() << std::endl; std::cout << " : " << style.GetShadowColor() << std::endl; std::cout << " : " << style.GetShadowOffset() << std::endl; - std::cout << " : " << style.GetGlow() << std::endl; + std::cout << " : " << style.IsGlowEnabled() << std::endl; std::cout << " : " << style.GetGlowColor() << std::endl; std::cout << " : " << style.GetGlowIntensity() << std::endl; std::cout << " : " << style.GetSmoothEdge() << std::endl; - std::cout << " : " << style.GetOutline() << std::endl; + std::cout << " : " << style.IsOutlineEnabled() << std::endl; std::cout << " : " << style.GetOutlineThickness() << std::endl; }