X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit-internal%2Futc-Dali-TextLabel-internal.cpp;h=e8a3996d9207b2d589f695e459400516df45c989;hb=8e3fd25cab9b478aa0d0668d0a186b6fa93c10f6;hp=e03fec1d09fbda2198329b53a20548e816f71022;hpb=6970e395a31aae5e97be905e01e47fd49e043f94;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/automated-tests/src/dali-toolkit-internal/utc-Dali-TextLabel-internal.cpp b/automated-tests/src/dali-toolkit-internal/utc-Dali-TextLabel-internal.cpp index e03fec1..e8a3996 100755 --- a/automated-tests/src/dali-toolkit-internal/utc-Dali-TextLabel-internal.cpp +++ b/automated-tests/src/dali-toolkit-internal/utc-Dali-TextLabel-internal.cpp @@ -47,13 +47,13 @@ int UtcDaliTextLabelMarkupUnderline(void) uint32_t expectedNumberOfUnderlinedGlyphs = 5u; Toolkit::Internal::TextLabel& textLabelImpl = GetImpl( textLabel ); - const Text::Length numberOfUnderlineRuns = textLabelImpl.getController()->GetTextModel()->GetNumberOfUnderlineRuns(); + const Text::Length numberOfUnderlineRuns = textLabelImpl.GetTextController()->GetTextModel()->GetNumberOfUnderlineRuns(); DALI_TEST_EQUALS( numberOfUnderlineRuns, expectedNumberOfUnderlinedGlyphs, TEST_LOCATION ); Vector underlineRuns; underlineRuns.Resize(numberOfUnderlineRuns); - textLabelImpl.getController()->GetTextModel()->GetUnderlineRuns(underlineRuns.Begin(), 0u, numberOfUnderlineRuns); + textLabelImpl.GetTextController()->GetTextModel()->GetUnderlineRuns(underlineRuns.Begin(), 0u, numberOfUnderlineRuns); //ABC are underlined DALI_TEST_EQUALS( underlineRuns[0u].glyphIndex, 0u, TEST_LOCATION); @@ -83,7 +83,7 @@ int UtcDaliTextLabelBackgroundTag(void) application.Render(); Toolkit::Internal::TextLabel& labelImpl = GetImpl( label ); - const ColorIndex* const backgroundColorIndicesBuffer = labelImpl.getController()->GetTextModel()->GetBackgroundColorIndices(); + const ColorIndex* const backgroundColorIndicesBuffer = labelImpl.GetTextController()->GetTextModel()->GetBackgroundColorIndices(); DALI_TEST_CHECK( backgroundColorIndicesBuffer ); @@ -125,7 +125,7 @@ int UtcDaliTextLabelTextWithSpan(void) DALI_TEST_GREATER(spanSize.width, originalSize.width, TEST_LOCATION); Toolkit::Internal::TextLabel& labelImpl = GetImpl( label ); - const ColorIndex* const colorIndicesBuffer1 = labelImpl.getController()->GetTextModel()->GetColorIndices(); + const ColorIndex* const colorIndicesBuffer1 = labelImpl.GetTextController()->GetTextModel()->GetColorIndices(); DALI_TEST_CHECK( colorIndicesBuffer1 ); @@ -144,7 +144,7 @@ int UtcDaliTextLabelTextWithSpan(void) application.SendNotification(); application.Render(); - const ColorIndex* const colorIndicesBuffer2 = labelImpl.getController()->GetTextModel()->GetColorIndices(); + const ColorIndex* const colorIndicesBuffer2 = labelImpl.GetTextController()->GetTextModel()->GetColorIndices(); DALI_TEST_CHECK( colorIndicesBuffer2 ); @@ -161,4 +161,4 @@ int UtcDaliTextLabelTextWithSpan(void) DALI_TEST_EQUALS( colorIndicesBuffer2[7], 0u, TEST_LOCATION); END_TEST; -} \ No newline at end of file +}