Make UtcDaliTextLabelLocaleChange02 more lightweight 42/318142/2
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 25 Sep 2024 04:36:09 +0000 (13:36 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Wed, 25 Sep 2024 09:22:57 +0000 (18:22 +0900)
Change-Id: I556568c15dab97cdc852c61e921d02b45d3e315f
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
automated-tests/src/dali-toolkit-internal/utc-Dali-TextLabel-internal.cpp

index 47237f80d843ca90064c429744d0b4c19b1cafc0..12575d30bc0320e19fcaa9dbcd3a767cedb12cc8 100644 (file)
@@ -1411,7 +1411,7 @@ int UtcDaliTextLabelLocaleChange02(void)
   float expectedHeight = 100.0f;
 
   label.SetProperty(DevelTextLabel::Property::RENDER_MODE, DevelTextLabel::Render::ASYNC_AUTO);
-  label.SetProperty(TextLabel::Property::TEXT, "Hello world Hello world");
+  label.SetProperty(TextLabel::Property::TEXT, "H");
   label.SetProperty(Actor::Property::SIZE, Vector2(expectedWidth, expectedHeight));
   label.SetProperty(TextLabel::Property::POINT_SIZE, 12);
   label.SetProperty(TextLabel::Property::MULTI_LINE, true);
@@ -1478,7 +1478,7 @@ int UtcDaliTextLabelLocaleChange02(void)
   expectedHeight  = 50.0f;
   float dummySize = 100.0f;
 
-  std::string text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit.";
+  std::string text = "L";
   dummy1.SetProperty(TextLabel::Property::TEXT, text);
   dummy2.SetProperty(TextLabel::Property::TEXT, text);
   label.SetProperty(TextLabel::Property::TEXT, text);