From: Bowon Ryu Date: Thu, 14 Sep 2023 09:16:24 +0000 (+0900) Subject: Update expected value of UtcDaliGetMirroredText X-Git-Tag: dali_2.2.45~5^2 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=commitdiff_plain;h=8238caa0da1b53f7a54274b65e772c2b2a49eb35 Update expected value of UtcDaliGetMirroredText The text direction determination logic has been changed, https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/298855/ so the result of GetMirroredText() may different from the previous one, especially when dealing with mixed LTR + RTL text. (and particulary when brackets are involved) Update the TC with the coreect values. Change-Id: I678211880250035caea4d6142e69fd427268b1ff Signed-off-by: Bowon Ryu --- diff --git a/automated-tests/src/dali-toolkit-internal/utc-Dali-BidirectionalSupport.cpp b/automated-tests/src/dali-toolkit-internal/utc-Dali-BidirectionalSupport.cpp index a20c4bb..4f6e20c 100644 --- a/automated-tests/src/dali-toolkit-internal/utc-Dali-BidirectionalSupport.cpp +++ b/automated-tests/src/dali-toolkit-internal/utc-Dali-BidirectionalSupport.cpp @@ -505,8 +505,8 @@ int UtcDaliGetMirroredText(void) " مرحبا بالعالم שלום עולם hello world hello world\nبالعالم שלום (hello) world demo (עולם)\nשלום (مرحبا بالعالم עולם) (hello)", 0u, 239u, - "Hello world demo\nhello world\nhello world (مرحبا بالعالم שלום( עולם\nשלום مرحبا بالعالم עולם )hello( مرحبا بالعالم world" - " مرحبا بالعالم שלום עולם hello world hello world\nبالعالم שלום )hello) world demo )עולם(\nשלום )مرحبا بالعالم עולם( )hello("}, + "Hello world demo\nhello world\nhello world (مرحبا بالعالم שלום) עולם\nשלום مرحبا بالعالم עולם )hello( مرحبا بالعالم world" + " مرحبا بالعالم שלום עולם hello world hello world\nبالعالم שלום )hello( world demo )עולם(\nשלום )مرحبا بالعالم עולם( )hello("}, {"Mix of bidirectional text. With more paragraphs. Update middle paragraphs.", "Hello world demo\nhello world\nhello world (مرحبا بالعالم שלום) עולם\nשלום مرحبا بالعالم עולם (hello) مرحبا بالعالم world"