Update expected value of UtcDaliGetMirroredText 60/298860/1
authorBowon Ryu <bowon.ryu@samsung.com>
Thu, 14 Sep 2023 09:16:24 +0000 (18:16 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Thu, 14 Sep 2023 09:32:03 +0000 (18:32 +0900)
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 <bowon.ryu@samsung.com>
automated-tests/src/dali-toolkit-internal/utc-Dali-BidirectionalSupport.cpp

index a20c4bb..4f6e20c 100644 (file)
@@ -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"